Ask HN: How to monitoring, backup DB and medias using a VPS
I use a VPS from Contabo to host my web application
I need some advice regarding :
1. Monitoring performance and resources
2. Logging errors and other messages
3. Backup DB and media file
Why ?
Because I think it's important;
My web app has 132 users, it's a side project I want to monetize, and I need to make sure there won't be anything unexpected or abnormal happens
So, I need some advices from you
What do you think ? What can I do ? What is perfect ?
6 comments
[ 3.3 ms ] story [ 29.8 ms ] thread2. Usually email/pushover alerts within the webapp itself
3. borgmatic (supports file and database) to borgbase.com
Hetrix
> 3. Backup DB and media file
cronjob that copies over
- Something like Sentry or Logrocket for monitoring errors
- use a cron job to backup your db, and monitor your cronjob actually runs with a heartbeat monitor
I have staticfiles going to cloud object storage (s3)
I wrote cron jobs that trigger dumps of the postgres database.