Results 1 to 10 of 10

Thread: zmbackup -z question

  1. #1
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    Question zmbackup -z question

    I want to zip the backups to save space and looked up zmbackup and zmbackupschedule. They both refer to -zip and -zipStore as being options that can be added but do not give an example of where to add the -z

    This is zimbra user crontab

    # BACKUP BEGIN
    0 20 * * * /opt/zimbra/bin/zmbackup -del 15d
    0 2 * * 6 /opt/zimbra/bin/zmbackup -f -z -a all
    0 2 * * 0-5 /opt/zimbra/bin/zmbackup -i -z -a all
    # BACKUP END

    Does that look ok?

    Does anyone have any opinion on to compress or not, does it slow down restores for example

    Thanks,

  2. #2
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    yes that placement is fine. it doesn't matter what order arguments are in.

    and yeah the tradeoff for compression is speed always. my advice would be to do it both ways, compare the results and decide if it's something that is worth it for you.

  3. #3
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    Default

    Thanks for the reply.
    It will be interesting to see what size the next full backup is, last normal full backup was 67G

  4. #4
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    Well, what's the result?

    Thanks, I'm interested in this for our servers, too...

  5. #5
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    Default

    Forgot to update this.

    Full backups are now just under 40G quite a substantial reduction

  6. #6
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    OK, thanks. Do you notice a speed/performance problem now? Do backups take much longer?

  7. #7
    alto is offline Special Member
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    125
    Rep Power
    8

    Default

    much longer

    a full backup used to take 90 mins without compression

    with compression that is up to 6 hours

    the backup starts at 2am GMT, we have only a handful of users actively using mail during the night and they have not complained

  8. #8
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    OK, thanks for the info!

  9. #9
    padraig's Avatar
    padraig is offline Elite Member
    Join Date
    Jul 2006
    Location
    ireland
    Posts
    388
    Rep Power
    9

    Question -a position

    Quote Originally Posted by bdial View Post
    yes that placement is fine. it doesn't matter what order arguments are in.

    and yeah the tradeoff for compression is speed always. my advice would be to do it both ways, compare the results and decide if it's something that is worth it for you.
    it appears the -a must be the last option before all

    e.g. zmbackup -f -a -z all is rejected
    zmbackup -f -z -a all is OK ?

    p.
    Thanks For any replies,
    p.

  10. #10
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    11

    Default

    Quote Originally Posted by padraig View Post
    it appears the -a must be the last option before all

    e.g. zmbackup -f -a -z all is rejected
    zmbackup -f -z -a all is OK ?

    p.
    The challenge here is that the -a switch requires an argument immediately following it.

    The "-a" means "accounts to back up", so putting the "-z" in between the "-a" and "all" makes zmbackup look for an account named "-z".

    Hope that helps explain things.
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Accented characters shown as question marks
    By fcolpron in forum Administrators
    Replies: 5
    Last Post: 08-07-2008, 12:39 PM
  2. Replies: 7
    Last Post: 06-08-2008, 01:54 PM
  3. Backup question
    By drdre in forum Administrators
    Replies: 28
    Last Post: 01-14-2008, 12:56 PM
  4. server configuration question
    By burnmage in forum Installation
    Replies: 0
    Last Post: 11-08-2007, 04:27 PM
  5. Multiple Domains Question
    By kristiaan_d in forum Administrators
    Replies: 2
    Last Post: 03-14-2007, 04:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •