Results 1 to 5 of 5

Thread: backups to tape

  1. #1
    support.txdistlcms.org is offline Active Member
    Join Date
    Oct 2007
    Posts
    37
    Rep Power
    7

    Default backups to tape

    I was planning to copy the local backup session (e.g. backup/sessions/full-20071103.060003.910/ ) to tape for offsite storage with a simple tar script. We are running the network (paid) version if that matters. A few questions.

    How do I predict the file names? In the example above, I understand full-20071103. - but what is 060003.910???

    Do I need anything other than the contents of that directory for a full restore in case of disaster? (e.g. Should I record the spam address name somewhere? The license key?)

    What is the best way to modify the system to give me more frequent full backups? (We are small enough to do so.) I looked at /etc/crontab but did not see any entries there, and then worried if the system would want me editing it's crontab with vi directly....

  2. #2
    mtlhead089 is offline Intermediate Member
    Join Date
    Jun 2007
    Location
    Weatherford, TX
    Posts
    15
    Rep Power
    8

    Default Backups to Tape

    I backup the entire directory '/opt/zimbra/backup'. I use the following tar commands;

    Full backup done every Saturday morning:
    tar cvf /dev/nst0 /opt/zimbra/backup

    Incremental done every weekday night:
    tar cvfG /dev/nst0 /opt/zimbra/backup

    As you may notice the addition of the 'G' switch which tells tar to make an incremental tar. I do not include the 'z' switch to compress the backup. My particular Zimbra has approx 75 users which have a quota of 500M but nobody gets to within 70% of that mark. Zimbra only keeps one month's worth of backups and currently a full backup of the /opt/zimbra/backup directory is approx 11G.

    The tape backup is not done until 'after' Zimbra has done it's backup.

    Doing full backup everyday would be way too much overkill since Zimbra only does a full backup every week.

    While logged into your server (btw - what os are you running) as root do the following command (w/o quote) 'man 5 crontab'. This will give you instructions on how to use crontab and to make your script(s) run thru cron.
    Last edited by mtlhead089; 11-09-2007 at 08:02 PM.

  3. #3
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Quote Originally Posted by support.txdistlcms.org View Post
    Do I need anything other than the contents of that directory for a full restore in case of disaster? (e.g. Should I record the spam address name somewhere? The license key?)
    You might also want to keep the installer handy for your current version. The license file you can always get from the support portal as well.
    Read: /docs/ne/latest/administration_guide/10_Backup_Restore.13.1.html
    Quote Originally Posted by support.txdistlcms.org View Post
    What is the best way to modify the system to give me more frequent full backups? (We are small enough to do so.) I looked at /etc/crontab but did not see any entries there, and then worried if the system would want me editing it's crontab with vi directly....
    CLI zmschedulebackup Network Edition only - Zimbra :: Wiki
    The default full backup is scheduled for 1:00 a.m., every Sunday. The default incremental backups are scheduled for 1:00 a.m., Monday through Saturday.
    By default, backups older then a month are deleted on the first of each month at 12 a.m.

  4. #4
    support.txdistlcms.org is offline Active Member
    Join Date
    Oct 2007
    Posts
    37
    Rep Power
    7

    Default possible bug?

    Changing the backup dir from the Administration website changes the dir that the following items are backed up to:

    acct_name_id.dat
    acct_session.dat
    sessions/*

    However, ldap is still backed up to the default directory (i.e. /opt/zimbra/backup/ldap/* )

    I would be happy to post this to the bug db (I looked for it), but want to double check since I'm new.

  5. #5
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. cron pruning of backups
    By ThorGoLucky in forum Administrators
    Replies: 10
    Last Post: 11-13-2009, 02:20 AM
  2. Backups fail after workaround for bug 10827
    By warbirdcharles in forum Administrators
    Replies: 1
    Last Post: 07-17-2007, 12:07 PM
  3. How To Vet If Backups Are Working?
    By LMStone in forum Administrators
    Replies: 2
    Last Post: 03-19-2007, 06:38 PM
  4. 4.5 NE... can it read full backups from 4.0.x?
    By shanson in forum Administrators
    Replies: 3
    Last Post: 01-23-2007, 09:26 AM
  5. Running the backups from the admin UI
    By fmodola in forum Administrators
    Replies: 0
    Last Post: 11-03-2006, 06:31 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
  •