1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

plesk backup expose rsyncable option

Discussion in 'Plesk Suggestions and Feedback' started by ollybee, Sep 19, 2012.

  1. ollybee

    ollybee New Pleskian

    11
     
    Joined:
    Jun 1, 2012
    Messages:
    13
    Likes Received:
    0
    It would be nice if the plesk backup commandline option would expose the gzip rsyncable option.
    by default a small change in source files will cause the a gzipped file to be totally different. the rsyncable option gives slightly worse compression but means the zipped file will be similar at a byte level.
    This allows backup to be handled much more efficiently if sychronising with rsync or storing on a deduplicated file system.
    You can get round this by backing up to std output and then piping into gzip, for example
    /usr/local/psa/bin/pleskbackup server -z --output-file=- | gzip -f --rsyncable > /var/lib/psa/dumps/dailybackup.gz

    I want backup created through the web interface to be able to be zipped with --rsyncable
     
    Last edited: Sep 27, 2012
  2. ollybee

    ollybee New Pleskian

    11
     
    Joined:
    Jun 1, 2012
    Messages:
    13
    Likes Received:
    0
    Just noticed /usr/local/psa/bin/pleskbackup is a perl script, I can do this myself
     
Loading...