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 Search this Thread Display Modes
  #51 (permalink)  
Old 05-06-2008, 12:11 PM
Loyal Member
 
Posts: 83
Default

Quote:
Originally Posted by webweaver View Post
Hi gang, newbie here with Zimbra and I am wanting to use this script. I've got dar-2.3.7 downloaded and running ./configure, it runs for a bit and stops.

checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for an ANSI C-conforming const... no
checking for inline... no
checking for off_t... no
checking for pid_t... no
checking for size_t... no
checking for struct stat.st_rdev... no
checking whether sys_siglist is declared... no
checking for size_t... (cached) no
configure: error: Cannot find size_t type
[root@zimbra dar-2.3.7]#

Obviously, I can't even start tinkering with the script without dar so anyone have a tip here? I think I have everything installed that dar wants, I wish dar had a package for centos that yum would see...

Once I get this working, I think this looks like a great script! My /backup folder is a separate 250 gig disk in the server and I want to do a disaster backup and daily zimbra backups.

I read in one of these posts that the script is ubuntu and centos friendly now?

Any modifications I will need to still do besides the basics at the top of the script?

Thanks up front, Dave
About DAR Sorry I have always used an version that comes with my distro...

You should not have to modify anything other than the config section, unless you find some bugs that need stomping.
__________________
Motions of a day at work -
Reply With Quote
  #52 (permalink)  
Old 05-06-2008, 12:15 PM
Loyal Member
 
Posts: 83
Default

Quote:
Originally Posted by chrishewitt View Post
Here's another oddity.. the backup elapsed time reported after I swapped the backup location to an NFS mount (and so made it much longer):

Full Zimbra Backup ended at: 12:54
Backup took Hr:1 Min:84 Sec:37 to complete

1hr 84 mins!?
This is a new German regulation... We now have 100mins in an hour, It makes it easer for us to count up mins and we work longer for the same pay

Cheers
Heinz
__________________
Motions of a day at work -
Reply With Quote
  #53 (permalink)  
Old 05-06-2008, 12:17 PM
Loyal Member
 
Posts: 83
Default

Quote:
Originally Posted by chrishewitt View Post
another thing.. when the DIFF backup is made it doesn't appear to clear the log file in /var/log/zim_backup.log .. if I cat this file it contains information on the FULL backup and all DIFF backups since. Is this due to the "elastic buffer" failure I'm seeing? (e.g. the backup is bombing before it gets to that point).

Christian
As I can remember it is not a bug... I want a weekly log with all info i.e. the logging of both Diff & Full backups

Cheers
__________________
Motions of a day at work -
Reply With Quote
  #54 (permalink)  
Old 05-06-2008, 12:31 PM
Loyal Member
 
Posts: 83
Default

Quote:
Originally Posted by JetteroHeller View Post
How big was the message store you were backing up? I saw that you had 2 mins of server downtime, but was wondering, on a store of like 50GB, how long to expect such a backup to take, assuming an average amount of daily activity for 500 users or so.
Hi!
It is not the size that counts ( we all know that ) but the speed of your cpu, ram, and most important IO subsystem for this script.

during the downtime only a few MBs are still copied to the cache dir. So it should only take a few seconds longer that a Zimbra server reboot.
If you need it to be fast I could suggest a combo of a DL385-G5 2xQuadcores 20GB RAM and disks on a EMC DMX4 you will hardly notice the downtime then
__________________
Motions of a day at work -
Reply With Quote
  #55 (permalink)  
Old 05-06-2008, 12:31 PM
Junior Member
 
Posts: 5
Default

Thanks Heinzg,
I'm using a CentOS 5.1 box and I really expected yum to go get DAR for me but it didn't. I'm not positive which repositories are setup on the box at the moment, perhaps some other one would have Dar than a stock build of Cent? I know enough linux to get myself in trouble, lol, but I can follow directions easily. When ./configure fails I am stumped.

Dave
Reply With Quote
  #56 (permalink)  
Old 05-06-2008, 12:39 PM
Loyal Member
 
Posts: 83
Default

Quote:
Originally Posted by webweaver View Post
Thanks Heinzg,
I'm using a CentOS 5.1 box and I really expected yum to go get DAR for me but it didn't. I'm not positive which repositories are setup on the box at the moment, perhaps some other one would have Dar than a stock build of Cent? I know enough linux to get myself in trouble, lol, but I can follow directions easily. When ./configure fails I am stumped.

Dave
I wish I could help you with the dar build, but I don't have nor strive to support CentOS.

I.e. I don't have a Cent but I have all I need - Ubuntu !
__________________
Motions of a day at work -
Reply With Quote
  #57 (permalink)  
Old 05-06-2008, 12:47 PM
Junior Member
 
Posts: 5
Default

LOL, The funny thing is that I built this box with Ubuntu first but Zimbra wouldn't install on it for some reason, I rebuilt on Cent since I am more familiar with it than Ubuntu and the Zimbra install was flawless. It's running great but now with these little issues, I wish I had just rebuilt the first Ubuntu! My luck.... Thanks anyway, I will get dar going somehow.
Reply With Quote
  #58 (permalink)  
Old 05-06-2008, 12:55 PM
Loyal Member
 
Posts: 83
Default

Quote:
Originally Posted by webweaver View Post
LOL, The funny thing is that I built this box with Ubuntu first but Zimbra wouldn't install on it for some reason, I rebuilt on Cent since I am more familiar with it than Ubuntu and the Zimbra install was flawless. It's running great but now with these little issues, I wish I had just rebuilt the first Ubuntu! My luck.... Thanks anyway, I will get dar going somehow.
Good luck, I am sure you'll get it working!
__________________
Motions of a day at work -
Reply With Quote
  #59 (permalink)  
Old 05-06-2008, 01:58 PM
Active Member
 
Posts: 25
Default

Quote:
Originally Posted by JetteroHeller View Post
How big was the message store you were backing up? I saw that you had 2 mins of server downtime, but was wondering, on a store of like 50GB, how long to expect such a backup to take, assuming an average amount of daily activity for 500 users or so.
I don't know the exact store size but i'd guesstimate it's around 2GB total. The DAR archive that's created is around 1.45GB compressed.

Christian
Reply With Quote
  #60 (permalink)  
Old 05-07-2008, 09:44 AM
Active Member
 
Posts: 27
Default

Can DAR files be viewed by like tar.gz from Midnight Commander ?
I haven't use dar files before, so here comes a simple (dummy) question :
How can i restore the full and/or the diff backup ??

I've got also error in line 901 , I'll try to add someone to CC to check . .
Ubuntu 6.06.2
Zimbra FOSS 5.05


PS Great Script!!!

Last edited by RaNd; 05-07-2008 at 09:49 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.