A small contribution with a set a ftp variable to run on a script
This commit is contained in:
parent
7bab9666f8
commit
582416f2e6
2 changed files with 8 additions and 0 deletions
|
|
@ -104,6 +104,11 @@ DEST="s3+http://backup-bucket/backup-folder/"
|
||||||
#DEST="ssh://user[:password]@other.host[:port]/[/]some_dir"
|
#DEST="ssh://user[:password]@other.host[:port]/[/]some_dir"
|
||||||
#DEST="file:///home/foobar_user_name/new-backup-test/"
|
#DEST="file:///home/foobar_user_name/new-backup-test/"
|
||||||
|
|
||||||
|
# FTP PASSWORD
|
||||||
|
# If you want to set a ftp password without a ftp:// you can to set a password
|
||||||
|
# in a FTP_PASSWORD
|
||||||
|
#FTP_PASSWORD="your_ftp_password"
|
||||||
|
|
||||||
# INCLUDE LIST OF DIRECTORIES
|
# INCLUDE LIST OF DIRECTORIES
|
||||||
# Here is a list of directories to include; if you want to include
|
# Here is a list of directories to include; if you want to include
|
||||||
# everything that is in root, you could leave this list empty (I think).
|
# everything that is in root, you could leave this list empty (I think).
|
||||||
|
|
|
||||||
|
|
@ -159,6 +159,9 @@ export AWS_ACCESS_KEY_ID
|
||||||
export AWS_SECRET_ACCESS_KEY
|
export AWS_SECRET_ACCESS_KEY
|
||||||
export PASSPHRASE
|
export PASSPHRASE
|
||||||
export SIGN_PASSPHRASE
|
export SIGN_PASSPHRASE
|
||||||
|
if [[ -n "$FTP_PASSWORD" ]]; then
|
||||||
|
export FTP_PASSWORD
|
||||||
|
fi
|
||||||
|
|
||||||
LOGFILE="${LOGDIR}${LOG_FILE}"
|
LOGFILE="${LOGDIR}${LOG_FILE}"
|
||||||
DUPLICITY="$(which duplicity)"
|
DUPLICITY="$(which duplicity)"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue