Results 1 to 7 of 7

Thread: [SOLVED] deleting old backups

  1. #1
    jayel is offline Loyal Member
    Join Date
    Dec 2007
    Location
    Belgium
    Posts
    85
    Rep Power
    7

    Default [SOLVED] deleting old backups

    Hello,

    How can I delete old backups by hand?
    Can I just do zmbackup -del 7d in command line?
    Since 6.07 my disk space is huge ???

    greets
    John

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

    Default

    Should be OK.

  3. #3
    bartounet16 is offline Active Member
    Join Date
    Dec 2009
    Posts
    31
    Rep Power
    5

    Default

    Yes you can use

    Code:
    /opt/zimbra/bin/zmbackup -del 7d
    or directly whith the backup name
    Code:
    /opt/zimbra/bin/zmbackup -del full-20100821.010007.806
    R905 DELL
    Release 6.0.7_GA_2473.SLES11_64_20100616202558 SLES11_64 NETWORK edition.

  4. #4
    jayel is offline Loyal Member
    Join Date
    Dec 2007
    Location
    Belgium
    Posts
    85
    Rep Power
    7

    Default

    Thank you !

  5. #5
    Hivos's Avatar
    Hivos is offline Advanced Member
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    5

    Default

    Somewhere in ZCS 6.0.x the behaviour of the backups changed from default hardlinked blobs to default zipped & non-hardlinked blobs. Search the forums, there's many posts covering this. In short: you'll need to add the --noZip option to the backup lines in your crontab, and don't forget to redo this after every upgrade.

  6. #6
    jurness is offline Senior Member
    Join Date
    Jun 2009
    Location
    Oakland, CA
    Posts
    58
    Rep Power
    6

    Default

    Is there a way to configure backups to not keep 4 weeks of backups around? I have looked at the admin manual and i don't see this but can't imagine it is not configurable.

    I'd like to only keep one week's worth on disk since it goes to tape anyways...

  7. #7
    jayel is offline Loyal Member
    Join Date
    Dec 2007
    Location
    Belgium
    Posts
    85
    Rep Power
    7

    Default

    Code:
    zimbra@mail:/root$ crontab -e
    Search for BACKUP BEGIN :

    Code:
    # BACKUP BEGIN
    0 1 * * 6 /opt/zimbra/bin/zmbackup -f --noZip -a all
    0 1 * * 0-5 /opt/zimbra/bin/zmbackup -i --noZip
    0 0 * * * /opt/zimbra/bin/zmbackup -del 7d
    # BACKUP END
    Last line 7d means that everything prior to -7 days wil be deleted.

    Greets

    John

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 'Couldn't access Yahoo! Zimbra Desktop server"
    By chirag1 in forum Error Reports
    Replies: 37
    Last Post: 06-12-2011, 05:14 PM
  2. Full backups seem too small, suspect a problem
    By stevenjd in forum Administrators
    Replies: 5
    Last Post: 02-17-2010, 05:03 AM
  3. zipping backups and deleting old backups
    By support.txdistlcms.org in forum Administrators
    Replies: 0
    Last Post: 09-28-2009, 12:11 PM
  4. Replies: 1
    Last Post: 05-19-2009, 04:14 PM
  5. Of backups and restoration
    By lcxe in forum Administrators
    Replies: 10
    Last Post: 11-20-2008, 10:13 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
  •