-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL
30 lines (19 loc) · 1.58 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
zimbra-lvm-backup
=================
Script to backup Zimbra on a dedicated LVM logical volumn.
This INSTALL would tell you how to use the program.
## Pre-conditions:
* The script initialized to use with Zimbra installed in default folder /opt/zimbra onto a dedicated LVM logical volumn
## For using the script zimbra-lvm-rsync-backup.sh
* Step 1. Check out the script zimbra-lvm-rsync-backup.sh and put it into your convenience location, e.g. /opt/zimbra/libexec/
* Step 2. Set it executable mod: chmod +x /opt/zimbra/libexec/zimbra-lvm-rsync-backup.sh
* Step 3: Create/setup backup folders where incremental backups and full backup stored, e.g:
- /opt/zimbra/backup/zimbra-incremental-backups for the incrmental backups path
- /backup/zimbra/zimbra-full-backup for the full backup path
- Note: The 2 above dirs are located at 2 different loacations (you can change for your needs)
* Step 4: Create a new cronjob for new scheduled backupi, e.g. run "crontab -e"; then add a new line: "0 3 * * * /opt/zimbra/libexec/zimbra-lvm-rsync-backup.sh" to set it runs everyday at 3:00 AM
## For using the script zimbra-lvm-backup.sh
* Step 1. Check out the script zimbra-lvm-backup.sh and put it into your convenience location, e.g. /opt/zimbra/libexec/
* Step 2. Set it executable mod: chmod +x /opt/zimbra/libexec/zimbra-lvm-backup.sh
* Step 3: Create/setup backup folder where backups stored, e.g /home/backup/zimbra
* Step 4: Create a new cronjob for new scheduled backupi, e.g. run "crontab -e"; then add a new line: "0 3 * * * /opt/zimbra/libexec/zimbra-lvm-rsync-backup.sh" to set it runs everyday at 3:00 AM