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.

Backups created with users ID, also Weekly Only backups

Discussion in 'General Discussion' started by tkoweb, Feb 10, 2004.

  1. tkoweb

    tkoweb Active Member

    Joined:
    Dec 26, 2002
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Two backup issues,

    #1. My backups seem to be creating quota problems for users on one particular server. Shouldn't backups be created under root or nobody user ids and not count towards their quotas? It only recently started doing this. At the same time, it also started uncompressing the backups in their own cpbackup folder, at least doubling the disk space taken for any given account.

    #2. How can I tell WHM to do Weekly backups ONLY, (or monthly only for example). One of my servers has this requirement.
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    In WHM, you can configure the Backups, you'll need to look at these two options :

    Backup Interval - Specify the interval used by the backup process.

    Days to run backup - Click on the tick boxes of the days on which you want to run backups.


    These two optiosn will let you adjust when they happen. As for whether they should be under root or nobody instead of the user, if you want the user to be able to access them, they'd have to be under the user. Unless you had it world writable as root/nobody which would be bad as users could potentionally delete them and what not.
     
  3. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    1 - The quota problem happens whenever you backup incrementally on the same drive that uses quotas. You need either a) another drive, b) a cron job that runs chown -R root:root /backup every time after the backup is made. DONT chown them to nobody! Search on this forum for more info. OR c) torn off incremental backups

    2 - In WHM, you can do Monthly only, but you can't do just weekly or just daily. For this you have to edit /scripts/cpbackup and comment out the parts that do monthly.

    You can find more information for both of these questions; they have been posted many times.
     
    #3 elleryjh, Feb 10, 2004
    Last edited: Feb 10, 2004
Loading...

Share This Page