Linux Backup Commands

Command Backup that preserves hard links Hard link backups
GNU cp cp -av /source/directory /target/directory cp -avl /source/directory /target/directory
rsync rsync -avzPH --stats --delete --delete-excluded /source/directory /target/directory N/A
cpio find /source/directory -print -depth|cpio -pdum /target/directory find /source/directory -print -depth|cpio -pduml /target/directory
tar tar -cSf - /source/directory|tar -xvSpf - -C /target/directory N/A
dump (dump -0uanf - /source/directory|restore -xyvf - /target/directory) >& log N/A

Comments

Comments powered by Disqus