2 |
soulskater |
1 |
oZimBackup v1.0.0
|
|
|
2 |
-----------------
|
|
|
3 |
|
|
|
4 |
1. About.
|
|
|
5 |
2. Requirements.
|
|
|
6 |
3. Installation.
|
|
|
7 |
4. Backup Scheduling.
|
|
|
8 |
5. Support.
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
1. About.
|
|
|
12 |
---------
|
|
|
13 |
oZimbraBackup is a backup script for Zimbra Collaboration Suite - Open Source Edition.
|
|
|
14 |
|
|
|
15 |
The main functionality is the ability to take different types of backup and sending them off site.
|
|
|
16 |
|
|
|
17 |
The script has the following features:
|
|
|
18 |
* Full backup.
|
|
|
19 |
* Differential backup.
|
|
|
20 |
* Full message store backup.
|
|
|
21 |
* Differential message store backup.
|
|
|
22 |
* Backup packaging.
|
|
|
23 |
* Off site transfer via SCP or FTP.
|
|
|
24 |
* Logging with log file rotation.
|
|
|
25 |
|
|
|
26 |
The script is pre-configured with some basic options. Open up the script in a text editor of your choice and change the options to suite your needs.
|
|
|
27 |
|
|
|
28 |
The script has been tested with version 6.0.6 of Zimbra Collaboration Suite - OSE but should even work with the latest 5.x OSE branch.
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
2. Requirements.
|
|
|
32 |
----------------
|
|
|
33 |
This script utilize rsync, tar & gzip for basic functionality but needs scp, ftp & expect for file transfers.
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
3. Installation.
|
|
|
37 |
----------------
|
|
|
38 |
To install this script, simply put it where you want it and add it to crontab, make sure it is executable.
|
|
|
39 |
You can make it executable by doing this as root:
|
|
|
40 |
|
|
|
41 |
chmod +x oZimBackup.sh
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
4. Backup Scheduling.
|
|
|
45 |
---------------------
|
|
|
46 |
The scheduling of backups is highly individual depending on server load, amount of users a.s.o.
|
|
|
47 |
Some possible examples of scheduling with crontab:
|
|
|
48 |
|
|
|
49 |
# m h dom mon dow command
|
|
|
50 |
00 3 * * * /opt/scripts/oZimbraBackup.sh --full > /dev/null 2>&1
|
|
|
51 |
00 12 * * * /opt/scripts/oZimbraBackup.sh --msg-full > /dev/null 2>&1
|
|
|
52 |
00 6,16,23 * * * /opt/scripts/oZimbraBackup.sh --msg-diff > /dev/null 2>&1
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
5. Support.
|
|
|
56 |
-----------
|
|
|
57 |
Visit us at http://dev.osource.se/ for support and bug reporting.
|