Page 10 of 66 FirstFirst ... 891011122060 ... LastLast
Results 91 to 100 of 659

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

  1. #91
    Join Date
    Jun 2008
    Posts
    19
    Rep Power
    7

    Default

    how to restore dar file which is encrypted. Iam getting the following error
    command :
    # dar -K bf:557cf69338fdade93f5b4260ac1427b0 -l 31_Zimbra_Backup_04-August-2008_FULL.1.dar |head
    Warning, 31_Zimbra_Backup_04-August-2008_FULL.1.dar seems more to be a slice name than a base name. Do you want to replace it by 31_Zimbra_Backup_04-August-2008_FULL ? [return = OK | Esc = cancel]
    Continuing...
    Warning, the archive 31_Zimbra_Backup_04-August-2008_FULL has been encrypted. A wrong key is not possible to detect, it would cause DAR to report the archive as corrupted
    FATAL error, aborting operation
    too large elastic buffer or elastic buffer incoherent structure

    thanks in advance

    Rajesh.S

  2. #92
    Join Date
    Jun 2008
    Posts
    62
    Rep Power
    7

    Default

    hi pals

    i used this script in opensuse10.2. and it works well. after executing this script
    three folders are created.
    1) /tmp/fakebackup
    2) /Backup/zimbra_dars
    3) /Backup/burn

    in /tmp/fakebackup folder i can find all the files and directories available in /opt/zimbra

    now i want to copy (restore) backup to /opt/zimbra how to do this

    i think we can do this by modifying in this script, source /tmp/fakebackup and
    destination /opt/zimbra

  3. #93
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    I'm not much of a fan of modifying my working backup script. If /tmp/fakebackup has a current backup of your entire /opt/zimbra tree, all you need to do is stop Zimbra, copy the contents of /tmp/fakebackup over top of /opt/zimbra, and restart Zimbra. Presto changeo, backup restored!
    Cheers,

    Dan

  4. #94
    Join Date
    Mar 2007
    Location
    London, UK
    Posts
    50
    Rep Power
    8

    Default

    Quote Originally Posted by dwmtractor View Post
    I'm not much of a fan of modifying my working backup script. If /tmp/fakebackup has a current backup of your entire /opt/zimbra tree, all you need to do is stop Zimbra, copy the contents of /tmp/fakebackup over top of /opt/zimbra, and restart Zimbra. Presto changeo, backup restored!
    What I would personally suggest on top of this is to move the zimbra folder if you have the disk space, just in case

  5. #95
    Join Date
    Aug 2008
    Posts
    22
    Rep Power
    7

    Default

    Hi,
    at the end of that script, I get :

    :::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::
    Full Zimbra Backup ended at: 22:54
    Backup took Hr:0 Min:18 Sec:43 to complete
    :::::::::::::::::Cheers Osoffice for the script:::::::::::::::::::::::
    ./zmbac.sh: line 901: /backup/zimbra/dars/Backuplist-19-aug-2008.txt.gz: Permission denied
    No message, no subject; hope that's ok

    Is it a critic problem ?
    I've read that the Permission denied isn't, but I don't know for "No message, no subject; hope that's ok".
    PS: encryption is off

  6. #96
    Join Date
    Apr 2008
    Location
    Dubai, UAE
    Posts
    25
    Rep Power
    7

    Default

    I see the 901 error when I run the script manually (as root or any other user) but I don't see it when the script is executed by cron. I don't know about the "no message" error, but I'm guessing the email portion of the script isn't set-up quite right and you didn't receive a notification email on completion of a full backup?

    Christian

  7. #97
    Join Date
    Aug 2008
    Posts
    22
    Rep Power
    7

    Default

    No, I didn't receive any notification.

  8. #98
    Join Date
    Aug 2008
    Posts
    22
    Rep Power
    7

    Default

    So, there's no critic problem, and I can use safely the script ?

  9. #99
    Join Date
    Apr 2008
    Location
    Dubai, UAE
    Posts
    25
    Rep Power
    7

    Default

    Personally I'd want to get the email notification working so that I received the message that says "everything went okay" after a full backup is done, but if you're happy and the backup has worked, that's all that matters. I trust you have attempted a restore to make sure it worked? (the acid test of all backups).

  10. #100
    Join Date
    Aug 2008
    Posts
    22
    Rep Power
    7

    Default

    Me too...
    Now, the script send me an email, but empty:

    ./zmbac.sh: line 901: /backup/zimbra/dars/Backuplist-21-august-2008.txt.gz: Permission denied
    Null message body; hope that's ok

    Any idea ? Could it be cause I've run the script from the command line ?

    Tanks

Similar Threads

  1. Zimbra Backup Script ... Small Problem
    By frankb in forum Administrators
    Replies: 12
    Last Post: 07-14-2008, 09: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, 10:36 AM
  5. [SOLVED] Simple backup question...
    By dameron in forum Administrators
    Replies: 3
    Last Post: 08-25-2007, 10: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
  •