687 bytes added
, 18:49, 11 May 2016
mIf you look for a builtin backup solution you should work with tar
To create a Backup of all User homes do:
<pre>
tar -cvf /backupspath/homes-all-users-date.tar /home
</pre>
To create a Backup on a Single Core Server you can compress with:
<pre>
tar -cvzf /backupspath/homes-all-users-date.tar /home
</pre>
To create a Backup on a Multi Core Server you can compress with "pigz" on the fly (Compression Max= -9):
<pre>
tar -cvf - /home | pigz -9 > /backupspath/homes-all-users-date.tgz
</pre>
Tar can work over NFS mounted Shares and piped SSH Connections too!
To read out what the Backup includes do:
<pre>
tar -tvf /backupspath/homes-all-users-date.tgz > /Backup-index.txt
</pre>