Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Zimbra opensource Hot backup and restore

  1. #1
    shashikant is offline Junior Member
    Join Date
    Jun 2012
    Posts
    9
    Rep Power
    2

    Thumbs up Zimbra opensource Hot backup and restore

    Dear All,
    I have successfully taken hot backup and restore of zimbra open source 7.2.0
    Please find the steps

    Setp 1

    vi /etc/zmbkpose.conf and paste bellow script
    Note:- please type correct zimbra admin user credentials and zimbra ldap root password and IP

    # Config file for Zimbra Opensource Edition backup script
    # Lines starting with # will be ignored
    # Values must be filled without spaces, quotes or special characters

    # User with privileges to run the script and read and write in the working directory

    # TODO: PORTA=[HTTP|HTTPS|ADMIN|OUTRA]

    BACKUPUSER=zimbra

    # Working directory where temporary and definitive sessions will be created, containing users's content and attributes
    # # Sensitive content. Directory *must* have restricted access to BACKUPUSER

    WORKDIR=/opt/zimbra/backup

    # Mailbox Serve Name or IP address
    # This value will be get by zimbraMailHost attribute of each account, providing mailboxes in a distributed deployment
    # Only set this parameter if you are forcing restore on a server other than the original
    # MAILBOXSERVERNAME=

    # Must be filled with User Global Administrator's e-mail, possibly admin@example.com
    # TIP: If Administrator account is unknown or nonexistent, one must be created through Zimbra server's command line
    # # zmprov ca novoadmin@exemplo.com "senha"
    # # zmprov ma novoadmin@exemplo.com zimbraIsAdminAccount TRUE

    ADMINUSER=admin

    # Deve ser preenchido com a senha do usuario administrador definido em ADMINUSER
    # Must be filled with the User Global Administrator's password defined in ADMINUSER

    ADMINPASS=secret

    # Must be filled with URL of LDAP MASTER

    LDAPMASTERSERVER=ldap://192.168.0.107:389

    # Must be filled with zimbra_ldap_userdn key value
    # TIP: To get this value, execute on Zimbra Server
    # # zmlocalconfig zimbra_ldap_userdn

    LDAPZIMBRADN=uid=zimbra,cn=admins,cn=zimbra

    # Must be filled with zimbra_ldap_password key value
    # TIP: To get this value, execute on Zimbra Server
    # # zmlocalconfig -s zimbra_ldap_password

    LDAPZIMBRAPASS=Hg_lfSEA

    # Path to backup and restore log file

    LOGFILE=/opt/zimbra/log/backup.log

    # Support to parallel accounts backup
    #PARALLEL_SUPPORT - 0 = Off 1 = On
    PARALLEL_SUPPORT=0

    # Max simultaneous processes - if PARALLEL_SUPPORT=1
    # 2 - 5
    MAX_PARALLEL_PROCESS=3

  2. #2
    halley is offline Senior Member
    Join Date
    Sep 2008
    Location
    Brazil
    Posts
    50
    Rep Power
    6

    Default

    Friend,

    and where the backup is saved? I did not see option to save the backup to another machine on the network.
    if my zimbra server dies I can install on another machine and restore all accounts?

    thank you friend

  3. #3
    shashikant is offline Junior Member
    Join Date
    Jun 2012
    Posts
    9
    Rep Power
    2

    Default

    Dear Friend
    i will send document

  4. #4
    yaboc is offline New Member
    Join Date
    Feb 2009
    Posts
    4
    Rep Power
    6

    Default

    dear god. please complete the post.

  5. #5
    rtoliveira is offline New Member
    Join Date
    Jun 2011
    Posts
    4
    Rep Power
    3

    Default

    I downloaded the src from https://github.com/bggo/Zmbkpose . It seems works fine! I will test it next days.

  6. #6
    bma
    bma is offline Intermediate Member
    Join Date
    Jun 2009
    Posts
    18
    Rep Power
    5

    Default

    Quote Originally Posted by rtoliveira View Post
    I downloaded the src from https://github.com/bggo/Zmbkpose . It seems works fine! I will test it next days.
    Please report back your test result.
    Thanks

  7. #7
    rtoliveira is offline New Member
    Join Date
    Jun 2011
    Posts
    4
    Rep Power
    3

    Default

    Quote Originally Posted by bma View Post
    Please report back your test result.
    Thanks
    Dear bma,

    these scripts worked fine until now! We are using it in backup and restore procedures successfully!
    My environment: ~20000 accounts (mailbox size ranging between 1GB and 10GB) distributed along 6 mailbox servers.

    []'s

    Rommel Oliveira

  8. #8
    bma
    bma is offline Intermediate Member
    Join Date
    Jun 2009
    Posts
    18
    Rep Power
    5

    Default

    Quote Originally Posted by rtoliveira View Post
    Dear bma,

    these scripts worked fine until now! We are using it in backup and restore procedures successfully!
    My environment: ~20000 accounts (mailbox size ranging between 1GB and 10GB) distributed along 6 mailbox servers.

    []'s

    Rommel Oliveira
    Thanks a lot for your reply Rommel.
    I will try the script.

    Regards,
    bma

  9. #9
    ymarinov is offline Active Member
    Join Date
    Jul 2012
    Posts
    37
    Rep Power
    2

    Default

    I think that this script is working pretty fine (testing it on 8.0.0 on CentOS 6.3 x64). There is only one thing that I miss: once a mailbox is restored, it seems that the preferences for this mailbox are not restored (i.e. message filters, sms reminder settings, signatures)

    Is there any way to backup user's preferences for their mailbox as well?

  10. #10
    rtoliveira is offline New Member
    Join Date
    Jun 2011
    Posts
    4
    Rep Power
    3

    Default

    Did you try to restore user preferences using ldif backups?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zmBackMind : Backup and Restore Zimbra OSE
    By julienVM in forum Developers
    Replies: 1
    Last Post: 12-08-2008, 04:46 AM
  2. backup/restore on ZCS OpenSource edition
    By tiger2000 in forum Administrators
    Replies: 3
    Last Post: 11-16-2008, 11:33 PM
  3. Backup and restore in Zimbra opensource
    By rajeshkodali in forum Installation
    Replies: 5
    Last Post: 12-18-2007, 12:58 PM
  4. Problem with Zimbra Backup/Restore
    By kevindods in forum Administrators
    Replies: 2
    Last Post: 05-17-2006, 10:58 PM
  5. Restore Zimbra backup data ?
    By vpoorboy in forum Administrators
    Replies: 5
    Last Post: 02-21-2006, 09:06 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
  •