aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-05-01 15:07:21 +0200
committerGitHub <noreply@github.com>2017-05-01 15:07:21 +0200
commite5c96518a349afbc72f2ded47137bf98e065a4fa (patch)
treeb095b2b6c490f91439328e90b9cf0a62a420c104 /scripts/restore
parent4d2a04718467990fc1444ed1972e255323a8597e (diff)
downloadmastodon_ynh-e5c96518a349afbc72f2ded47137bf98e065a4fa.tar.gz
mastodon_ynh-e5c96518a349afbc72f2ded47137bf98e065a4fa.tar.bz2
mastodon_ynh-e5c96518a349afbc72f2ded47137bf98e065a4fa.zip
[fix] restore from $final_path
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/restore b/scripts/restore
index a47ca7c..946a62b 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -110,7 +110,7 @@ sudo chmod a+r $final_path/mastodon_db.sql
sudo su - $app <<RECOMMANDS
dropdb mastodon_production
createdb mastodon_production
-psql mastodon_production < $YNH_APP_BACKUP_DIR/mastodon_db.sql
+psql mastodon_production < $final_path/mastodon_db.sql
RECOMMANDS
# Remove dump