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
[SOLVED] deleting old backups
[SOLVED] deleting old backups
Should be OK.
-
- Posts: 30
- Joined: Sat Sep 13, 2014 12:54 am
[SOLVED] deleting old backups
Yes you can use
or directly whith the backup name
/opt/zimbra/bin/zmbackup -del 7d
or directly whith the backup name
/opt/zimbra/bin/zmbackup -del full-20100821.010007.806
[SOLVED] deleting old backups
Thank you !
[SOLVED] deleting old backups
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.
[SOLVED] deleting old backups
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...
I'd like to only keep one week's worth on disk since it goes to tape anyways...
[SOLVED] deleting old backups
zimbra@mail:/root$ crontab -e
Search for BACKUP BEGIN :
# 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
Who is online
Users browsing this forum: No registered users and 13 guests