Backup Unmanaged VPS CentOS 6

dahuk

New Member
hi
My vps is unmanaged OpenVZ centos 6
finally I finished installing an configuring all packages
also i launced my site

Now I'm stuck on how to backup the whole disk

in solusvm there is no option to dump the whole thing
the company stated they do not offer such a functionality

now I'm left with doing the backup from inside the vps

is there a good script or package the can backup my vps and restore it in case of emergency

I did a search and found out that some people do the following two tasks to achive the backup procedure:
1) backup mysql databases to some directory ()
2) backup the whole disk with TAR command such as
Code: $sudo tar cvzpf /backup/Backup.tgz --same-owner --exclude=/backup/Backup.tgz --exclude=/backup/error.log --exclude=/proc/* --exclude=/dev/* --exclude=/mnt/* --exclude=/sys/* --exclude=/tmp/* / 2>/backup/error.logI believe that there must be a better option to dump my vps to my local disk via ssh and restore it later
[In VMware you can create a whole VM machine from windows 2008 by using only IP address and admin account]

now lets hear what EXPERTS do? Quote: the company stated they do not offer such a functionality That company sux. They can dump VPS image, and give you download link.


Check this one: http://www.anildewani.com/bash-backup-script-to-backup-directories-and-mysql-databases/
 
Top