瀏覽代碼

Add postgres authentication postgres

As postgres is a super user, it's likely it doesn't work.
DricomDragon 5 年之前
父節點
當前提交
8c51f57796
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CommonScripts/j7back

+ 1 - 1
CommonScripts/j7back

@@ -4,6 +4,6 @@
 
 echo 'Backing up jovian platform ...'
 
-ssh -p 7025 jovian-hersemeule.eu 'pg_dumpall > /home/jovian/LocalDocs/BackupPostgres/dumpfile'
+ssh -p 7025 jovian-hersemeule.eu 'pg_dumpall --username=postgres --no-password > /home/jovian/LocalDocs/BackupPostgres/dumpfile'
 
 echo 'End'