<?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; automated backup</title> <atom:link href="http://www.ghacks.net/tag/automated-backup/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 09:52:46 +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 your Linux box with rsync</title><link>http://www.ghacks.net/2009/10/11/backup-your-linux-box-with-rsync/</link> <comments>http://www.ghacks.net/2009/10/11/backup-your-linux-box-with-rsync/#comments</comments> <pubDate>Sun, 11 Oct 2009 14:13:15 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[automated backup]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[linux backup]]></category> <category><![CDATA[secure shell]]></category> <category><![CDATA[ssh]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=17157</guid> <description><![CDATA[In this Linux backup series we have taken a look at Flyback (&#8220;Quick and easy backups with Flyback&#8220;), Backerupper (&#8220;Simple gui backup tool Backerupper&#8220;), and Back In Time (&#8220;Linux Back In Time: Backup made easy&#8220;). But what Linux series would be complete without a command line entry? Not this one. There is one thing that [...]]]></description> <content:encoded><![CDATA[<p>In this Linux backup series we have taken a look at Flyback (&#8220;<a
title="Flyback" href="http://www.ghacks.net/2009/10/08/quick-and-easy-backups-with-flyback/" target="_blank">Quick and easy backups with Flyback</a>&#8220;), Backerupper (&#8220;<a
title="Backerupper" href="http://www.ghacks.net/2009/10/09/simple-gui-backup-tool-backerupper/" target="_blank">Simple gui backup tool Backerupper</a>&#8220;), and Back In Time (&#8220;<a
title="Back In Time" href="http://www.ghacks.net/2009/10/10/linux-back-in-time-backup-made-easy/" target="_blank">Linux Back In Time: Backup made easy</a>&#8220;). But what Linux series would be complete without a command line entry? Not this one.</p><p>There is one thing that most Linux backup tools have in common and that is their underlying technologies. In most cases one of the tools that make the GUI backup tools possible is the venerable rsync. Rsync is an incredibly fast and lightweight file copy tool that can not only copy files to and from a local machine, it can also copy over a network connection &#8211; which makes rsync an ideal candidate for user-generated backup scripts or cron jobs.</p><p>In this tutorial you will learn how easy it is to use rysnc to not only back up specified directories to an external usb drive, but also to backup over a network connection via ssh.</p><p><span
id="more-17157"></span><strong>Command structure</strong></p><p>The structure of the rsync command is:</p><p>rsync [OPTIONS] <strong>SOURCE</strong> <em>DESTINATION</em></p><p>Where SOURCE is the location of the directory to be backed up and DESTINATION is where the backup will be placed.</p><p>Now the structure of the command changes when you are employing a network facility such as ssh. At that point the command structure would look like:</p><p>rsync [OPTIONS] ssh <strong>SOURCE </strong><em>user@destination:/directory</em></p><p>Where <em>user </em>is the user name on the remote machine, <em>destination</em> would be either an IP address or domain, and <em>/directory</em> is the explicit path to the directory you want to back up to.</p><p><strong>Usage</strong></p><p>For the first example we are going to backup the directory <strong>/home/jlwallen/Documents</strong> to the directory <strong>/media/disk/BACKUPS</strong>. This destination is a directory located on an external USB drive obviously mounted to <strong>/media/disk</strong>. The command for this backup will be:</p><p><code>rsync -avh /home/jlwallen/Documents /media/disk/BACKUPS</code></p><p>This is where we run into our first &#8220;gotcha&#8221;. What happens with the above command is that any subdirectory in <strong>/home/jlwallen/Documents</strong> will be created on <strong>/media/disk/BACKUPS</strong>. So if you want to create a similar directory structure on the destination you should first create a parent directory similar to that of the source. So before you run the rsync command issue this command:</p><p><em>mkdir /media/disk/BACKUPS/Documents</em></p><p>The new rsync command would be:</p><p><code>rsync -avh /home/jlwallen/Documents /media/disk/BACKUPS/Documents</code></p><p>The options used in the above command are:</p><ul><li>a: Archive mode</li><li>v: Verbose mode</li><li>h: Output in human readable format.</li></ul><p>Now let&#8217;s backup the same source to a remote location with the help of secure shell. It will help your cause to first make sure you can log into the remove machine via ssh. Once you have that working you are ready to backup. Using our same example we are going to backup to user jlwallen at the IP address 192.168.1.10 to the directory <strong>/home/jlwallen/BACKUPS/Documents</strong>. To do this the command would look like:</p><p><code>rsync -avhe ssh /home/jlwallen/Documents jlwallen@192.168.1.10:/home/jlwallen/BACKUPS/Documents</code></p><p>The added option is e which allows you to specify the remote shell to use.</p><p>You will be prompted for the remote users&#8217; password and then the coping will begin. But what if you don&#8217;t want to have to use a password? If you are wanting to set up automated, remote backups you will have to allow this process to happen without entering a password. To do this you have to create an SSH key without a password. Here are the steps for this:</p><p>create an ssh key on the source machine with the command:</p><p><em>ssh-keygen -t dsa</em></p><p>Press enter when prompted for a password.</p><p>Once the key is created copy that key to the destination key with the following command:</p><p><code>ssh-copy-id -i .ssh/id_dsa.pub username@destination</code></p><p>Where username is the user on the remote machine and destination is the IP or domain of the remote machine.</p><p>Now rsync copying can be done without having to enter a password.</p><p><strong>Final thoughts</strong></p><p>The nice thing about this setup is you can now use rsync to create a cron job for backup automation. Rsync is an incredibly flexible and reliable means for backing up your directories and files. It should be since it is the foundation that so many other backup tools were based on.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/10/11/backup-your-linux-box-with-rsync/feed/</wfw:commentRss> <slash:comments>3</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>
