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.

Back up accounts so that server does not run out of disk space

Discussion in 'Data Protection' started by cmarza, Jan 20, 2014.

  1. cmarza

    cmarza Registered

    Joined:
    Apr 12, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have the following problem:
    I have backup set-up to a remote FTP location. When the backup starts, one process starts packaging the user accounts and another one copies them to the remote location (and deletes the file afterwards). However, because the transfer process is rather slow, the result is that the server runs out of disk space.

    Is there any way to configure the backup (I am using the new system) so that it does one of the following (could be a command line script):
    1. Check available disks pace and do not package the next account in list until the available space is enough (there is space to backup the largest account for sure). The backup should resume automatically when the necessary space has been freed.

    OR

    2. Processes each account individually (eg: packages the account and transfers it BEFORE starting to package the next account)

    OR

    3. Process the accounts in user-defined batches - so that I can make larger batches for smaller accounts and add the larger accounts in batches with 1 or 2 accounts each.

    Thank you,
    Dinu
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page