]> git.parisson.com Git - mezzo.git/commitdiff
update DB and media
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 8 Jul 2016 10:38:28 +0000 (12:38 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 8 Jul 2016 10:38:28 +0000 (12:38 +0200)
scripts/restore_db.sh

index ad8f18bf44f73ab45fe5766d72caa39d05281837..cd529b9575f776214a0ccfaa019d1f27ca2fceb7 100755 (executable)
@@ -2,6 +2,6 @@
 
 export PGPASSWORD=$POSTGRES_PASSWORD
 
-pg_restore --clean -Fc -hdb -Upostgres -d postgres /srv/backup/ircam-www.dump
+pg_restore -c -Fc -hdb -Upostgres -dpostgres /srv/backup/ircam-www.dump
 
 echo "Restore done!"