While setting up duply for backup I am facing the following problem:
Duply should backup a directory (/ruby-webapps/webapp-map/postgesqldata) to another local backup directory(/backup/webapp_database).
For setting up the config I used puppet which generated following duply config:
/etc/duply/webapp_database/conf
GPG_KEY='disabled'
GPG_KEY_SIGN='disabled'
TARGET='file:///backup/webapp_database'
TARGET_USER='root'
TARGET_PASS=''
SOURCE='/'
MAX_FULL_BACKUPS=4
MAX_FULLBKP_AGE=7D
DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "
VOLSIZE=50
DUPL_PARAMS="$DUPL_PARAMS --volsize $VOLSIZE
"
/etc/duply/webapp_database/exclude:
+ /ruby-webapps/webapp-map/postgesqldata
- **
After running:
duply lberg_database cleanup_backup_purgeFull --force
In the home dir of the backup user the backup is created at: @root:/backup/webapp_database
How can I backup to /backup/webapp_database?