Page 6 of 66 FirstFirst ... 456781656 ... LastLast
Results 51 to 60 of 659

Thread: [SOLVED] Yet Another Backup Script for Community Version

  1. #51
    heinzg is offline Loyal Member
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    83
    Rep Power
    7

    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 -

  2. #52
    heinzg is offline Loyal Member
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    83
    Rep Power
    7

    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 -

  3. #53
    heinzg is offline Loyal Member
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    83
    Rep Power
    7

    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 -

  4. #54
    heinzg is offline Loyal Member
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    83
    Rep Power
    7

    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 -

  5. #55
    webweaver is offline Junior Member
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    7

    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

  6. #56
    heinzg is offline Loyal Member
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    83
    Rep Power
    7

    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 -

  7. #57
    webweaver is offline Junior Member
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    7

    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.

  8. #58
    heinzg is offline Loyal Member
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    83
    Rep Power
    7

    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 -

  9. #59
    chrishewitt's Avatar
    chrishewitt is offline Active Member
    Join Date
    Apr 2008
    Location
    Dubai, UAE
    Posts
    25
    Rep Power
    7

    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

  10. #60
    RaNd is offline Active Member
    Join Date
    Feb 2007
    Location
    Greece
    Posts
    27
    Rep Power
    8

    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 08:49 AM.

Page 6 of 66 FirstFirst ... 456781656 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra Backup Script ... Small Problem
    By frankb in forum Administrators
    Replies: 12
    Last Post: 07-14-2008, 08:40 AM
  2. Debian - Upgrade from 4.5.6
    By magikman in forum Installation
    Replies: 1
    Last Post: 01-19-2008, 12:59 PM
  3. Backup script issues
    By SSS in forum Administrators
    Replies: 18
    Last Post: 12-03-2007, 09:56 AM
  4. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 09:36 AM
  5. [SOLVED] Simple backup question...
    By dameron in forum Administrators
    Replies: 3
    Last Post: 08-25-2007, 09:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •