this post was submitted on 19 Jun 2023
25 points (100.0% liked)
Chat
7498 readers
5 users here now
Relaxed section for discussion and debate that doesn't fit anywhere else. Whether it's advice, how your week is going, a link that's at the back of your mind, or something like that, it can likely go here.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've been thinking about how to back up my VPS.
The host I have it with does have daily backups, but they cost money and I want to do this as cheaply as possible.
So far I moved the thing from ext4 to btrfs so I could do compression and deduplication to get the "on disk" size as small as I could (without killing CPU usage, of course).
And now that I have btrfs I can also take advantage of snapshots and btrfs send/receive.
My overall plan is to use my provider's snapshotting tool every week or two (likely automatically via their API), and btrfs send things to an unused laptop at home on a more frequent basis. This way, if things do go wrong, I can immediately roll back a week (or two), after which I can "fast forward" to the latest daily(?) backup I have.
Of course I have no idea if this will actually work in practice...