|
@@ -6,7 +6,7 @@ echo 'Backing up jovian platform ...'
|
|
|
|
|
|
# Backup all postgres just in case
|
|
|
echo 'Backing up PostgreSQL ...'
|
|
|
-sudo -u postgres pg_dumpall > dumpfile
|
|
|
+sudo -u postgres pg_dumpall > /home/jovian/Local/Backup/Postgres/dumpfile
|
|
|
echo 'PostgreSQL done.'
|
|
|
|
|
|
echo 'Backing up GOGS ...'
|
|
@@ -16,12 +16,12 @@ sudo chown jovian:jovian /home/jovian/Local/Backup/Gogs/gogs-backup-2*
|
|
|
echo 'GOGS done.'
|
|
|
|
|
|
echo 'Backing up KANBOARD ...'
|
|
|
-sudo -u postgres pg_dump kanboard_db > kanboard_dumpfile
|
|
|
+sudo -u postgres pg_dump kanboard_db > /home/jovian/Local/Backup/Postgres/kanboard_dumpfile
|
|
|
echo 'KANBOARD done.'
|
|
|
|
|
|
echo 'Backing up WIKI ...'
|
|
|
echo '> wiki db ...'
|
|
|
-sudo -u postgres pg_dump wiki_db > wiki_dumpfile
|
|
|
+sudo -u postgres pg_dump wiki_db > /home/jovian/Local/Backup/Postgres/wiki_dumpfile
|
|
|
|
|
|
echo '> wiki files ...'
|
|
|
tar chf /home/jovian/Local/Backup/Wiki/mediawiki.tar /var/www/mediawiki
|