[CentOS] OT: Building NFS server with LVM and snapshots enabled

Fajar Priyanto fajarpri at cbn.net.id
Fri May 16 15:37:44 UTC 2008


On Friday 16 May 2008 19:50:37 carlopmart wrote:
>   - Is it possible to do some type of scripting to do data snapshots every
> day and then copy to a remote server?? Some example, please??
>   - How can I restore snapshot data on the production server if I need to
> recover it??
>   Openfiler or FreeNAS isn't an option to do this task (customer
> requeriment).

This is a script to backup LVM using snapshot from Zimbra. Pls take a look at 
it and you can easily adjust it to your needs.
http://www.arinet.org/zimbra-backup-lvm.sh.txt
HTH,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
22:32:39 up 39 min, 2.6.22-14-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zimbra-backup-lvm.sh
Type: application/x-shellscript
Size: 2003 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080516/a32e35bb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20080516/a32e35bb/attachment.sig>


More information about the CentOS mailing list