Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
    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:
    166
    /home, /var/lib/mysql, /usr/local/apache/conf and /var/named/, you may want to consider backup your passwd and shadow file as well.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    166
    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:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    166
    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:
    166
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice