TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to monitoring, backup DB and medias using a VPS

6 pointsby bapetelalmost 2 years ago
I use a VPS from Contabo to host my web application<p>I need some advice regarding :<p>1. Monitoring performance and resources<p>2. Logging errors and other messages<p>3. Backup DB and media file<p>Why ?<p>Because I think it&#x27;s important;<p>My web app has 132 users, it&#x27;s a side project I want to monetize, and I need to make sure there won&#x27;t be anything unexpected or abnormal happens<p>So, I need some advices from you<p>What do you think ? What can I do ? What is perfect ?

5 comments

xu3u32almost 2 years ago
I use Sentry for application (django) specific errors, onlineornot for site availability.<p>I have staticfiles going to cloud object storage (s3)<p>I wrote cron jobs that trigger dumps of the postgres database.
tiernanoalmost 2 years ago
Monitoring, try netdata. Can&#x27;t remember if it can send alerts, but does show all of what&#x27;s going on on your machine. For backups, I would use Borg backup or something to b2… as for Logging, there are a good few options, but not sure about free. I would guess you want it as free or cheap as possible if it&#x27;s not monitizes yet…
评论 #37047161 未加载
rozenmdalmost 2 years ago
- Monitor the web server itself using an uptime checker like <a href="https:&#x2F;&#x2F;onlineornot.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;onlineornot.com</a> (biased here, I founded it)<p>- Something like Sentry or Logrocket for monitoring errors<p>- use a cron job to backup your db, and monitor your cronjob actually runs with a heartbeat monitor
KomoDalmost 2 years ago
&gt; 1. Monitoring performance and resources<p>Hetrix<p>&gt; 3. Backup DB and media file<p>cronjob that copies over
shaunpudalmost 2 years ago
1. HetrixTools Linux Server Monitoring Agent<p>2. Usually email&#x2F;pushover alerts within the webapp itself<p>3. borgmatic (supports file and database) to borgbase.com