Herokuで、S3を利用したPGBackupsを使った運用方法のTips.
<参考>
https://devcenter.heroku.com/articles/pgbackups
http://psandvs.com/posts/7
1.上記のブログにあるように、AmazonS3にdumpを送る、rakeを実施。
2.下記のコマンドで、s3から、dumpを取得
heroku pgbackups:restore DATABASE 'https://s3.amazonaws.com/XXXXX/XX.dump'
*注:この際に、s3側で、対象ファイルをpublic化する必要がある
3.完了
*注:cacheしているファイルは、表示が戻らないので、意図的にcacheを削除する必要あり