Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are files saved on heroku permanantly? #10

Open
aaronshappell opened this issue Jun 25, 2017 · 2 comments
Open

Are files saved on heroku permanantly? #10

aaronshappell opened this issue Jun 25, 2017 · 2 comments

Comments

@aaronshappell
Copy link
Owner

Have to test this but I'm not sure if files, specifically save.json is saved permanantly as the environment is instanced. They might disappear after a restart.

@aaronshappell
Copy link
Owner Author

Files written to the file system of a heroku dyno are not persistent, thus user saved messages are currently deleted upon dyno restart. Maybe need to use a storage service like Amazon S3 or something (Try to find something free).

@aaronshappell
Copy link
Owner Author

aaronshappell commented Jun 26, 2017

Might try moving the bot to Google app engine (free tier always free) which has 28 instance hours per day and 5gb of cloud storage or the Google compute engine (free tier always free) with one f1-micro instance per month and 30 GB-months persistent HDD/5 GB-months snapshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant