mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
[fix] restore from $final_path
This commit is contained in:
parent
4d2a047184
commit
e5c96518a3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue