Because I’m going to need this later, and I don’t want to forget:
Dump xfs to a remote host:
xfsdump -l0 – /mnt | gzip -c | ssh user@host dd of=/somewhere/backup.dgz
Restore xfs from remote host:
ssh user@host “dd if=/somewhere/backup.dgz” | gunzip -c | xfsrestore – /mnt



