Re: VE Backups [message #1918 is a reply to message #1888] |
Tue, 07 March 2006 03:05 |
phpfreak
Messages: 47 Registered: January 2006
|
Member |
|
|
You guys should really consider doing rsync instead. Your server loads would be dramatically less during a backup
for i in `ls /vz/private/`; do rsync --progress -var /vz/private/$i /backup/daily --delete-after; done
Then if you wanted weekly run this once a week:
for i in `ls /vz/private/`; do rsync --progress -var /vz/private/$i /backup/weekly --delete-after; done
That should do the trick, but keep in mind you might need some insane disk space to do this, depending on how many vps you have on the system.
Eric Rosebrock
http://www.serverpowered.com
http://www.hybodus.com
http://www.linuxforum.com
http://www.phpfreaks.com
|
|
|