Important things to backup is
/vz/private folder where all the vps data stored
/etc/sysconfig/vz-scripts folder where all the vps config file stored
/var/lib/mysql/hypervm1_0 where all the config of the hypervm stored
Simply make a bash file with the following commands and set in the cron job.
cp -ar /vz/private /backup/vz/
cp -ar /etc/sysconfig/vz-scripts/ /backup/vz/
cp -ar /var/lib/mysql/hypervm1_0 /backup/vz/
Happy backing up :))
Sunday, February 8, 2009
Subscribe to:
Post Comments (Atom)
1 comment:
To keep the process low while copying or it will kill the server resources
nice -n -20 cp -ar /vz/private /backup/
Virtuoso ;)
Post a Comment