Backups können in Dr.DOC Web unter Einstellungen -> Backup eingerichtet werden.
Dr.DOC Web verwendet dazu Restic mit SFTP.
Damit Dr.DOC Restic verwenden kann muss zuvor ein SSH Schlüssel eingerichtet werden.
Das hat überhaupt nichts mit Dr.DOC zu tun und kann je nach System unterschiedlich gehandhabt werden.
- Key pair is created (typically by the user). This is typically done with ssh-keygen.
- Private key stays with the user (and only there), while the public key is sent to the server. Typically with the ssh-copy-id utility.
- Server stores the public key (and "marks" it as authorized).
mkdir "%USERPROFILE%\.ssh"
ssh-keygen -t rsa -b 4096 -f "%USERPROFILE%\.ssh\id_rsa" -q -N ""
Für Hetzner Storage Box:
https://docs.hetzner.com/storage/storage-box/backup-space-ssh-keys/
type %USERPROFILE%\.ssh\id_rsa.pub | ssh -p23 uXXXX@uXXXX.your-storagebox.de install-ssh-key
oder
.ssh Verzeichnis erstellen und Schlüssel hochladen
type %USERPROFILE%\.ssh\id_rsa.pub | ssh -p23 uXXXX@uXXXX.your-storagebox.de "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
mkdir -p ~/.ssh
ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -q -N ""
chmod 600 ~/.ssh/id_rsa
ssh-copy-id -s "uXXXX@uXXXX.your-storagebox.de -p 23"
.ssh Verzeichnis erstellen
ssh -p23 uXXXX@uXXXX.your-storagebox.de mkdir .ssh
Schlüssel via SCP hochladen
Für Hetzner Storage Box:
https://docs.hetzner.com/storage/storage-box/backup-space-ssh-keys/
cat ~/.ssh/id_rsa.pub | ssh -p23 uXXXX@uXXXX.your-storagebox.de install-ssh-key
oder
scp -P 23 ~/.ssh/id_rsa.pub uXXXX@uXXXX.your-storagebox.de:.ssh/authorized_keys
Oder .ssh Verzeichnis erstellen und Schlüssel hochladen
cat ~/.ssh/id_rsa.pub | ssh -p23 uXXXX@uXXXX.your-storagebox.de "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
Klicken Sie in Dr.DOC Web unter "Einstellungen" -> "Backup" auf den Button "Init"