<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; linux backups</title> <atom:link href="http://www.ghacks.net/tag/linux-backups/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 21:54:04 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Backup with rsnapshot</title><link>http://www.ghacks.net/2010/05/19/backup-with-rsnapshot/</link> <comments>http://www.ghacks.net/2010/05/19/backup-with-rsnapshot/#comments</comments> <pubDate>Wed, 19 May 2010 11:13:54 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[backups]]></category> <category><![CDATA[linux backups]]></category> <category><![CDATA[rsync]]></category> <category><![CDATA[ssh]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=25519</guid> <description><![CDATA[If you are looking for a command line utility to handle all of your Linux backup needs, you really need look no further than this tool that bases itself off of the perennial backup favorite rsync. Rsnapshot takes the rsync utility and makes it more useful than it already was. With rsnapshot you can retain multiple [...]]]></description> <content:encoded><![CDATA[<p>If you are looking for a command line utility to handle all of your Linux backup needs, you really need look no further than this tool that bases itself off of the perennial backup favorite rsync. Rsnapshot takes the rsync utility and makes it more useful than it already was. With rsnapshot you can retain multiple point in time backups and rotate them as well. But that is not all you can do with rsnapshot. In fact, this tool is so flexible it would seem the sky is the limit.</p><p>In this article I am going to show you how to install and use the rsnapshot backup utility so that you too can have consistent, reliable backups for your Linux system &#8211; server or desktop.</p><p><span
id="more-25519"></span><strong>Installation</strong></p><p>Before you install you will need to make sure you have (at minimum) both rsync and perl installed on your machine. There are a few ways you can install rsnapshot. You can install from source by downloading the latest .tar.gz file (from the <a
title="rsnapshot download page" href="http://rsnapshot.org/downloads.html" target="_blank">rsnapshot download page</a>) and do the following:</p><ol><li>Open up a terminal.</li><li>Change to the directory the newly downloaded file his being held.</li><li>Issue the command <em>tar xvzf rsnapshot-XXX.tar.gz (</em>Where XXX is the release number) to unpack the archive.</li><li>Issue the command <em>cd rsnapshot-XXX</em> to change into the newly created directory.</li><li>Issue the command <em>./configure.</em></li><li>Issue the command <em>make</em> to build the software.</li><li>Issue the command <em>make install</em> to install the software.</li></ol><p>You could also download and install the pre-compiled binary (in .rpm, .deb, etc) form and install from that. Another way to install rsync is to the open up your Add Remove Software tool, search for rsync, and install from there.</p><p>No matter how you install you will wind up with an executable (<em>rsnapshot) </em>in <strong>/usr/bin/</strong> and a configuration file (<strong>rsnapshot.conf</strong>) in <strong>/etc</strong>. You are ready to begin configuring your backup.</p><p><strong>Configuration</strong></p><p>All of the configuration for rsnapshot happens in the <strong>/etc/rsnapshot.conf</strong> file. Open that up with your favorite text editor (you will need root privileges to do so)  and get ready to get your hands  a little dirty.</p><p>Because everyone&#8217;s set up is different, I am only going to point you to the sections of the configuration file you need to edit for your needs. The configuration file is very well laid out, so you shouldn&#8217;t have any trouble with the configuration. But just in case&#8230;</p><p>The first section you will need to set up is the <strong>SNAPSHOT ROOT DIRECTORY</strong> section. This is where you define the location where your snapshots will be stored.</p><p>The next section (since we are installing this on Linux) is to uncomment out the <em>cmd_cp</em> directive under the <strong>EXTERNAL PROGRAM DEPENDENCIES </strong>section. Also, in this section, if you plan on using Secure Shell (ssh) for remote backups, you will need to uncomment the <em>cmd_ssh<strong> </strong><span
style="font-style: normal">line.</span></em></p><p><em><span
style="font-style: normal">The next section is the <strong>BACKUP INTERVALS </strong>section. Here you have three (with an options fourth) options to set up:</span></em></p><ul><li><em><span
style="font-style: normal">hourly</span></em></li><li><em><span
style="font-style: normal">daily</span></em></li><li><em><span
style="font-style: normal">weekly</span></em></li></ul><p>The default is set up nicely like this:</p><p><em>interval hourly 6</em><br
/> <em>interval daily 7</em><br
/> <em>interval weekly 4</em></p><p>This means you will have six hourly backups (every four hours), seven daily backups (once a day), and four weekly backups (once a week).</p><p>The final section you need to configure is the <strong>BACKUP POINTS / SCRIPTS </strong>section. Here you are going to define what is to be backed up. By default rsnapshot will back up <strong>/home</strong>, <strong>/etc</strong>, and <strong>/usr/local </strong>to the locally defined backup point. You will notice after this section is a very well laid out section of sample backups. Take a look at these closely as they will help you create various types of backups (including remote backups).</p><p><strong>Final step &#8211; cron</strong></p><p>The last thing you need to do (after you save your configuration file) is to set up cron to run the rsnapshot tool. You will want to set up the root users cron for this (so Ubuntu-based distributions will use the command  <em>sudo</em> <em>crontab -e</em>) so issue the command:</p><p><em>crontab -e</em></p><p>and add something like:<br
/> <em>0 */4 * * * root /usr/bin/rsnapshot hourly<br
/> 0 23 * * * root /usr/bin/rsnapshot daily<br
/> 0 23 * * 6 root /usr/bin/rsnapshot weekly<br
/> <span
style="font-style: normal">The above will run <em>rsnapshot</em> hourly ever four hours, daily at 11pm, and weekly on saturday at 11pm.</span></em></p><p><em><span
style="font-style: normal">That&#8217;s it. You&#8217;re backup is ready to go.</span></em></p><p><em><span
style="font-style: normal"><strong>Final thoughts</strong></span></em></p><p><em><span
style="font-style: normal">Make sure you put some thought into your backup plan. After all, it will save you should a disaster strike. The rsnapshot tool is a very handy tool that can take the venerable rsync utility and make it far more useful. </span></em></p><p><em> </em></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/05/19/backup-with-rsnapshot/feed/</wfw:commentRss> <slash:comments>21</slash:comments> </item> <item><title>Backup your Linux, Mac, or Windows machines with fwbackups</title><link>http://www.ghacks.net/2009/04/07/backup-your-linux-mac-or-windows-machines-with-fwbackups/</link> <comments>http://www.ghacks.net/2009/04/07/backup-your-linux-mac-or-windows-machines-with-fwbackups/#comments</comments> <pubDate>Tue, 07 Apr 2009 16:04:10 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[automated backup]]></category> <category><![CDATA[fwbackups]]></category> <category><![CDATA[linux backups]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=11756</guid> <description><![CDATA[Are you looking for a simple backup solution that will work cross platform, with a user-friendly interface, that&#8217;s open source, and free? If so, you&#8217;ve found it. The fwbackups backup solution is all of that and more. I have tried many other backup solutions on Linux. Some of them are either command-line only, require a [...]]]></description> <content:encoded><![CDATA[<p>Are you looking for a simple backup solution that will work cross platform, with a user-friendly interface, that&#8217;s open source, and free? If so, you&#8217;ve found it. The <a
title="fwbackups" href="http://www.diffingo.com/oss/fwbackups" target="_blank">fwbackups</a> backup solution is all of that and more. I have tried many other backup solutions on Linux. Some of them are either command-line only, require a complex setup, or don&#8217;t work. And then there is fwbackups.</p><p>This particular backup solution features: user-friendly graphical interface, cross-platform availability (Linux, Mac, and Windows), flexible backup configurations, backups can be stored nearly anywhere, entire computer backup, one time backups, scheduled backups, file/folder exclusion, and more.</p><p><span
id="more-11756"></span><strong>Getting and installing</strong></p><div
id="attachment_11757" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/04/fwbackups_main.png"><img
class="size-medium wp-image-11757" src="http://www.ghacks.net/wp-content/uploads/2009/04/fwbackups_main-500x344.png" alt="Main Window" width="300" height="206" /></a><p
class="wp-caption-text">Main Window</p></div><p>Even though fwbackups can work on multiple OSes, we&#8217;re going to just illustrated installing and using on Linux. There is a simple way to install fwbackups because it will most likely be in the repository of your distribution. Open up your Add/Remove Software utility, do a search for fwbackups, select the results, and click apply. When the installation is complete you will find fwbackups in the Preferences sub menu of the System menu on the GNOME desktop. When you first start fwbackups you will see the main window.</p><p>The main window is comprised of five &#8220;tabs&#8221;. The default tab is the Overiew tab which tells you how many backups you have done.</p><p><strong>First Step</strong></p><div
id="attachment_11758" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/04/fwbackups_sets.png"><img
class="size-medium wp-image-11758" src="http://www.ghacks.net/wp-content/uploads/2009/04/fwbackups_sets-500x344.png" alt="Backup Sets" width="300" height="206" /></a><p
class="wp-caption-text">Backup Sets</p></div><p>The first thing you need to do is add a set to your backup. Let&#8217;s say you want to backup your ~/Documents directory. To do this click the New Set button to open up a new window where you configure this set. From this new window you can add either folders or files (you can add multiple files/folders to a single set).</p><p>You will also have to add a name to the backup. This is very obvious. In the Name field at the top of the window, enter the name you want to use for the backup.</p><p>From this same window (where you add files/folders) you configure the following:</p><p>Destination: Where do you want the backup to be stored. In Linux you can store this locally or on a remote server via ssh.</p><div
id="attachment_11759" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/04/fwbackups_options.png"><img
class="size-medium wp-image-11759" src="http://www.ghacks.net/wp-content/uploads/2009/04/fwbackups_options-500x344.png" alt="Your backup set" width="300" height="206" /></a><p
class="wp-caption-text">Your backup set</p></div><p>Times: If this is a scheduled backup when do you want it to occur. This is also where you configure the recurrance of the backup for this set.</p><p>Options (Simple): The majority of options for the backup set are here. You can configure the backup to be recursive, the format the backup will be in (tar, tar.gz, rsync, etc), how many old copies of the backups to keep, etc.</p><p>Options (Advanced): Here you can add commands to run before or after the backup. You can also change the nice value as well as what to exclude from the backup.</p><p>Once you have configured your backup set you can test the set by clicking the Backup Set Now button.</p><p>You can also do a One Time backup if you need to backup something just once. This set will not be saved to your sets.</p><p><strong>Restore</strong></p><div
id="attachment_11760" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2009/04/fwbackups_restore.png"><img
class="size-medium wp-image-11760" src="http://www.ghacks.net/wp-content/uploads/2009/04/fwbackups_restore-500x328.png" alt="Restore Window" width="300" height="197" /></a><p
class="wp-caption-text">Restore Window</p></div><p>To restore a backup click the Restore button. Depending upon the type of restore you want to do (either locally or remotely) the settings will vary.</p><p>To do a remote restore you will use ssh (just like you use in the remote backup). The only downfall is you will have to know the explicite path to the backup file as you can not browse for the file when doing a remote restore.</p><p>Once you have everything configured, hit the Start Restore button to fire up your restore.</p><p><strong>Final Thoughts</strong></p><p>The fwbackups tool is one of the easiest backup utilities I have come across. If you have a need for a cross-platform backup utility fwbackups might very well be the tool to place in your toolkit.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/04/07/backup-your-linux-mac-or-windows-machines-with-fwbackups/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
