Le 06/01/2022 à 12:29, Olaf Hering a écrit :
Thu, 6 Jan 2022 11:31:48 +0100 "jdd@dodin.org" <jdd@dodin.org>:
for some years rsync backup
This command line smells like a Restore was never required up to now? Restore is the entire purpose of doing backups.
Add at least these options to rsync:
--hard-links --acls --xattrs --numeric-ids --one-file-system
Use just 'root@<source domain>:/', without trailing asterisk.
I don't want to keep all the path above, so the * for the other options, I not sure it's necessary. This command is aimed to remote servers, with neither screen nor keyboard. I already restored such server from the rescue system, but I try to avoid it because the operation is long, I'm unsure of what version of the commands are running in the rescue system... the use case that happened once to me is a complete failure of the internal disk. My provider changes the disk for free, but that's all, I have to rebuild the system. It's simpler to reinstall the very last version of openSUSE and restore from this all what is needed. Any way, One have to upgrade from time to time. so the backup is used as file source for data, config files... the hard links are created à install time if any (I never had to create one myself), I don't dare to touch at ACL's :-(. --one-file-system is used (it's -x) I can add than I don't know of any backup system really able to restart without problem. even raid is not. Better one is to use a virtual machine and backup it after stopping it. There are other ones, but too expensive for my use. on my post, my main concern was BTRFS on source. I don't (yet) had the time to double check btrfs backup :-( thanks jdd -- http://dodin.org http://valeriedodin.com