{"id":552,"date":"2007-05-08T08:26:40","date_gmt":"2007-05-08T13:26:40","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/05\/08\/rdiff-backup-is-my-backup-tool-of-choice"},"modified":"2007-05-08T08:27:19","modified_gmt":"2007-05-08T13:27:19","slug":"rdiff-backup-is-my-backup-tool-of-choice","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2007\/05\/08\/rdiff-backup-is-my-backup-tool-of-choice","title":{"rendered":"rdiff-backup is my backup tool of choice"},"content":{"rendered":"<p>I decided to actually get backups going. I know, <em>laugh<\/em>. But I bet that when you snicker, you may also not have a great backup system in place.<\/p>\n<p>Picked up a 160GB 2.5&#8243; disk and an external casing. After careful calculation, it seems like maybe I could have saved money buying a pre-packaged solution. Weird.<\/p>\n<p>Anyways, the tool of choice &#8211; <a href=\"http:\/\/www.nongnu.org\/rdiff-backup\/\">rdiff-backup<\/a>. Its simply dead easy to use. Just do: <tt>rdiff-backup &lt;current&gt; &lt;backup-path&gt;<\/tt>. My initial backup of about 56GB of my home directory, it took just under 2 hours for the first ever backup image.<\/p>\n<p>Restore is something a lot of folk seem to forget. They make great backups, but never test restores. I went cold turkey &#8211; moved from Fedora to Ubuntu after a backup. It worked.<\/p>\n<p>Only real problem is that in Fedora, I had uid\/gid 500, but in Ubuntu, I was uid\/gid 1000. That&#8217;s easily fixable, I restored (<tt>rdiff-backup -r<\/tt>), and I have my environment exactly as per before the format (and distribution switch).<\/p>\n<p>I probably should try to do these backups daily, and maybe have even more that one drive for backups, but this is me being very appreciative of rdiff-backup. Today I ran it again after over a week.<\/p>\n<pre>time rdiff-backup \/home\/byte\/ \/media\/disk\/byte\/\r\n\r\nreal    288m40.943s<\/pre>\n<pre>user    52m1.951s<\/pre>\n<pre>sys     12m57.641s<\/pre>\n<p>rdiff-backup also works over the network. Those dreamhost accounts are now starting to look very interesting for off-site storage. Read the <a href=\"http:\/\/www.nongnu.org\/rdiff-backup\/docs.html\">documentation<\/a> and <a href=\"http:\/\/www.nongnu.org\/rdiff-backup\/examples.html\">examples<\/a> if you&#8217;re wanting to get up to speed really quickly. Its also OS X compatible. Now if only I found a sensible Windows backup system&#8230;<\/p>\n<p>Technorati Tags: <a href=\"http:\/\/technorati.com\/tag\/backup\" class=\"performancingtags\" rel=\"tag\">backup<\/a>, <a href=\"http:\/\/technorati.com\/tag\/rdiff-backup\" class=\"performancingtags\" rel=\"tag\">rdiff-backup<\/a>, <a href=\"http:\/\/technorati.com\/tag\/restore\" class=\"performancingtags\" rel=\"tag\">restore<\/a>, <a href=\"http:\/\/technorati.com\/tag\/unix\" class=\"performancingtags\" rel=\"tag\">unix<\/a>, <a href=\"http:\/\/technorati.com\/tag\/linux\" class=\"performancingtags\" rel=\"tag\">linux<\/a>, <a href=\"http:\/\/technorati.com\/tag\/macosx\" class=\"performancingtags\" rel=\"tag\">macosx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I decided to actually get backups going. I know, laugh. But I bet that when you snicker, you may also not have a great backup system in place. Picked up a 160GB 2.5&#8243; disk and an external casing. After careful calculation, it seems like maybe I could have saved money buying a pre-packaged solution. Weird. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_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,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-552","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-8U","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=552"}],"version-history":[{"count":0,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/552\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}