Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2007, 08:00 AM
Special Member
 
Posts: 124
Default Backup to another drive

Forgive me as I'm sure this is a basic Linux question, but I would like to backup to another disk mounted on the server. Can you tell me the path I would need to use in the backup settings to do this?

The drive is
/dev/sdb1 153834852 94272 145926164 1% /mnt/drive2

Thanks for your help.
Reply With Quote
  #2 (permalink)  
Old 03-10-2007, 12:02 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

rsync is a good tool

rman rsync
Reply With Quote
  #3 (permalink)  
Old 03-10-2007, 06:51 PM
Member
 
Posts: 11
Default

Another possibility would be to move the backup directory to /mnt/drive2 then create a symbolic link to the new location using ln -s /mnt/drive2/backup /opt/zimbra

This will place the backups in the new location
Reply With Quote
  #4 (permalink)  
Old 03-12-2007, 06:55 PM
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by jholder View Post
rsync is a good tool

rman rsync
I've been wondering about keeping a local backup with the server and one over the network to another machine.

Would you say backing up once and rsyncing over the network is the right way to go?
Reply With Quote
  #5 (permalink)  
Old 03-12-2007, 07:00 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Personally, I love rsync.

In answer to your question, yes.
Reply With Quote
  #6 (permalink)  
Old 03-14-2007, 04:18 PM
Partner (VAR/HSP)
 
Posts: 100
Default What time?

If the backup process is set to run at 1am nightly, would you run your rsync prior to the backup at 10pm or wait and run it later like 4am?

I don't want to either rsync a partial backup by starting the copy before the zmbackup is complete, but I also don't want the zmbackup to be bogged down because rsync hasn't finished. Also if I rsync first, then if the local copy dies (which is why I'm making a network copy) then the network copy is at least 24 hours old...

Ideas?

Peter
Reply With Quote
  #7 (permalink)  
Old 03-14-2007, 05:21 PM
Member
 
Posts: 11
Default

From the info from our backup file - it takes little time for the incrementals to complete. Our incremental is up to 193M nightly. Here is our info..
Label: incr-20070314.050005.110
Type: incremental
Status: completed
Started: Wed Mar 14 01:00:05 EDT 2007
Ended: Wed Mar 14 01:00:34 EDT 2007
Redo log sequence range: 78 .. 78
Number of accounts: 81


Label: incr-20070313.050005.506
Type: incremental
Status: completed
Started: Tue Mar 13 01:00:05 EDT 2007
Ended: Tue Mar 13 01:00:22 EDT 2007

Redo log sequence range: 76 .. 76
Number of accounts: 81
We run our backup at 3:14 and its done in less than an hour. Well before any employees come in to office.
Reply With Quote
  #8 (permalink)  
Old 03-15-2007, 07:47 AM
Active Member
 
Posts: 46
Default BACKUP in Network Edition

I have completed successfully some backups with the backup utility in the network edition..

I would like to know how to delete some old backups in order to free disc space, without cause any system error.

Is it enough deleting the /BACKUP_PATH/sessions/full-YYYYMMDD.213640.633 directory?
__________________
- DGamez -
Zimbra Freak (since 2004).

Caracas - Venezuela
Reply With Quote
  #9 (permalink)  
Old 03-15-2007, 07:59 AM
Member
 
Posts: 11
Default

Zimbra's default configuration will delete backups older than 1 month old. You can modify this entry in cron. Here is a snippet to delete backups by hand from the wiki..

Delete backup sessions either by label or by date. Deleting by label deletes that session and all backup sessions before that session. Deleting by date deletes all backup session prior to the specified date.

zmbackup -del 7d

More info can be found here: http://wiki.zimbra.com/index.php?tit...ckup_Procedure
Reply With Quote
  #10 (permalink)  
Old 03-16-2007, 11:36 AM
Active Member
 
Posts: 46
Default

Excellent echoman! Thanks.
__________________
- DGamez -
Zimbra Freak (since 2004).

Caracas - Venezuela
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0