TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What backup strategy do you use for your websites and databases?

15 点作者 pankratiev将近 14 年前

9 条评论

agj将近 14 年前
For backups, I use rdiff-backup across 60G+ of user data, nightly. rdiff-backup uses librsync to transfer files, but also handles incremental backups and seems to be fairly efficient at storing increments. Nightly, maybe 10%, maximum, of the user data changes and backups complete in less than 2 hours. Load is low enough I could run several times a day if I needed.<p>Databases should be properly dumped to a file before back up.<p>I've also tried BackupPC, which was a great project, but probably not the best fit for this case. I was running it in a virtualized container, and I ran into a lot of memory issues backing up large servers. This issue likely came down to memory -- not necessarily BackupPC itself -- but I dropped it because backups commonly took around 6-8h, if they didn't silently hang on me.
ScottWhigham将近 14 年前
I make local backups and then have a routine that downloads those backups. I tried one too many times relying on web hosts for backups...
adyus将近 14 年前
Hmm, given that the question was asked on HN, there could be a good business idea there... File and DB backups offered as SaaS.
latch将近 14 年前
I actually check that I can restore from my backups once a week (it's the first thing I do when I wake up Saturday morning).
sander将近 14 年前
There actually is a service that backups your website through FTP regularly, just trying to think of the name...
europa将近 14 年前
I use duplicity. <a href="http://duplicity.nongnu.org/" rel="nofollow">http://duplicity.nongnu.org/</a>
timdev将近 14 年前
rsnapshot with some scripts to prepare database dumps to grab ensure mysqldata is included. Works very well.
Zakuzaa将近 14 年前
I rsync my backups to bqbackup.
LaggedOut将近 14 年前
Backups, who needs them ;)