From f35e23d144be8ffa92d0c637092cea2f854c7dc0 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 16 Jun 2013 15:11:30 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f39226f..48acbec 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ obackup ======= -A file & database backup script tailored for multiple virtualhost backups locally or remotely via ssh. -Yet it actually works for a lot of backup tasks. +A small robust file & database backup script tailored for multiple virtualhost backups locally or remotely via ssh. +Yet it is very versatile and actually works for a lot of backup tasks. ## About @@ -23,9 +23,14 @@ checking backup size and available local disk space. Obackup will work well to backup to a snapshot aware filesystem like ZFS or btrfs. In case you don't work with one of these, it may also rotate backups for you. +Obackup can execute local and remote commands before and after backup execution, thus providing possibilites to handle snapshots (see https://github.com/deajan/zsnap for a zfs snapshot management script). + As of today, obackup has been tested successfully on RHEL / CentOS 5, CentOS 6, Debian 6.0.7 and Linux Mint 14 -but should basically run on your favorite linux flavor. It relies on well known programs like rsync, ssh, mysqldump along -with other great GNU coreutils. +but should basically run on your favorite linux flavor. It relies on well known programs like rsync, ssh, mysqldump along with other great GNU coreutils. + +Project is customizable, and one can easily modify its code as it weights only 1 KLOC. Obackup is distributed under BSD Licence which gives most freedom to include it in your own code. + +Feel free to drop me a mail for limited support in my free time. ## Installation From a8e352acfd9e905127e08c3b7a0b3694c09a5e45 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 16 Jun 2013 14:27:45 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48acbec..a67fa1d 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,8 @@ File backups can be done directly if data won't change while a backup is going o You may try your setup by specifying the "--dry" parameter which will run a simulation of what will be done. - $ ./obackup.sh path/to/config/file --dry - $ ./obackup.sh path/to/config/file + $ ./obackup.sh path/to/backup.conf --dry + $ ./obackup.sh path/to/backup.conf One you're happy with a test run, you may run obackup as a cron task with the "--silent" parameter so output will not be written to stdout. All backup activity is logged to "/var/log/obackup_backupname.log".