The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backup

Discussion in 'General Discussion' started by zigzam, Jun 17, 2006.

  1. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    I currently have a few hundred GBs of server data backed up using rsync. I have it setup so it backs up all server data.

    What folders on the server do I need to backup to be able to restore accounts. I dont want to backup the server software any longer, because I need to cut space.
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    /home, /var/lib/mysql, /usr/local/apache/conf and /var/named/, you may want to consider backup your passwd and shadow file as well.
     
  3. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    Will that allow for a complete restore including everything in cpanel (mail, addon domains, ftp users etc)

    Where are the password and shadow files located?

    Thanks
     
  4. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    if you are looking for a complete restoration, you should have use the WHM backup for backing up your data, in that case, you would be able to perform a full restoration
     
  5. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    It is not possible by just restoring files? The normal cpanel backups uses too much CPU and bandwidth.
     
  6. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    I was told I can restore everything if I backup the following directories only:

    /usr
    /var
    /home
    /etc


    Can someone please verify that?


    Thanks
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
Loading...

Share This Page