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.

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:
    18
    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,426
    Likes Received:
    2
    Trophy Points:
    38
    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:
    18
    Thanks Nick!
     
  4. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    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).
     

Share This Page