F: Create intermediate directories for backup
This commit is contained in:
parent
b90312868c
commit
532bf24df6
|
@ -13,7 +13,7 @@ DESTINATION="${BACKUP_LOCATION}/${DATE_FORMATTED}"
|
|||
|
||||
ensure_location() {
|
||||
rm -rf $DESTINATION
|
||||
mkdir $DESTINATION
|
||||
mkdir -p $DESTINATION
|
||||
}
|
||||
|
||||
dump_postgre() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user