{"id":376,"date":"2017-11-29T19:55:48","date_gmt":"2017-11-29T18:55:48","guid":{"rendered":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=376"},"modified":"2017-11-29T19:55:48","modified_gmt":"2017-11-29T18:55:48","slug":"backup-with-borg","status":"publish","type":"post","link":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=376","title":{"rendered":"Backup with Borg"},"content":{"rendered":"<p>Yes, resistance is futile! <a href=\"https:\/\/borgbackup.readthedocs.io\/en\/stable\/index.html\">Borg<\/a> is a descendant of attic with is a descendant of obnam. Development of the latter has ceased, so I needed a new victim. borg is a compressing, deduplicating, file based backup program which does more or less the same than obnam.<\/p>\n<p>Despite its lineage borg is a bit different. It kinda does not work via ssh, only by FUSE and a sshfs-usermount, which is quite a bad choice, as I learned. It&#8217;s much faster if you run borg on the source, i.e. &#8220;where the data is&#8221; and transfer the result to the backup repository. Thinking about it, that&#8217;s not much of a surprise.<\/p>\n<p>If you use sshfs, the destination has to pull all data for deduplication and compression, so no bandwidth is spared. If you run a borg server and only send the <strong>result<\/strong> of deduplication and compression over the wire, it&#8217;s much faster, what a surprise! So, always run borg <strong>at the source<\/strong>!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, resistance is futile! Borg is a descendant of attic with is a descendant of obnam. Development of the latter has ceased, so I needed a new victim. borg is a compressing, deduplicating, file based backup program which does more or less the same than obnam. Despite its lineage borg is a bit different. It &hellip; <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=376\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Backup with Borg<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-376","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=376"}],"version-history":[{"count":2,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/376\/revisions"}],"predecessor-version":[{"id":378,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/376\/revisions\/378"}],"wp:attachment":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}