A few days ago I saw someone on here sharing a batch of freebies — free hosts, free domains, 64G cloud storage, free containers, the works. Got itchy hands and signed up for all of them one by one.
And wouldn't you know it, I actually had a use for one: I've got a small site whose backups have always just sat on the server itself, i.e. in the same basket as the original — the day the disk throws a tantrum, both go poof together. Figured I'd use the free storage for a proper offsite backup. 64G, sounds solid, right?
Yeah, that's where it bit me.
Script ran, logs all green: files uploaded one by one, printed a complete at the end, exit code 0, nothing to complain about. But I've got a habit — after a backup I go back and look, otherwise I can't relax. And there it was: the remote directory was empty, the files I'd just uploaded returned 404 on download, usage showed 0, the 64G hadn't moved a byte.
Not ready to give up, I tried again by hand with a small file: upload returns 201, tells me it's created; go fetch it, 404, gone. That's exactly the trick — it smiles and says success when it takes the file, then tosses it in the bin.
The scary part is, if I hadn't looked, this backup job would have "succeeded" week after week, like clockwork, until the day something actually broke and I opened the cloud drive to find 64G of air.
Plan going forward is simple: change approach — rather than that, I'd use a smaller free SSH host and push directly. Smaller space, fine. After uploading, list every remote file and check them one by one; only when they match is the backup done. That provider's activation is seriously slow, I submitted the request and I'm still waiting — don't count on it if you need it now.
Speaking of which, this "always read it back and verify after uploading" habit came from getting burned while messing with another little tool of mine — an auto-backup thing for Supabase, open sourced on GitHub (https://github.com/liulewis/supabase-free-backup-lite ), take a look if you're curious, same general idea.
A heads-up for anyone else thinking of using this batch of freebies for backups:
One, this cloud storage — fine for poking around in the web UI, but don't put anything that matters in it, at least not right now. I can't say whether others are the same; just PUT a file yourself and GET it back to check, takes ten seconds.
Two, backups: return codes, logs, exit codes — they can all lie to you. The only thing that counts is: the files list, they download, and they open. Pass that test and you've got a backup.
So, everyone — did you verify your backup today?
前几天看站里大佬分享了一批免费资源,啥都有,免费主机、免费域名、64G 网盘、免费容器,手痒就挨个注册了一遍。
正好手头有个事能用上:我有个小站,备份一直就存在服务器本地,等于跟正本放一个篮子里,硬盘哪天不高兴了就一起没了。想着这回拿白嫖的网盘做个正经异地备份,64G 呢,听着多稳。
结果就栽在这网盘上。
脚本跑完,日志一片绿:文件一个个传完,最后打了个 complete,退出码 0,挑不出毛病。我这人有个习惯,备份完得回头看一眼才踏实。就这一眼:远端目录是空的,刚传的文件下载回来是 404,网盘用量显示 0,64G 一点没动。
不死心,手拿小文件又试了一遍:上传回 201,跟我说建好了;转头去取,404,没有。要的就是这个效果:它收文件的时候笑眯眯回你成功,转手就扔了。
细思极恐的是,要不是我多看这一眼,这个备份任务能每周雷打不动地「成功」下去,直到真出事那天,我打开网盘一看,64G 的空气。
后来的打算也简单:换个思路,宁可用个小点的免费 SSH 主机直传,地方小就小点,传完把远端文件挨个列出来对一遍,对上了才算备完。那家激活是真慢,申请交了还在等,急用的佬别指望。
说起来这套「传完必须回读核对」的习惯,是我之前折腾另一个小工具时吃亏吃出来的——给 Supabase 做自动备份的,开源扔 GitHub 上了(https://github.com/liulewis/supabase-free-backup-lite ),有兴趣的可以瞅一眼,思路都差不多。
给同样想拿这批资源当备份的佬提个醒:
一是这家网盘,网页端看看得了,要命的东西别往里放,至少现在是这样。别人是不是也这样我不敢说,自己 PUT 一个再 GET 回来验一下,十秒钟的事。
二是备份这事吧,返回码、日志、退出码,全都能骗你。唯一算数的是:文件列得出来、拉得回来、打开能看。验过这一关,才叫有备份。
大家的备份,今天验了吗?
Translated by AI from 简体中文Original (简体中文)
快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。
21 replies
Sort order