BackupsMSL: verschil tussen versies
(Nieuwe pagina aangemaakt met 'Backup setup (temporary). == Common setup A pub/private keypair of root (id_rsa); with a blind, incremental rsync over ssh. == main host 192.168.5.1 == File...') |
|||
Regel 1: | Regel 1: | ||
Backup setup (temporary). | Backup setup (temporary). | ||
− | == Common setup | + | == Common setup == |
− | A pub/private keypair | + | A pub/private keypair; with a blind, incremental rsync over ssh. |
+ | |||
+ | It relies on | ||
+ | |||
+ | .ssh/config | ||
+ | .ssh/id_rsa | ||
+ | |||
+ | for its config and data. | ||
== main host 192.168.5.1 == | == main host 192.168.5.1 == |
Versie van 19 feb 2018 om 19:46
Backup setup (temporary).
Common setup
A pub/private keypair; with a blind, incremental rsync over ssh.
It relies on
.ssh/config .ssh/id_rsa
for its config and data.
main host 192.168.5.1
File in
/usr/local/etc/periodic/daily/999.backup
which does an incremental backup (rsync) of all mounted UFS volumes.
deur-db 192.168.4.2
File in
/home/mvn/backup.sh
which does an incremental backup (rsync) of all mounted EXT4 volumes.
Destination
On the destination server:
command="/usr/local/bin/rsync --server -logDtprCze.iLsfxC . backup-msl/msl-main",,restrict,no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa ....
backed by an encrypted FS with a daily snapshot; copy onto tape. 5 year rotation.