Difference between revisions of "Tar Backups with Compression gzip pigz"
Jump to navigation
Jump to search
m (Author moved page Tar Backups to Tar Backups with Compression gzip pigz) |
(No difference)
|
Latest revision as of 18:49, 11 May 2016
If you look for a builtin backup solution you should work with tar
To create a Backup of all User homes do:
tar -cvf /backupspath/homes-all-users-date.tar /home
To create a Backup on a Single Core Server you can compress with:
tar -cvzf /backupspath/homes-all-users-date.tar /home
To create a Backup on a Multi Core Server you can compress with "pigz" on the fly (Compression Max= -9):
tar -cvf - /home | pigz -9 > /backupspath/homes-all-users-date.tgz
Tar can work over NFS mounted Shares and piped SSH Connections too!
To read out what the Backup includes do:
tar -tvf /backupspath/homes-all-users-date.tgz > /Backup-index.txt