Just another chat thread. I love hearing your responses.

  • kopper [they/them]@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    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…