|
@@ -4,5 +4,11 @@
|
|
|
|
|
|
echo 'Backing up jovian platform ...'
|
|
|
|
|
|
+# Backup postgres dbs
|
|
|
+sudo -u postgres pg_dump kanboard_db > kanboard_dumpfile
|
|
|
+sudo -u postgres pg_dump wiki_db > wiki_dumpfile
|
|
|
+
|
|
|
+# Backup all postgres just in case
|
|
|
+sudo -u postgres pg_dumpall > dumpfile
|
|
|
|
|
|
echo 'End'
|