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.

pkgacct --split - size of files

Discussion in 'Data Protection' started by davidfuzzylime, Jul 2, 2012.

  1. davidfuzzylime

    Joined:
    Oct 25, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have a cron script running on a cPanel-powered server that runs pkgacct each day then transfers the resulting files to an Amazon S3 server for backup purposes. I was using the built-in unix "split" command to do this but this was causing the server to run out of space so I've switched to using pkgacct --split to do so. Is there any way I can customise the size of files that pkgacct then spits out? They're currently all 95.4MB and I'd rather they were larger so that I'm transferring fewer, bigger files to Amazon.

    Thanks!
     
  2. briansol

    briansol Active Member

    Joined:
    Oct 31, 2007
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    6
    Location:
    ct
    did you ever figure this out? i'm trying to do the same thing.
     
  3. davidfuzzylime

    Joined:
    Oct 25, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I didn't, unfortunately; I just stuck with it. My concern was that the transfers sometimes failed so I updated my script to check the directory listing on Amazon once it had finished the transfer, and - if there were any files that were missing - transfer them again.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am not aware of any method available that allows you to modify the size used when the "--split" flag is used with Pkgacct. You can open a feature request for this at:

    Submit A Feature Request

    Thank you.
     
  5. davidfuzzylime

    Joined:
    Oct 25, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Done, I think! Though I can't find it :S

    - - - Updated - - -

    Ah, here we go! http://features.cpanel.net/responses/customise-size-of-pkgacct-split-output-files
     
Loading...

Share This Page