You Here : Home > Linux

vbackup 0.1.6

OS Support:


Publisher Old version


July 28 2011


vbackup 0.1.6


vbackup is a modular program that performs easy system backups. vbackup is a software that performs easy system backups. It can be extended by user scripts and can be fully configured to fit a system needs. vbackup can be customized to perform full or incremental backups where they are supported.vbackups consists of a set of scripts (modules) that handle various aspects of a backup. Currently it supports:· Filesystem Backup using tar· XFS backup using xfsdump· PostgreSQL database backup· MySQL database backup· Debian package list backupIt can store the backups to a local or a remote NFS partition that may be mounted on-demand.All of vbackup behaviour can be fully extended and other methods can be easily added.Debian users: you may consider using the packaged version. Just add this to your /etc/apt/sources.list:deb unstable main and install it using:apt-get update ; apt-get install vbackupYou may get the key by running:wget -q -O - | apt-key add - apt-get updateRequirements:· GNU find· GNU tar - for the tar method· xfsdump - for the xfsdump methodInstallation:# ./configure --sysconfdir=/etc# make# make installThis will install vbackup to /usr/local and assume the configuration files willbe placed at /etc/vbackupUsage:For usage run:# vbackup --helpFor a list of backup methods (scripts) run:# vbackup --listTo get some information about a module run:# vbackup --help < module >example:# vbackup --help xfsdumpSetup:Let's assume you want to· Backup to an NFS mounted space· Perform backup of two partitions using xfsdump (full and incremental)· Perform backup of directories using tar (full and incremantal)· Perform mysql and pgsql backup1. Go to /etc/vbackup and create a folder named rc.d. This will hold all the configuration scripts.2. Copy from the samples directory ($prefix/share/vbackup/samples) the following scripts to rc.d:· sample.nfsmount· sample.umount· sample.xfsdump· sample.mysql· sample.pgsql· sample.umount3. Rename sample.nfsmount to remote.nfsmount. (Any name with the extension .nfsmount will do) and edit it. Change the values of the variables to fit your needs.4. Rename sample.umount to remote.umount and edit it. Just set the mountpoint to umount.5. Rename sample.mysql to full.mysql and edit it. Read the note at the top of the script and set variables as needed.6. Rename sample.pgsql to full.pgsql and edit it.7. Copy sample.tar to level0.tar an edit it. Set the level to 08. Rename sample.tar to level5.tar and edit it. Set the level to 59. Copy sample.xfsdump to level0.xfsdump and edit it. Set the level to 010. Rename xfsdump to level5.xfsdump and edit it. Set the level to 511. Create two directories named backup.0 and backup.5 under /etc/vbackup12. Enter backup.0 and create softlinks to the desired configuration files: # ln -s ../rc.d/remote.nfsmount 00-remote.nfsmount # ln -s ../rc.d/remote.umount 99-remote.umount # ln -s ../rc.d/full.mysql 10-full.mysql # ln -s ../rc.d/full.pgsql 10-full.pgsql # ln -s ../rc.d/level0.tar 20-level0.tar # ln -s ../rc.d/level0.xfsdump 30-level0.xfsdump13. Enter backup.1 and create softlinks: # ln -s ../rc.d/remote.nfsmount 00-remote.nfsmount # ln -s ../rc.d/remote.umount 99-remote.umount # ln -s ../rc.d/level5.tar 20-level5.tar # ln -s ../rc.d/level5.xfsdump 30-level5.xfsdump14. Copy to backup.0 and backup.1 the vbackup.conf.sample from the samples directory. Rename it to vbackup.conf and edit it as needed.15. Check the configuration using: # vbackup --check 0 # vbackup --check 5To perform level 0 backup run# vbackup 0To perform level 5 backup run# vbackup 5How it works:When you run:# vbackup 0The script enters directory /etc/vbackup/backup.0 and searches for files named XX-name.module, where < XX > is a number and < module > is a backup module/method.All configurations are examined in an alphabetical order, so that the < XX >prefix may be used to indicate the order. For each configuration file,coresponding module (< module >) is executed using the configuration fileoptions. A module may be used from zero to many times.This way you'll have to create configuration files once and perform varioustypes of backups, depending on your needs.The verbosity of the backup procedure may be controlled using the -d parameter.Level 7 is recommended.Available modules:The following modules are available:· mount: Mount a partition· nfsmount: Mount an NFS share· umount: Umount a partition· tar: Perform filesystem backup using GNU tar· xfsdump: Perform filesystem backup using xfsdump· mysql: Dump mysql databases· pgsql: Dump pgsql databases

Related Downloads

Software Tags

Vbackup | Vbackup 0.1.6 | Vbackup Free Download | Vbackup Reviews | Download Vbackup

Size :