Results 1 to 7 of 7
Thread: Question about Full VPS Backups
-
12-19-2007, 09:06 PM #1Web Hosting Guru
- Join Date
- Dec 2007
- Location
- Fort Worth
- Posts
- 265
Question about Full VPS Backups
Hello All,
I have a vps that I have, after a couple of days, tweaked to my satisfaction and now I am concerned about backups. I have another server the runs a cronjob every 15 minutes to rsync over ssh my important files but I would like a solution that enables me to create an image of the entire vps at a point in time and backup that image up elsewhere also. I feel confident that my files won't be lost with the cronjob in place but I sure would hate to tweak all those whm/cpanel settings again.
PS I know that cpanel has a backup option but I think that only backs up the home folder on the server.
I am running cpanel/whm and hypervm.
Thanks for you input!
-
12-20-2007, 01:04 AM #2Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
You could just rsync your entire / directory, although you would have about a gig of extra system files. It would be much easier to do that rather than trying to copy all the configuration files seperately.
-
12-20-2007, 12:02 PM #3Web Hosting Guru
- Join Date
- Dec 2007
- Location
- Fort Worth
- Posts
- 265
I have the following command set on my backup server:
rsync -e 'ssh -p xxxxx' -av --delete root@x.x.x.x:/ garrisonbackup.com/VPS
It connects successfully and transfers the files but I get a lot of permission denied/non-regular file skipped errors?
-
12-20-2007, 12:07 PM #4Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
Do you have root access at garrisonbackup.com?
You need to switch that to user@garrisonbackup.com:/home/username
I'm sure you also don't have a /VPS directory.
-
12-20-2007, 12:28 PM #5Web Hosting Master
- Join Date
- Jan 2004
- Location
- Pennsylvania
- Posts
- 942
You will want to use the --exclude argument to rsync to skip the /proc, /dev, and /sys directories.
Matt Ayres - togglebox.com
Linux and Windows Cloud Virtual Datacenters powered by Onapp / Xen
Instant Setup, Instant Scalability, Full Lifecycle Hosting Solutions
www.togglebox.com
-
12-20-2007, 01:16 PM #6Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
-
12-20-2007, 01:31 PM #7Web Hosting Guru
- Join Date
- Dec 2007
- Location
- Fort Worth
- Posts
- 265
Ahhhh thanks! I am actually running the command from another server and I have created a backup directory (VPS) to backup the files from the other VPS. The only catch is I don't have root at the backup server (it is a cheap psuedo vps from dreamhost)