Doubt about Full Backup

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
hispa
Posts: 35
Joined: Fri Sep 12, 2014 11:49 pm

Doubt about Full Backup

Postby hispa » Tue May 19, 2009 11:20 am

Hi,
I am administering a Zimbra NE, i've seen that incremental backups are being done well, but with full backups i'm not sure since it's size it's very small.
I have 500 users right now, and in incrementals backups there are days where i get 6G - 11G size average, but in full backups i get sizes like 211M or something like that. How is this possible that incremental gets longer than full backups?
Here is the output from zmschedulebackup -q
Default schedule set
Current Schedule:
f 0 1 * * 6 -a all

i 0 1 * * 0-5

d 1m 0 0 * * *


Another thing, what files are being backed up?
Thanks in advance.


iway
Outstanding Member
Outstanding Member
Posts: 425
Joined: Fri Sep 12, 2014 11:31 pm

Doubt about Full Backup

Postby iway » Tue May 19, 2009 12:05 pm

Well, full backups of all accounts are run only once a week. All other days, the full backup only holds the newly added accounts since the last full full backup.

Can be a little confusing...
dustys
Advanced member
Advanced member
Posts: 67
Joined: Fri Sep 12, 2014 10:25 pm

Doubt about Full Backup

Postby dustys » Tue May 19, 2009 9:31 pm

If I'm recalling this right, incremental backups will contain any new accounts plus the redo logs since the last backup. The traditional full backups that are performed by default use hard links on the file system to reference previously stored blobs in the current backup, rather than storing them more than once.
This may be of help also: Network Edition Backup Procedure
Cheers,

Dusty
hispa
Posts: 35
Joined: Fri Sep 12, 2014 11:49 pm

Doubt about Full Backup

Postby hispa » Wed May 20, 2009 2:30 am

full backups are done once a week, and the others day it only makes incremental backups that are the differences between the last backup until the moment it begins to backup.
Full backups are a set of incremental backups joined together.. how can it be than an incremental backup is larger in size than a full backup?:confused: i don't get it.
As its size, i don't know if i can trust in my "full backups" in case i have to use them to recover my system by a disaster situation. :(


Thanks.
Rich Graves
Outstanding Member
Outstanding Member
Posts: 687
Joined: Fri Sep 12, 2014 10:24 pm

Doubt about Full Backup

Postby Rich Graves » Wed May 20, 2009 6:59 am

"Full backups are a set of incremental backups joined together"
For a traditional tape backup, this is generally true. For a deduplicating, single-instance disk-to-disk backup regime with database redo logs, it's not.
By all means, test your full backup restore procedure now; don't wait for an actual emergency. Shouldn't require downtime. NFS-export (or SAN-snapshot and clone, if possible) your /opt/zimbra/backup. Mount on another box. Follow the disaster recovery procedure from there.
11148mertz
Advanced member
Advanced member
Posts: 51
Joined: Sat Sep 13, 2014 12:34 am

Doubt about Full Backup

Postby 11148mertz » Sun Sep 20, 2009 6:59 am

[quote user="iway"]Well, full backups of all accounts are run only once a week. All other days, the full backup only holds the newly added accounts since the last full full backup.

Can be a little confusing...[/QUOTE]
Hello,
Just to be sure (as I can hardly check this on a new unconnected zimbra server) could you confirm that :

- the small full backup created automatically during the week when a new user is added is OK (with its small size)

- and it will not prevent correct recovery assuming I have real weekly full big backup available (+ the incremental backup) ?
thanks if someone could confirm this.
Christophe
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

Doubt about Full Backup

Postby mmorse » Sun Sep 20, 2009 1:39 pm

That full of 1 user doesn't affect a full of all the others. (The accounts.xml has a latestFullBackupLabel for everyone and that will be used if you do a zmrestore -f without picking a particular label -lb.) Thus you can feel free to kickoff a full of 1 account at any time: zmbackup -f -a user@domain.com
Just make sure you understand CLI">http://wiki.zimbra.com/index.php?title=CLI_zmrestore_restoreToTime_Network_Edition_only>CLI zmrestore restoreToTime Network Edition only - Zimbra :: Wiki

So if your restoring an account, you do an -lb argument to specify a full backup for the account that took place prior to the time period you wish to restore.
~
See all sorts of other options in: CLI">http://wiki.zimbra.com/index.php?title=CLI_zmrestore_Network_Edition_only>CLI zmrestore Network Edition only - Zimbra :: Wiki
(And it never hurts to do a "-ca -pre restored_" to create a new target account to test the restore on first.)
More on auto-grouped (for large systems), zmplayredo, and -zip which ended up being the default mode in 6.0 here: Recent">http://www.zimbrablog.com/blog/archives/2008/08/recent-admin-tidbits-part-1.html>Recent Admin Backup Tidbits - Part 1 » Zimbra :: Blog
User avatar
L. Mark Stone
Elite member
Elite member
Posts: 2049
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine
ZCS/ZD Version: 8.8.12 Network Edition
Contact:

Doubt about Full Backup

Postby L. Mark Stone » Sun Sep 20, 2009 6:31 pm

[quote user="hispa"]full backups are done once a week, and the others day it only makes incremental backups that are the differences between the last backup until the moment it begins to backup.
Full backups are a set of incremental backups joined together.. how can it be than an incremental backup is larger in size than a full backup?:confused: i don't get it.
Thanks.[/QUOTE]
Incremental backups move the redo logs into the ~/backup tree; full backups leave the redo logs where they normally live.
Regardless, it's easy to test if your full backups are OK by doing a restore with a prepended account name. Assuming you test with your own account, just do a "View Mail" on the restored account from the Admin Console and see if everything that you thought should be there is indeed there.
Hope that helps!

Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
Zeta Alliance http://www.zetalliance.org/
11148mertz
Advanced member
Advanced member
Posts: 51
Joined: Sat Sep 13, 2014 12:34 am

Doubt about Full Backup

Postby 11148mertz » Fri Oct 16, 2009 12:26 pm

[quote user="mmorse"]That full of 1 user doesn't affect a full of all the others. (The accounts.xml has a latestFullBackupLabel for everyone and that will be used if you do a zmrestore -f without picking a particular label -lb.) Thus you can feel free to kickoff a full of 1 account at any time: zmbackup -f -a user@domain.com
Just make sure you understand CLI">http://wiki.zimbra.com/index.php?title=CLI_zmrestore_restoreToTime_Network_Edition_only>CLI zmrestore restoreToTime Network Edition only - Zimbra :: Wiki

So if your restoring an account, you do an -lb argument to specify a full backup for the account that took place prior to the time period you wish to restore.
See all sorts of other options in: CLI">http://wiki.zimbra.com/index.php?title=CLI_zmrestore_Network_Edition_only>CLI zmrestore Network Edition only - Zimbra :: Wiki
(And it never hurts to do a "-ca -pre restored_" to create a new target account to test the restore on first.)

.....

[/QUOTE]
thx for your reply... very enlightning for me, an testing it as you described is nice.
christophe

Return to “Administrators”

Who is online

Users browsing this forum: itgroup2019 and 12 guests