diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-29 23:53:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-29 23:53:33 +0200 |
| commit | 67a35b2ff286468311171335ebd67d56a87f4ee4 (patch) | |
| tree | ab6313054bc1cf396d30de509b414ef36c27028b /scripts/restore | |
| parent | d898b1107467b9e283f7660598c1c63e2b26d9d3 (diff) | |
| download | mastodon_ynh-67a35b2ff286468311171335ebd67d56a87f4ee4.tar.gz mastodon_ynh-67a35b2ff286468311171335ebd67d56a87f4ee4.tar.bz2 mastodon_ynh-67a35b2ff286468311171335ebd67d56a87f4ee4.zip | |
[fix] Restore with psql
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 3f63380..965f6f0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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 |
