HOT Backup and HOT Restore: Difference between revisions

Line 18: Line 18:
Inside the package look at the README for instructions.
Inside the package look at the README for instructions.


= Information =
= The ZMBKPOSE - OPENSOURCE =


The zmbkpose tool is a shell script that does hot backup and hot restore of ZCS Opensource accounts
The zmbkpose tool is a shell script that does hot backup and hot restore of ZCS Opensource accounts, GPL. It can run from any host in the net, which means that it can be set on a backup server already existent.


This tool DOES NOT DO disaster recovery.
It was concepted after Zimbra released ZCS 5.0.12, where a new import/export feature was exposed to user can be able to do his archiving. From that point it was clear for me that I just need to write a code to automatically get all user data from server, remotely via HTTP SOAP. Plus LDAP data. So, it is possible to run full backups and restore even deleted accounts.


It can run from any host in the net, which means that it can be set on a backup server already existent.
Till now, zmbkpose provides


It was concepted after Zimbra released ZCS 5.0.12, where a new import/export feature was exposed to user can be able to do his archiving.
* Full backup of all accounts;
* Full backup of any account;
* Incremental backup of all accounts;
* Incremental backup of any account;
* Lists all backup sessions done;
* Restore all contents (mail, contacts, appointments...) to any account;
* Restore deleted accounts back to directory and all of its contents;
* Restore only account attributes, like password, class of service;
* Configurable full simultaneously backup;


From that point it was clear for me that I just need to write a code to automatically get all user data from server, remotely via HTTP SOAP. Plus LDAP data.
This tool DOES NOT DO disaster recovery.


So, it is possible to run full backups and restore even deleted accounts.
= Dependencies =


In the version 1.0.0 of zmbkpose, the tool provides:
To run zmbkpose it is necessary


* Full backup of all accounts.
# Install ldap-utils e curl utils;
* Full backup of any account.
# Download de packages in realease section;
* Incremental backup of all accounts.
# Copy the Config file to /etc/zmbkpose/zmbkpose.conf;
* Incremental backup of any account.
# Copy the script to /usr/bin
* Lists all backup sessions done.
# Give script execute permissions
* Restore all contents (mail, contacts, appointments...) to any account.
# To see zmbkpose syntax, type just zmbkpose
* Restore deleted accounts back to directory and all of its contents.
* Restore only account attributes, like password, class of service, etc


To run zmbkpose it is necessary


# Install ldap-utils e curl utils
= ZMBKPOSE and Kyapanel
# Create /etc/zmbkpose
 
# Config /etc/zmbkpose/zmbkpose.conf file (bellow)
KyaPanel is a panel to provide easy management in Gnu/Linux servers, developed to increase the network administration. Two modules are included in this new version: E-mail Management and Samba Management.  
# Create the script from code bellow, giving execute permissions
# To see zmbkpose syntax, type just zmbkpose


Check out this amazing tool at  http://www.kyapanel.com
You can find more informations and instructions (in portuguese) at http://www.kyapanel.com/wiki/doku.php?id=zimbra:zmbkpose
You can find more informations and instructions (in portuguese) at http://www.kyapanel.com/wiki/doku.php?id=zimbra:zmbkpose




{{Article Footer|unknown|12/15/2009}}
{{Article Footer|Bruno Gurgel|12/15/2009}}


[[Category:Backup and Restore]]
[[Category:Backup and Restore]]
[[Category:ZCS 5.0]]
[[Category:ZCS 5.0]]
[[Category:ZCS 6.0]]
[[Category:ZCS 6.0]]

Revision as of 13:29, 27 October 2010

Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 5.0 Article ZCS 5.0 ZCS 6.0 Article ZCS 6.0


NOTE

ZMBKPOSE is a bash script to hot backup and hot restore Zimbra Collaboration Suite Opensource. ZMBKPOSE was first developed by Rubens Alonso Filho and improved by many other people.


Would be nice if we get some reports to be always improveing the tool,please contact bruno@4linux.com.br, rubens@4linux.com.br, alan.milani@4linux.com.br for bugs, suggestions and others.

Releases

1.0.0 - [Download]

1.0.5 - [Download]

Inside the package look at the README for instructions.

The ZMBKPOSE - OPENSOURCE

The zmbkpose tool is a shell script that does hot backup and hot restore of ZCS Opensource accounts, GPL. It can run from any host in the net, which means that it can be set on a backup server already existent.

It was concepted after Zimbra released ZCS 5.0.12, where a new import/export feature was exposed to user can be able to do his archiving. From that point it was clear for me that I just need to write a code to automatically get all user data from server, remotely via HTTP SOAP. Plus LDAP data. So, it is possible to run full backups and restore even deleted accounts.

Till now, zmbkpose provides

  • Full backup of all accounts;
  • Full backup of any account;
  • Incremental backup of all accounts;
  • Incremental backup of any account;
  • Lists all backup sessions done;
  • Restore all contents (mail, contacts, appointments...) to any account;
  • Restore deleted accounts back to directory and all of its contents;
  • Restore only account attributes, like password, class of service;
  • Configurable full simultaneously backup;

This tool DOES NOT DO disaster recovery.

Dependencies

To run zmbkpose it is necessary

  1. Install ldap-utils e curl utils;
  2. Download de packages in realease section;
  3. Copy the Config file to /etc/zmbkpose/zmbkpose.conf;
  4. Copy the script to /usr/bin
  5. Give script execute permissions
  6. To see zmbkpose syntax, type just zmbkpose


= ZMBKPOSE and Kyapanel

KyaPanel is a panel to provide easy management in Gnu/Linux servers, developed to increase the network administration. Two modules are included in this new version: E-mail Management and Samba Management.

Check out this amazing tool at http://www.kyapanel.com You can find more informations and instructions (in portuguese) at http://www.kyapanel.com/wiki/doku.php?id=zimbra:zmbkpose


Verified Against: Bruno Gurgel Date Created: 12/15/2009
Article ID: https://wiki.zimbra.com/index.php?title=HOT_Backup_and_HOT_Restore Date Modified: 2010-10-27



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search