{"id":856,"date":"2009-09-30T17:42:43","date_gmt":"2009-09-30T22:42:43","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=856"},"modified":"2009-09-30T18:52:45","modified_gmt":"2009-09-30T23:52:45","slug":"backing-up-an-entire-linux-system","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2009\/backing-up-an-entire-linux-system\/","title":{"rendered":"Backing up an entire linux system"},"content":{"rendered":"<p>I have used adhoc scripts that do nightly backups of my important files.  I zip up critical directories into huge tarballs &#8211; not too pretty but gets the job done.<br \/>\nI wanted to back up an entire linux system so it could be easily recreated, and decided it was time to get a little more sophisticated.  Enter [rdiff-backup].  I&#8217;m emerging it now, but it&#8217;s requiring several updates.  For one, it&#8217;s new kernel time, and there are a few new options to choose when using [make oldconfig].  I went with defaults, as usual, for every option that provided one.  I had to pick these though:<\/p>\n<pre><code>Kernel compression mode: 1. Gzip\r\nRCU Subsystem: 1. Classic RCU<\/code><\/pre>\n<p>Then I had to add FUSE to the kernel and emerge [ntfs-3g], so I could mount my external drive and back up to it.<\/p>\n<pre><code>[make menuconfig]: File systems->[x] FUSE (and rebuild and install kernel of course)\r\nemerge -Davu sys-fs\/fuse ntfs-3g<\/code><\/pre>\n<p>Then I emerged rdiff-backup, and ran the following:<\/p>\n<pre><code>rdiff-backup --exclude-other-filesystems --exclude-special-files -v5 --exclude \/home\/me\/backup \/ \/mnt\/external_drive\/backup\/machinename<\/code><\/pre>\n<p>And away we go!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have used adhoc scripts that do nightly backups of my important files. I zip up critical directories into huge tarballs &#8211; not too pretty but gets the job done. I wanted to back up an entire linux system so it could be easily recreated, and decided it was time to get a little more [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[16,10],"tags":[],"class_list":["post-856","post","type-post","status-publish","format-standard","hentry","category-gentoo-nightly","category-tricks-tips-tools"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-dO","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=856"}],"version-history":[{"count":7,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/856\/revisions"}],"predecessor-version":[{"id":863,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/856\/revisions\/863"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}