[fix] Restore with psql
This commit is contained in:
parent
d898b11074
commit
67a35b2ff2
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ RAILS_ENV=production bin/bundle exec rails assets:precompile
|
|||
RCOMMANDS
|
||||
|
||||
# restore database
|
||||
sudo pg_dump mastodon_production < $YNH_APP_BACKUP_DIR/mastodon_db.sql
|
||||
sudo psql mastodon_production < $YNH_APP_BACKUP_DIR/mastodon_db.sql
|
||||
|
||||
# Create symlink for ruby
|
||||
sudo ln -s /opt/mastodon/.rbenv/versions/2.4.1/bin/ruby /usr/bin/ruby || true
|
||||
|
|
|
|||
Loading…
Reference in a new issue