1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

[fix] restore from $final_path

This commit is contained in:
nemsia 2017-05-01 15:07:21 +02:00 committed by GitHub
parent 4d2a047184
commit e5c96518a3

View file

@ -110,7 +110,7 @@ sudo chmod a+r $final_path/mastodon_db.sql
sudo su - $app <<RECOMMANDS sudo su - $app <<RECOMMANDS
dropdb mastodon_production dropdb mastodon_production
createdb mastodon_production createdb mastodon_production
psql mastodon_production < $YNH_APP_BACKUP_DIR/mastodon_db.sql psql mastodon_production < $final_path/mastodon_db.sql
RECOMMANDS RECOMMANDS
# Remove dump # Remove dump