mirror of
https://github.com/deajan/obackup.git
synced 2025-02-05 19:03:50 +01:00
Fixing the horrible typo
This commit is contained in:
parent
dd9d3dc982
commit
9b0e673ee0
@ -140,7 +140,7 @@ HARD_MAX_EXEC_TIME_FILE_TASK=7200
|
|||||||
PARTIAL=no
|
PARTIAL=no
|
||||||
|
|
||||||
## Delete files on destination that vanished from source. Do not turn this on unless you enabled backup rotation or a snapshotting FS like zfs to keep those vanished files on the destination.
|
## Delete files on destination that vanished from source. Do not turn this on unless you enabled backup rotation or a snapshotting FS like zfs to keep those vanished files on the destination.
|
||||||
DELETE_VANSIHED_FILES=no
|
DELETE_VANISHED_FILES=no
|
||||||
|
|
||||||
## ---------- ALERT OPTIONS
|
## ---------- ALERT OPTIONS
|
||||||
|
|
||||||
|
10
obackup.sh
10
obackup.sh
@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
###### Remote (or local) backup script for files & databases
|
###### Remote (or local) backup script for files & databases
|
||||||
###### (L) 2013 by Orsiris "Ozy" de Jong (www.netpower.fr)
|
###### (L) 2013-2015 by Orsiris "Ozy" de Jong (www.netpower.fr)
|
||||||
AUTHOR="(L) 2013-2014 by Orsiris \"Ozy\" de Jong"
|
AUTHOR="(L) 2013-2015 by Orsiris \"Ozy\" de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.84RC4
|
PROGRAM_VERSION=1.84RC4
|
||||||
PROGRAM_BUILD=0801201501
|
PROGRAM_BUILD=0801201502
|
||||||
|
|
||||||
## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode
|
## type doesn't work on platforms other than linux (bash). If if doesn't work, always assume output is not a zero exitcode
|
||||||
if ! type -p "$BASH" > /dev/null
|
if ! type -p "$BASH" > /dev/null
|
||||||
@ -1280,7 +1280,7 @@ function Init
|
|||||||
RSYNC_EXCLUDE="$RSYNC_EXCLUDE --exclude=\"$PARTIAL_DIR\""
|
RSYNC_EXCLUDE="$RSYNC_EXCLUDE --exclude=\"$PARTIAL_DIR\""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "DELETE_VANSIHED_FILES" == "yes" ]
|
if [ "DELETE_VANISHED_FILES" == "yes" ]
|
||||||
then
|
then
|
||||||
SYNC_OPTS=$SYNC_OPTS" --delete"
|
SYNC_OPTS=$SYNC_OPTS" --delete"
|
||||||
fi
|
fi
|
||||||
@ -1477,7 +1477,7 @@ do
|
|||||||
no_maxtime=1
|
no_maxtime=1
|
||||||
;;
|
;;
|
||||||
--delete)
|
--delete)
|
||||||
DELETE_VANSIHED_FILES="yes"
|
DELETE_VANISHED_FILES="yes"
|
||||||
;;
|
;;
|
||||||
--help|-h|--version|-v)
|
--help|-h|--version|-v)
|
||||||
Usage
|
Usage
|
||||||
|
Loading…
Reference in New Issue
Block a user