Results 1 to 7 of 7
  1. #1
    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!

  2. #2
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872
    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.


  3. #3
    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 [email protected]:/ garrisonbackup.com/VPS

    It connects successfully and transfers the files but I get a lot of permission denied/non-regular file skipped errors?

  4. #4
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872

  5. #5
    Join Date
    Jan 2004
    Location
    Pennsylvania
    Posts
    939
    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

  6. #6
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,872
    Yes --exclude would do it, I just noticed you are running the command from that server so you don't need the user@ or the :/ but I usually run the full path...

    /home/username/garrisonbackup.com/VPS


  7. #7
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •