‹ BackHN Continuity

Thread

Backups Aren't Simple

359 points · 225 comments · afilipovski

  1. m463 · · focus · HN ↗
    I've given out jwz's link to several people:

    <a href="https:&#x2F;&#x2F;www.jwz.org&#x2F;doc&#x2F;backups.html" rel="nofollow">https:&#x2F;&#x2F;www.jwz.org&#x2F;doc&#x2F;backups.html

    (maybe copy&#x2F;paste this into browser instead of following link, since referrer from hn apparently does something)

    1. everybodyknows · · focus · HN ↗
      &gt; have this happen every morning at 5AM by creating a temporary text file containing this line: 0 5 * * * rsync -vax --delete --ignore-errors &#x2F; &#x2F;Volumes&#x2F;Backup&#x2F;

      This leaves you needlessly exposed to this failure mode: Commit some &quot;braino&quot; that wipes out some recent work. Go to bed without noticing the loss. 5am rsync run wipes your backup as well.

      The fix is to back up to not just one but to a rotation of images. Use --link-dest to reduce storage overhead to the size of the directory hierarchy only.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.