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!

Owner and Group ID reset to 0 in all backups

Discussion in 'Data Protection' started by santrix, Dec 24, 2008.

  1. santrix

    santrix Well-Known Member

    Joined:
    Nov 30, 2008
    Messages:
    223
    Likes Received:
    2
    Trophy Points:
    68
    Hi,

    I recently started running a vps... I run daily and weekly backups without compression using the built in WHM backup module.

    I store backups in /backup/cpbackup/[daily][weekly]

    I notice that all files stored in the backups are owner and group ID 0 - i.e. root - wheel. I am wondering how this affects things when trying to restore? I can see huge problems with this, and a horrible recovery process if you are going to have to reset permissions on zillions of files once restored.

    I have been taking an rsync from the /home directory to my offsite machine for interim backups as they at least carry the correct owner-group IDs...

    Any help, or point me at the right document?

    Thanks

    Steve
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    The restore process always corrects the ownership.
     
  3. santrix

    santrix Well-Known Member

    Joined:
    Nov 30, 2008
    Messages:
    223
    Likes Received:
    2
    Trophy Points:
    68
    Thanks Nick!
     
  4. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Depending on the number of accounts you have, an rsync is always useful as it will restore a lot faster than restoring individual cpanel backup tarballs one by one. (this only becomes an issue if you have a slow machine or hundreds of accounts).
     
    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