‹ BackHN Continuity

Thread

Backups Aren't Simple

359 points · 225 comments · afilipovski

  1. PunchyHamster · · focus · HN ↗
    So is apparently making readable site.

    Software like <a href="https:&#x2F;&#x2F;restic.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;restic.net&#x2F; does a good job. Few choices of backend

    Accepts stuff from pipe too so you can just pipe mysqldump or pg_dumpall without intermediate files

    Very decent options for checking repo integrity, personally (well, at work too, we use it on few hundred user machines and servers) I also added &quot;roll a dice for backup and try to restore it&quot; test script to make sure it is working

    Decent deduplication too so &quot;store year&#x27;s worth of weekly snapshot&quot; is very sensible strategy once you exclude the &quot;constantly changing and useless&quot; (caches etc.) files out of it

    can mount FUSE directory with all backups on sensible OSes.

    <a href="https:&#x2F;&#x2F;kopia.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kopia.io&#x2F; does the same +GUI but a bit worse on CLI front (it insists on keeping local config which makes scripting a bit more involved, but not much)

    1. VGHN7XDuOXPAzol · · focus · HN ↗
      To help others disambiguate choices a bit:

      Kopia does not let you pipe into it without intermediate files, or at least not in a friendly way I could figure out.

      Kopia seems quite designed around the backup server being the place where the config is set. IMO it&#x27;s harder to configure if you have your own declarative config tooling (like Ansible, NixOS, etc)

      The nicest way I found to ignore files declaratively is to configure a ignore-file pattern in the repository policy and then declaratively create `.kopiaignore` files.

      The Kopia server is convenient if you have a server at home and want to back up laptops to it, with them being in a shared deduplicated repository without having to trust the clients not to get pwned and wipe out the backups. However I&#x27;m not aware of a nice way to then transfer those backups to aggregate them into a bigger repository. (So I just rsync them off-site and don&#x27;t worry about getting deduplication with other backups) Also learnt the hard way that you can&#x27;t set a bandwidth limit when backing up to the kopia server, which can tank wifi performance on laptops during the backup.

      I am thinking of switching to Restic as it seems like it is more suitable for people who want a tool at the complexity level of tar&#x2F;git CLI with declarative config, rather than something imperatively configured.

      1. PunchyHamster · · focus · HN ↗
        We tested both and used Restic precisely because it was better in CLI&#x2F;scripting department. Kopia is better for maybe less advanced user as it gives them GUI to click on

        &gt; he Kopia server is convenient if you have a server at home and want to back up laptops to it, with them being in a shared deduplicated repository without having to trust the clients not to get pwned and wipe out the backups.

        Neither can do it well. We just used S3 + versioning for that reason, worst case we would just rollback the bucket

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.