Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
25954d5178 | |||
87f3bca955 | |||
7c3eb9ed24 |
12
README.md
12
README.md
@ -1,2 +1,10 @@
|
||||
# simple_backup
|
||||
A simple backup script using rsync
|
||||
# simple-backup
|
||||
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.
|
||||
|
@ -373,6 +373,8 @@ if [[ ! -z "$INPUTS" ]]; then
|
||||
sort "$INPUTS" -o "$INPUTS"
|
||||
fi
|
||||
|
||||
echo "Copying files. This may take a long time..."
|
||||
|
||||
if [[ -z "$LAST_BACKUP" ]]; then
|
||||
rsync -acrv -H -X -R --exclude-from="$EXCLUDE" --files-from="$INPUTS" / "$BACKUP_DIR" --ignore-missing-args >> $LOG 2>> $ERR
|
||||
else
|
||||
|
Reference in New Issue
Block a user