BackupsMSL

Uit MakerSpace Leiden
Versie door DirkWillem (overleg | bijdragen) op 19 feb 2018 om 19:45 (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...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Ga naar: navigatie, zoeken

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 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.