<?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 backup</title> <atom:link href="http://www.ghacks.net/tag/linux-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 17:32:23 +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>Backing up with Deja Dup</title><link>http://www.ghacks.net/2010/06/15/backing-up-with-deja-dup/</link> <comments>http://www.ghacks.net/2010/06/15/backing-up-with-deja-dup/#comments</comments> <pubDate>Tue, 15 Jun 2010 11:25:16 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Online Services]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[Fedora]]></category> <category><![CDATA[linux backup]]></category> <category><![CDATA[mounting Samba]]></category> <category><![CDATA[Windows Share]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=26608</guid> <description><![CDATA[In a recent article I introduced to the Ghacks readers the latest release from Fedora (see &#8220;Fedoras Lucky 13&#8220;). In this article I mentioned a number of features that helped to make Fedora one of the more user friendly Linux distributions available today.  One of the reasons this is so is the inclusion of some [...]]]></description> <content:encoded><![CDATA[<p>In a recent article I introduced to the Ghacks readers the latest release from Fedora (see &#8220;<a
title="Fedoras lucky 13" href="http://www.ghacks.net/2010/06/11/fedoras-lucky-13/" target="_blank">Fedoras Lucky 13</a>&#8220;). In this article I mentioned a number of features that helped to make Fedora one of the more user friendly Linux distributions available today.  One of the reasons this is so is the inclusion of some tools that make using Fedora 13 incredibly easy. One such tool is the backup system Deja Dup. Daja Dup makes backups incredible simple. With an interface containing no more than a menu bar and two buttons, backing up couldn&#8217;t be easier.</p><p>But that simplicity doesn&#8217;t mean Deja Dup is complete bereft of features. Not at all. In fact, you&#8217;d be surprised at how many different ways you can backup with Deja Dup. In this article you are going to see how easy it is to back up your Fedora 13 files and folders with this handy tool.</p><p><span
id="more-26608"></span></p><p><strong>Features</strong></p><p>Deja Dup offers the following features:</p><ul><li>Amazon S3 cloud support.</li><li>Support for local or remote backups.</li><li>Encrypts and compresses your data.</li><li>Incremental back up.</li><li>Restore from any particular  backup.</li><li>Scheduled backups.</li><li>Integrated into the GNOME desktop.</li></ul><p>But how does it work? Is it really that simple? Yes. Let&#8217;s find out.</p><p><strong>Usage</strong></p><div
id="attachment_26609" class="wp-caption alignleft" style="width: 239px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/06/deja_dup.png"><img
class="size-full wp-image-26609 " src="http://www.ghacks.net/wp-content/uploads/2010/06/deja_dup.png" alt="" width="229" height="163" /></a><p
class="wp-caption-text">Figure 1</p></div><p>To start Deja Dup click <strong>Applications &gt; System Tools &gt; Deja Dup Backup Tool</strong>. When Deja Dup starts up you will see it&#8217;s main (and only) window (see Figure 1). As I mentioned earlier, this window consists of two simple buttons (Restore and Backup). It can&#8217;t get more obvious than this. If you want to backup you hit the Backup button&#8230;you get the idea.</p><p>On first run, hen you click the Backup button, a Wizard will pop open to help you set up your backup preferences. This window wants the following information:</p><p><strong>Backup location</strong>: This is where you backup to. If you want to connect to a remote system you just click the Connect</p><div
id="attachment_26610" class="wp-caption alignright" style="width: 213px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/06/deja_dup_server.png"><img
class="size-full wp-image-26610 " src="http://www.ghacks.net/wp-content/uploads/2010/06/deja_dup_server.png" alt="" width="203" height="211" /></a><p
class="wp-caption-text">Figure 2</p></div><p>To Server button which will open up a new window (see Figure 2). This new window should look very familiar to anyone that has connected a GNOME desktop to a Windows share. From the Service type drop down select the type of connection you want to make and then fill in the information. If you are wanting to backup to a Windows share, Deja Dup will mount the share on your system. Once the share is mounted you have to select the mount in the Backup location drop down in the Preferences Wizard.</p><p><strong>Include/Exclude files</strong>: In this preferences section you decide what is to be included in your backups. By default Deja Dup will include your Home (<strong>~/</strong>) directory and exclude your Trash folder. If you decide to go with the default, just make sure your backup location has plenty of room.</p><p>Those are the only two major steps in the Wizard. Once you have added the Include/Exclude files to the Preferences you will be at the last step of the Wizard where you can click the Backup button to run the first backup. If, however, you have opted to encrypt your backup you will be given one final step &#8211; to add an encryption password. Once you click Continue the backup will begin. Once the first backup is complete Deja Dup will ask if you want to automatically backup. You can select from Daily,  Weekly (default), Monthly, or bi-Monthly.  You do not get to choose the time for your backup.</p><p>NOTE: If you are doing regularly scheduled backups to a Windows share, make sure that share is mounted when the backup is to occur or else the backup will fail.</p><p><strong>Final thoughts</strong></p><p>That&#8217;s it. Deja Dup is about as user-friendly a backup tool as you will find. It&#8217;s simple to use and very reliable. If you are trying to find a good backup tool that will not wrack your brain with complexity, yet still offers enough features to get the job done give Deja Dup a try.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/06/15/backing-up-with-deja-dup/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <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> </channel> </rss>
