|
1 year ago | |
---|---|---|
.. | ||
Readme.md | 1 year ago | |
backup_postgresql | 1 year ago |
Please create a configuration file which defines the following variables.
#Where to put the sql dumps
backupFilepath="/var/joplin/postgresql_backup/"
#How many dumps shall be kept
rotationDays=7
#Database settings
dockerContainerName=docker_postgresql dbUser=joplin dbPasswd=123456789 dbName=joplin
Pass this configuration file as parameter to the script. To automate the backup job, I recommend to put the script in your crontab: ``` 50 2