Browse Source

Add mediawiki files in backup script

DricomDragon 5 years ago
parent
commit
69daefebd3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      ServerScripts/Backup/j7backalllocal

+ 3 - 0
ServerScripts/Backup/j7backalllocal

@@ -16,4 +16,7 @@ sudo -u postgres pg_dump wiki_db > wiki_dumpfile
 # Backup all postgres just in case
 sudo -u postgres pg_dumpall > dumpfile
 
+# Backup wiki
+tar cvhf /home/jovian/Local/Backup/Wiki/mediawiki.tar /var/www/mediawiki
+
 echo 'End'