3 Commits
1.3 ... 1.3.1

Author SHA1 Message Date
25954d5178 Fix notifications 2017-05-26 17:27:41 +02:00
87f3bca955 Merge branch 'development'
Fix notifications
2017-03-11 21:06:22 +01:00
7c3eb9ed24 Update README.md 2015-12-08 11:32:45 +01:00
2 changed files with 12 additions and 2 deletions

View File

@ -1,2 +1,10 @@
# simple_backup # simple-backup
A simple backup script using rsync A simple backup script
## Description
simple-backup is just a bash script that allows you to backup your files.
It reads from a configuration file the files/directories that must be copied,
the destination directory for the backup and a few other options.
## Dependencies
rsync is used to perform the backup.

View File

@ -373,6 +373,8 @@ if [[ ! -z "$INPUTS" ]]; then
sort "$INPUTS" -o "$INPUTS" sort "$INPUTS" -o "$INPUTS"
fi fi
echo "Copying files. This may take a long time..."
if [[ -z "$LAST_BACKUP" ]]; then if [[ -z "$LAST_BACKUP" ]]; then
rsync -acrv -H -X -R --exclude-from="$EXCLUDE" --files-from="$INPUTS" / "$BACKUP_DIR" --ignore-missing-args >> $LOG 2>> $ERR rsync -acrv -H -X -R --exclude-from="$EXCLUDE" --files-from="$INPUTS" / "$BACKUP_DIR" --ignore-missing-args >> $LOG 2>> $ERR
else else