Rsync

From UVOO Tech Wiki
Revision as of 16:29, 14 May 2019 by imported>Jeremy-busk
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Backup Command

Backup example

rsync -avzSuc --recursive --relative --delete -e "ssh -p 22 -i /home/busk/.ssh/id_ed25519" --progress --files-from=files.dat / busk@10.64.41.23:/home/busk/rsync --include-from=includes.dat --exclude-from=excludes.dat

Use lxd container and lxc snapshots to manage state. You can use rdiff-backup command tool as well