Menu

Compression

2008-06-23
2012-09-15
  • Jaco Adriaansen

    Jaco Adriaansen - 2008-06-23

    I started using the"zimbraColdBackup script recently and I like it. There is one big feature I miss however: The ability to compress the result folder with gzip or bzip2.

    When I tried this manually it reduced the size from 1.1 GB to 306MB. So I think compression would save a lot of valuable harddrive space.

     
    • Chintan Zaveri

      Chintan Zaveri - 2008-11-02

      I haven't tried this but it should be possible to do so, by adding the "compress" option in the part of the code that looks like:

      if ( $send_remote ) {
      # Backup Zimbra using "rsync"
      my $rem_rsync_obj = File::Rsync->new ( {
      'rsync-path' => $rsync,
      'archive' => 1,
      'recursive' => 1,
      'links' => 1,
      'hard-links' => 1,
      'keep-dirlinks' => 1,
      'perms' => 1,
      'owner' => 1,
      'group' => 1,
      'devices' => 1,
      'times' => 1
      } );

       

Log in to post a comment.