From ee5a770e18e7a3f7ac9e427443580e3bb6364da6 Mon Sep 17 00:00:00 2001 From: deajan Date: Fri, 24 Apr 2015 21:23:04 +0200 Subject: [PATCH] Added some scripts from osync project --- CHANGELOG.md | 1 + exclude.list.example | 7 +++++++ install.sh | 14 ++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 exclude.list.example create mode 100755 install.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 174a16f..379fd0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ UNDER WORK CHANGELOG --------- +- Added basic install script from osync project - Added obackup-batch.sh from osync project to rerun failed backups in row - Delta copy algorithm is now used even for local copies (usefull for network drives), this can be overriden in config file - Added --dontgetsize parameter to backup huge systems immediatly diff --git a/exclude.list.example b/exclude.list.example new file mode 100644 index 0000000..08813fc --- /dev/null +++ b/exclude.list.example @@ -0,0 +1,7 @@ +.AppleDouble/ +._* +.DS_Store +Thumbs.db +System Volume Information +$Recycle.Bin + diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..eb316c9 --- /dev/null +++ b/install.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +SCRIPT_BUILD=2404201501 + +## Obackup install script +## Tested on RHEL / CentOS 6 & 7 +## Please adapt this to fit your distro needs + +mkdir /etc/obackup +cp ./host_backup.conf /etc/obackup/host_backup.conf.example +cp ./exclude.list.example /etc/obackup +cp ./obackup.sh /usr/local/bin +cp ./obackup-batch.sh /usr/local/bin +