Page 14 of 66 FirstFirst ... 412131415162464 ... LastLast
Results 131 to 140 of 659

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

  1. #131
    jvels is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    15
    Rep Power
    9

    Smile

    Quote Originally Posted by heinzg View Post
    Cheers for the suggestions, I will get down to coding asap!

    Thanks that would be nice

  2. #132
    mathew is offline Intermediate Member
    Join Date
    Sep 2008
    Posts
    16
    Rep Power
    6

    Default 404 error downloading


  3. #133
    mathew is offline Intermediate Member
    Join Date
    Sep 2008
    Posts
    16
    Rep Power
    6

    Default Updated version of the script

    Nobody replied to my previous post and also needed to install the script on a CentOS (Redhat) server, so I've made the following changes to the script:

    1. Split the script into multiple segments
    2. Added a install script for CentOS (incomplete)
    3. Added parameter for only performing rsync, because this works better with our backup process based on rsnapshot

    I have uploaded the changes to SourceForge.net Repository - [cahaya-hubung] Index of /trunk/etc/script/zimbra.

  4. #134
    jetorres is offline Intermediate Member
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Default

    The Fold - About post #80, 07-28-2008, 04:48 AM. Did you find a solution to this problem. I experience the same thing. A work around is to set the size larger to fit all the data in one dar file.

    The solution would be to fix the code for the "if [ -e $FILENAME ]" line. The previous line FILENAME='ls -A ...F"*' returns multiple filenames as there are more than one dar file. Then the if statement fails, it does not have anything to do with the OS version (Fedora/Ubuntu/RedHat). Maybe add a 'For' statement, but I think this problem is propagated in latter sections of the code, so I think requires an expert in bash to fix it.

    Maybe there is an updated version with the fix, but the author seems that is no longer supporting it.

  5. #135
    carloseduardo is offline New Member
    Join Date
    Jul 2009
    Posts
    3
    Rep Power
    6

    Default

    Hi, everybody!!! My first post here

    Quote Originally Posted by jetorres View Post
    Maybe there is an updated version with the fix, but the author seems that is no longer supporting it.
    Where is Heinzig?

    I think we would like to hear if he's still working on the script!

    Anyways, thx everyone for the effort !!!

  6. #136
    vdd
    vdd is offline Junior Member
    Join Date
    May 2009
    Posts
    5
    Rep Power
    6

    Lightbulb Looks like withOUT support(bug fix) for this sxcript

    I'm new with zimbra, check the wiki for backup script and decided to check this one.

    root@zimbra:/opt/zimbra# cat /opt/zimbra/DATE_VERSION.txt
    04-August-2009
    Release 5.0.16_GA_2921.UBUNTU8_64 UBUNTU8_64 FOSS edition

    So, this script does not work for big zimbra installations:
    /etc/zmbac.sh: line 837: [: too many arguments
    31_Zimbra_Backup_04-August-2009_FULL.1.dar
    31_Zimbra_Backup_04-August-2009_FULL.2.dar
    31_Zimbra_Backup_04-August-2009_FULL.3.dar
    31_Zimbra_Backup_04-August-2009_FULL.4.dar not found!
    This should not happen


    Diff Backup started at: 04:11
    /etc/zmbac.sh: line 996: [: too many arguments
    I'm not good in bash scripting, but this is too obvious for me.
    This is not the way you can menage more than 1 dar file
    - line 836/837
    - line 863/865

    Please, if there is someone good i bash scripting, make it working .

    Anyway, I will test it again with large enough "ARCHIVESIZE" (line 71)
    to create only 1 file.

    Quote Originally Posted by The Fold View Post
    Hi,

    I've put this script into use and it created a full backup as expected but then it gave this error:

    Code:
    /usr/local/bin/zmbac.sh: line 837: [: too many arguments
    30_Zimbra_Backup_28-July-2008_FULL.1.dar
    30_Zimbra_Backup_28-July-2008_FULL.2.dar
    30_Zimbra_Backup_28-July-2008_FULL.3.dar not found!
    This should not happen
    Although when I checked the folder /opt/backup/zimbra_dars the file it says it can't find is there

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

    Exclamation I have to apologize

    Sorry for the problem you are having with the script. This is due to the fact that the copy on the wiki is, i think the first version with added bug, sorry I will remove it from the wiki if possible.

    I will attach a working version of the script which has been contributed and nicely updated by Quentin Hartman of Concentric Sky. Big thanks for your work done on the script, and most of all for sharing it afterwards!!

    i have also attached the script to this post

    I will have to find a spot on the net to host the script again and will then post new upcoming version there....

    Cheers
    Heinz
    Attached Files Attached Files
    Motions of a day at work -

  8. #138
    jetorres is offline Intermediate Member
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Default

    Heinzg - Please post in this thread the link to the new host when ready.

    Thanks

    By the way I am using your script because it fits my needs and the other scripts do not. I hope the new version stayed backward compatible with the old version.

  9. #139
    jetorres is offline Intermediate Member
    Join Date
    Apr 2009
    Posts
    22
    Rep Power
    6

    Default

    I downloaded the script zmback_v.0.5 and open the file succesfully.

    But inspecting the section that is causing the error for multiple dar files I see that is still the same, so the script still does not handle succesfully multiple dar files.

    Cordially
    Jose

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

    Default

    can you be a bit more specific about the problem and usage of the script... maybe post the config section so i try it on my side.
    Motions of a day at work -

Page 14 of 66 FirstFirst ... 412131415162464 ... 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
  •