Quote:
Originally Posted by phoenix
[*]rsync from backups server directory into ~/mnt/
|
... I just wonder,
rsync(1) is great for backup, but restore is only one way 'stream' without checking for file contents changes etc. so using 'raw'
tar(1) pipe should make the restore a lot faster (especially if there are a lot small files):
backup_server # tar -cf - /servers/host | ssh -c blowfish root@host "tar -C ~/mnt -xpf -"
... and with really good compression for slow networks:
backup_server # tar -cf - /servers/host | gzip -9 -c | ssh -c blowfish root@host "tar -C ~/mnt -xzpf -"
... even better then gzip(1) with xz(1):
backup_server # tar -cf - /servers/host | xz -9 -c | ssh -c blowfish root@host "xz -d -c | tar -C ~/mnt -xpf -"