Backing up my server

Discussion in 'Computer Gaming Forum' started by Japan-Games.com, Feb 8, 2010.

  1. Japan-Games.com

    Japan-Games.com Well Known Member

    Joined:
    Sep 12, 2005
    Messages:
    1,806
    Likes Received:
    9
    Hey Guys

    I have a VPS (vistual private server) that I want to backup for the first time. I have a few options but I'm not sure which one is generally considered to be the best. My server has Parallels Power Panel, cPanel, and WHM. All of them have backup functions.

    Should I choose one or do all? I'm assuming that cPanel will back up the site only and not my server settings. I'm also assuming that the Parallels Power Panel will backup my server setting, but I'm not 100% sure if if will backup 100% of the files needed for a full restore in case something goes down. About the WHM panel....I'm not sure how that backup process compares with the others. Better or worse?

    Any advice would be appreciated.

    Thanks,
    Eric
     
  2. phate

    phate Enthusiastic Member

    Joined:
    Feb 23, 2008
    Messages:
    540
    Likes Received:
    3
    I'd give all three a try and then compare then to see what gets backed up.

    On my vps though I just run my backup script, "backshitup.sh" which consists of this:

    Set up a cron job to run backshitup.sh and another cron job on my local file server to run pull the backup from my webserver.

    Works well enough for me.
     
    Last edited: Feb 9, 2010
  3. Japan-Games.com

    Japan-Games.com Well Known Member

    Joined:
    Sep 12, 2005
    Messages:
    1,806
    Likes Received:
    9
    In English? heh Sorry, I just don't understand your answer...too much of a noob here.

    I made a backup through Virtuozzo. Is that the highest level of backup that I can get? All files on the server are backed up or just the server settings?

    Thanks!
     
  4. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    WHM backup.

    If you have root access, you could tarball the whole directory, then dump your db in phpMyAdmin or whatever.

    Or, you could use something written for backing up, e.g.:

    http://samba.anu.edu.au/rsync/
     
  5. heutenitaz

    heutenitaz Newly Registered

    Joined:
    Apr 20, 2010
    Messages:
    3
    Likes Received:
    0
    Reply

    If you want simply backup all the files which you want then one simple way is just note down the syntax
    cp [OPTION]... SOURCE DEST
    cp [OPTION]... SOURCE... DIRECTORY
    cp [OPTION]... --target-directory=DIRECTORY SOURCE...

    Examples
    cp file1.txt newdir
    cp /home/public_html/mylog.txt /home/public_html/backup/mylog.bak
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page