Explorar o código

Updating readme

Sebastian Vendt hai 1 ano
pai
achega
83bc8f54e7
Modificáronse 2 ficheiros con 15 adicións e 5 borrados
  1. 3 2
      Readme.md
  2. 12 3
      postgresqlBackup/Readme.md

+ 3 - 2
Readme.md

@@ -2,7 +2,8 @@
 This repository contains several scripts to manage backups. 
 
 # backupMgr
-This is the core component, syncing several (remote) source folder with local backup folders
+This is the core component, syncing several (remote) source folder with local backup folders.
 
-# joplinBackup
+# postgresqlBackup
+Creating dumps of postgresql databases running in Docker container. 
 

+ 12 - 3
postgresqlBackup/Readme.md

@@ -1,10 +1,19 @@
 # Backing up Postgresql databases running in Docker container
 ## Configuration
-Please create a configuration file which defines the following variables. ```
+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 
-* * * root /root/scripts/backup/postgresqlBackup/backup_postgresql /root/scripts/backup/postgresqlBackup/joplinBackup.conf ```
+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 * * * root /root/scripts/backup/postgresqlBackup/backup_postgresql /root/scripts/backup/postgresqlBackup/joplinBackup.conf
+```