LoginSignup
0
0

More than 1 year has passed since last update.

S3からherokuにデータリストアメモ

Posted at

パケットを確認します。
image.png
ファイルをアップロードします。
image.png
アップロードが正常に終了したことを確認します。
image.png
真ん中のボタンを押下して、AWSのコマンド実行ツールを開きます。
image.png
コマンドを実行します。
'''
aws s3 presign s3://URL
'''
image.png
作成したURLをコピーします。
image.png

次のを上記URLで置き換えます。アプリの名前を忘れずに置き換えます。

heroku pg:backups:restore '<SIGNED URL>' DATABASE_URL -a appname
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0