diff options
| author | nemsia <nemsia@nemsia.org> | 2017-05-01 15:07:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-01 15:07:21 +0200 |
| commit | e5c96518a349afbc72f2ded47137bf98e065a4fa (patch) | |
| tree | b095b2b6c490f91439328e90b9cf0a62a420c104 /scripts/restore | |
| parent | 4d2a04718467990fc1444ed1972e255323a8597e (diff) | |
| download | mastodon_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/restore | 2 |
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 |
