{"id":937,"date":"2008-01-27T12:58:24","date_gmt":"2008-01-27T16:58:24","guid":{"rendered":"http:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/"},"modified":"2008-01-27T12:58:24","modified_gmt":"2008-01-27T16:58:24","slug":"backups-in-a-linux-environment-823","status":"publish","type":"post","link":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/","title":{"rendered":"Backups in a Linux Environment"},"content":{"rendered":"<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\">Backups are an important task within any environment. While there are multiple options for performing backups on a Windows network, you may not be aware of the<span>\u00a0 <\/span>options available for a Linux environment. Given the fact that I work strictly in the Linux world, both at home and at the office, I can offer some suggestions as to what options are available. We&#8217;ll stick with open source (free) solutions here, although there are many commercial products available.<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\">\u00a0<span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>Bacula (<\/span><span style=\"font-size: 10pt; font-family: Arial;\"><a href=\"http:\/\/www.bacula.org\/\"><span>http:\/\/www.bacula.org\/<\/span><\/a><\/span><span style=\"font-size: 10pt; font-family: Arial;\">) is the big player in the enterprise level network backup game. Setup and configuration of Bacula is a job for intermediate\/advanced Linux users, although once installed and configured there is a very easy-to-use web GUI for administration. <\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\">\u00a0<span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>Another good product is Mondo Rescue (<\/span><span style=\"font-size: 10pt; font-family: Arial;\"><a href=\"http:\/\/www.mondorescue.org\/\"><span>http:\/\/www.mondorescue.org\/<\/span><\/a><\/span><span style=\"font-size: 10pt; font-family: Arial;\">). While this application can be used for backup, it is designed more as a disaster recovery tool. Mondo Rescue creates bootable CD\/DVD&#8217;s that contain snapshots of a complete system (ala Ghost or True Image) which can be used to restore a system from bare metal.<span>\u00a0 <\/span>It&#8217;s administered from a simple text-based GUI and packages are available for most Linux distributions. Installation and use is simple enough for the average Linux user.<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\">\u00a0<span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>Next up is Amanda (<\/span><span style=\"font-size: 10pt; font-family: Arial;\"><a href=\"http:\/\/www.amanda.org\/\"><span>http:\/\/www.amanda.org\/<\/span><\/a><\/span><span style=\"font-size: 10pt; font-family: Arial;\">). The source code is available at the Amanda web site, but a quick Google search will net you a package in the proper format for your particular flavor of Linux. This is strictly a command line tool, so it&#8217;s best left to those power users that are comfortable working without a GUI. This is a very powerful and flexible backup application.<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\">\u00a0<span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>Of course if you are not looking for a network type solution and just want something to backup your own machine, almost all Linux distributions come prepackaged with some type of easy-to-use GUI based software. The KDat application included with the KDE desktop is one example. Several folks have written their own and made it freely available to us all.<span>\u00a0 <\/span><\/span><span style=\"font-size: 10pt; font-family: Arial;\"><a href=\"http:\/\/simplelinuxbkup.sourceforge.net\/\"><span>http:\/\/simplelinuxbkup.sourceforge.net\/ f<\/span><\/a><\/span><span class=\"MsoHyperlink\"><span style=\"font-size: 10pt; font-family: Arial;\">or example.<\/span><\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\">\u00a0<span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>While I am by no means a code-monkey, I have learned enough basic shell scripting to write my own backup software. It works equally well for stand alone machines or as a network solution. You can find it here (you&#8217;ll have to be a registered member):<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\"><a href=\"index.php?option=com_docman&amp;task=cat_view&amp;gid=911&amp;Itemid=53\" target=\"_blank\" title=\"Backup scripts for Linux\">http:\/\/www.theforcefield.net\/joomla\/index.php?option=com_docman&amp;task=cat_view&amp;gid=911&amp;Itemid=53<\/a> \u00a0<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\"><a href=\"http:\/\/www.theforcefield.net\/index.php?option=com_docman&amp;task=cat_view&amp;gid=911&amp;Itemid=53\" target=\"_blank\" title=\"Scripts\"><\/a><br \/>\u00a0<span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>My backup software consists of a simple script that runs as a scheduled job and uses &#8216;tar&#8217; to create compressed backup files. The default is to backup the \/home directory daily and perform a full backup weekly. A copy of the backup is stored on the local machine (so that you may manually burn it to CD\/DVD, archive it to a tape drive, copy to a USB stick, FTP it somewhere, etc.). This software can optionally use &#8216;rsync&#8217; to automatically push a copy of the backup to a network storage device. I use an old server with a multiple scsi disk array, but you could use an external enclosure with a large hard drive attached to another Linux machine or even push the backup across the WAN to an off-site storage device running Linux. Another option would be to automatically FTP the tar files to any local or remote FTP server (although you will have to learn a bit of shell scripting and write this code yourself).<span>\u00a0 <\/span>*NOTE: If you choose the preceding FTP option, PLEASE consider security and use SFTP or tunnel through a VPN! Full restores can be done simply by partitioning and formatting a new hard drive and then extracting the compressed tar file onto the disk. If you delete something important from your home directory, you can simply extract the \/home tar file stored on the local machine back into your existing \/home directory. Basic instructions are in the README, and the scripts are liberally commented.<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\">\u00a0<span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><span style=\"font-size: 10pt; font-family: Arial;\">As always, if you have any questions, comments, problems, or want to erect a statue in my likeness, please feel free to contact me at <\/span><span style=\"font-size: 10pt; font-family: Arial;\"><a href=\"mailto:thughes@fwpm.com\"><span>thughes@fwpm.com<\/span><\/a><\/span><span style=\"font-size: 10pt; font-family: Arial;\"> .<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: Arial;\">\u00a0<\/span><\/p>\n<p><span class=\"MsoHyperlink\"><span style=\"font-size: 10pt; font-family: Arial;\">Copyright 2008 Todd Hughes<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Backups are an important task within any environment. While there are multiple options for performing backups on a Windows network, you may not be aware of the\u00a0 options available for a Linux environment. Given the fact that I work strictly in the Linux world, both at home and at the office, I can offer some &#8230; <a title=\"Backups in a Linux Environment\" class=\"read-more\" href=\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/\" aria-label=\"Read more about Backups in a Linux Environment\">Read more<\/a><\/p>\n","protected":false},"author":347,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[596,210,475],"class_list":["post-937","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-backups-in-a-linux-environment","tag-publications","tag-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Backups in a Linux Environment - The Force Field Podcast<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Backups in a Linux Environment - The Force Field Podcast\" \/>\n<meta property=\"og:description\" content=\"Backups are an important task within any environment. While there are multiple options for performing backups on a Windows network, you may not be aware of the\u00a0 options available for a Linux environment. Given the fact that I work strictly in the Linux world, both at home and at the office, I can offer some ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/\" \/>\n<meta property=\"og:site_name\" content=\"The Force Field Podcast\" \/>\n<meta property=\"article:published_time\" content=\"2008-01-27T16:58:24+00:00\" \/>\n<meta name=\"author\" content=\"Todd Hughes\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Todd Hughes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/\"},\"author\":{\"name\":\"Todd Hughes\",\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#\/schema\/person\/cd69a96c1cfd7e99565fb2aa5d43afb0\"},\"headline\":\"Backups in a Linux Environment\",\"datePublished\":\"2008-01-27T16:58:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/\"},\"wordCount\":689,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#organization\"},\"keywords\":[\"Backups in a Linux Environment\",\"Publications\",\"Tutorials\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/\",\"url\":\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/\",\"name\":\"Backups in a Linux Environment - The Force Field Podcast\",\"isPartOf\":{\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#website\"},\"datePublished\":\"2008-01-27T16:58:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.theforcefield.net\/podcast\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Backups in a Linux Environment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#website\",\"url\":\"https:\/\/www.theforcefield.net\/podcast\/\",\"name\":\"The Force Field Podcast\",\"description\":\"A podcast for and about IT Service Providers\",\"publisher\":{\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.theforcefield.net\/podcast\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#organization\",\"name\":\"The Force Field Podcast\",\"url\":\"https:\/\/www.theforcefield.net\/podcast\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.theforcefield.net\/podcast\/wp-content\/uploads\/2022\/06\/header.png\",\"contentUrl\":\"https:\/\/www.theforcefield.net\/podcast\/wp-content\/uploads\/2022\/06\/header.png\",\"width\":990,\"height\":100,\"caption\":\"The Force Field Podcast\"},\"image\":{\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.theforcefield.net\/podcast\/#\/schema\/person\/cd69a96c1cfd7e99565fb2aa5d43afb0\",\"name\":\"Todd Hughes\",\"url\":\"https:\/\/www.theforcefield.net\/podcast\/author\/thughes\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Backups in a Linux Environment - The Force Field Podcast","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/","og_locale":"en_US","og_type":"article","og_title":"Backups in a Linux Environment - The Force Field Podcast","og_description":"Backups are an important task within any environment. While there are multiple options for performing backups on a Windows network, you may not be aware of the\u00a0 options available for a Linux environment. Given the fact that I work strictly in the Linux world, both at home and at the office, I can offer some ... Read more","og_url":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/","og_site_name":"The Force Field Podcast","article_published_time":"2008-01-27T16:58:24+00:00","author":"Todd Hughes","twitter_misc":{"Written by":"Todd Hughes","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/#article","isPartOf":{"@id":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/"},"author":{"name":"Todd Hughes","@id":"https:\/\/www.theforcefield.net\/podcast\/#\/schema\/person\/cd69a96c1cfd7e99565fb2aa5d43afb0"},"headline":"Backups in a Linux Environment","datePublished":"2008-01-27T16:58:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/"},"wordCount":689,"commentCount":0,"publisher":{"@id":"https:\/\/www.theforcefield.net\/podcast\/#organization"},"keywords":["Backups in a Linux Environment","Publications","Tutorials"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/","url":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/","name":"Backups in a Linux Environment - The Force Field Podcast","isPartOf":{"@id":"https:\/\/www.theforcefield.net\/podcast\/#website"},"datePublished":"2008-01-27T16:58:24+00:00","breadcrumb":{"@id":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.theforcefield.net\/podcast\/backups-in-a-linux-environment-823\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.theforcefield.net\/podcast\/"},{"@type":"ListItem","position":2,"name":"Backups in a Linux Environment"}]},{"@type":"WebSite","@id":"https:\/\/www.theforcefield.net\/podcast\/#website","url":"https:\/\/www.theforcefield.net\/podcast\/","name":"The Force Field Podcast","description":"A podcast for and about IT Service Providers","publisher":{"@id":"https:\/\/www.theforcefield.net\/podcast\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.theforcefield.net\/podcast\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.theforcefield.net\/podcast\/#organization","name":"The Force Field Podcast","url":"https:\/\/www.theforcefield.net\/podcast\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.theforcefield.net\/podcast\/#\/schema\/logo\/image\/","url":"https:\/\/www.theforcefield.net\/podcast\/wp-content\/uploads\/2022\/06\/header.png","contentUrl":"https:\/\/www.theforcefield.net\/podcast\/wp-content\/uploads\/2022\/06\/header.png","width":990,"height":100,"caption":"The Force Field Podcast"},"image":{"@id":"https:\/\/www.theforcefield.net\/podcast\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.theforcefield.net\/podcast\/#\/schema\/person\/cd69a96c1cfd7e99565fb2aa5d43afb0","name":"Todd Hughes","url":"https:\/\/www.theforcefield.net\/podcast\/author\/thughes\/"}]}},"_links":{"self":[{"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/posts\/937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/users\/347"}],"replies":[{"embeddable":true,"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/comments?post=937"}],"version-history":[{"count":0,"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/posts\/937\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/media?parent=937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/categories?post=937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.theforcefield.net\/podcast\/wp-json\/wp\/v2\/tags?post=937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}