Last night I was writing a script and it made a directory literally named “~” on accident. It being 3am I did an rm -rf ~ without thinking and destroyed my home dir. Luckily some of the files were mounted in docker containers which my user didn’t have permission to delete. I was able to get back to an ok state but lost a bit of data.

I now realize I really should be making backups because removed happens. I self host a pypi repository, a docker registry both with containers and some game servers in and out of containers. What would be the simplest tool to backup to Google drive and easily restore?

  • Nine@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    13 days ago

    Restic, it has native S3 compatibility and when you combine with something like B2 it makes amazing offsite storage so you can enjoy the tried and true 3-2-1 backup strategy.

    Also fedora magazine did a few posts on setting it up with systemd that makes it SUPER EASY to get going if you need a guide.

    I have an ansible role that configures it on everyone’s laptops so that they have local, NAS, and remote, B2, backup locations.

    Works like a charm for the past 8+ years.