alexkravets / heroku-mongo-backup

Backup mongodb on Heroku and push it to S3 or FTP with cron task.
https://github.com/alexkravets/heroku-mongo-backup
55 stars 33 forks source link

Restore to Local mongodb instance? #8

Closed ghost closed 12 years ago

ghost commented 12 years ago

This is not really an issue, but more of a question on how I can restore the backup on my local machine to a local mongo db instance.

alexkravets commented 12 years ago

It requires adding some code to the gem. Right now it pulls defined file from the bucket.

If you don't feel like coding, then you can handle it by creating bucket pushing local db file to backups folder, set local vars and run restore command.

Let me know if I can help you.

Alex

On 2 æîâò. 2012, at 21:43, ap notifications@github.com wrote:

This is not really an issue, but more of a question on how I can restore the backup on my local machine to a local mongo db instance.

— Reply to this email directly or view it on GitHub.

alexkravets commented 12 years ago

this feature is added in 0.4.2, please take a look at README for references

ghost commented 11 years ago

Thank you. This worked perfectly!