Answers to: Looking for strategy on backing up data (linux folders/files)http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles<p>I am looking to find a strategy for backing up data. I have an Ubuntu 10.04 box that I have essentially acting as a server. I work on multiple UNIX systems and I daily backup critical databases, directories, files, etc., via a combination of tar, bzip2, sshfs, and scp. Because of this, I have daily "snapshots" and this will begin to take it's toll on my storage space although I'm okay with snapshots but I was hoping to find out if there is a better way.</p> <p>Any ideas or pointers are greatly appreciated. One item I am not familiar with and haven't studied is the idea of using tar, etc., to "sync" to an existing tar file. Maybe that's a better way so if anyone can point me in the right direction on that as well.</p>enTue, 17 Aug 2010 07:53:38 -0400Answer by Robert Bakarichttp://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/1219<p>Well, </p> <p>If you are a Perl oriented person then <a href="http://search.cpan.org/~lbrocard/Dackup-0.44/lib/Dackup.pm" rel="nofollow">http://search.cpan.org/~lbrocard/Dackup-0.44/lib/Dackup.pm</a> is your friend. i use it for everything and anything. just make a backup aplication (20 lines of code) and set it under crone and all problems solved. (for me at least)</p>Robert BakaricTue, 17 Aug 2010 07:53:38 -0400http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/1219Answer by craigevilhttp://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/1209<p>rdiff-backup used with <a href="http://smxi.org/site/about.htm#rbxi" rel="nofollow">http://smxi.org/site/about.htm#rbxi</a></p>craigevilThu, 12 Aug 2010 01:47:53 -0400http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/1209Answer by trashbird1240http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/888<p>Tar is not meant for incremental backups, unless you're using tape. Rsync is the best solution I've found. I have a script that has worked well for me for years, which you can download from</p> <p><a href="http://www.unc.edu/~adamsonj/files/jbackup-0.1.tar.gz" rel="nofollow">http://www.unc.edu/~adamsonj/files/jbackup-0.1.tar.gz</a></p> <p>It's licensed under the GPL.</p> <p>Keep in mind that experts (i.e. paranoids) recommend you having backups on multiple media, and in multiple locations, e.g. in case your house burns down or some kind of catastrophe destroys your whole system (including the external hard drive you are mirroring to).</p> <p>Enjoy! Joel</p>trashbird1240Sat, 19 Jun 2010 19:49:23 -0400http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/888Answer by ananth.phttp://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/882<p>Unison File Synchronizer works wonderful in this direction. <a href="http://www.cis.upenn.edu/~bcpierce/unison/" rel="nofollow">http://www.cis.upenn.edu/~bcpierce/unison/</a></p>ananth.pFri, 18 Jun 2010 09:11:53 -0400http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/882Answer by jeremyhttp://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/835<p>rsnapshot will give you the benefits of daily snapshots without taking much more space than a single snapshot (at least for normal usage patterns. If you have a ton of data changing on a daily basis, you'll want to explore other options).</p> <p><code>rnspashot</code> - <a href="http://www.linuxquestions.org/linux/articles/Jeremys_Magazine_Articles/Backups_with_rsnapshot" rel="nofollow">http://www.linuxquestions.org/linux/articles/Jeremys_Magazine_Articles/Backups_with_rsnapshot</a></p> <p>--jeremy</p>jeremyFri, 11 Jun 2010 02:16:12 -0400http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/835Answer by Ronhttp://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/727<p>rsync is a good option, also I find simple-backup and also luckybackup to also be useful in their own ways. Obviously if you JUST want to backup folders and files, that is different than say backing up entire systems, which you would use a different toolset to do, like Clonezilla.</p> <p><a href="https://help.ubuntu.com/community/BackupYourSystem/SimpleBackupSuite" rel="nofollow">https://help.ubuntu.com/community/BackupYourSystem/SimpleBackupSuite</a></p>RonFri, 28 May 2010 22:24:54 -0400http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/727Answer by DBAhttp://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/726<p>I've used two strategies depending upon my need. For both I have an online RAID6 array containing a directory for each machine I'm backing up. Currently I'm using a Thecus N5200 which has been reliable for a few years: </p> <p>1) Rsync is FAST and will help your snapshot problem a bit. It overwrites files having the same name with the newer version. It does NOT delete files removed on the original machine which may be a plus or minus depending upon your need to archive vs. restore.</p> <p>2) For snapshots using an efficient DIFF scheme to minimize duplication, I use rdiff-backup. It's much slower than Rsync but has allowed me to restore working machines when they've been totally clobbered. It also has a feature allowing you to delete old snapshots. Read all about it (after you install it from synaptic or Applications/Ubuntu Software Center) at:</p> <p>man (1) rdiff-backup</p> <p>Good Luck.</p>DBAFri, 28 May 2010 15:39:17 -0400http://linuxexchange.org/questions/725/looking-for-strategy-on-backing-up-data-linux-foldersfiles/726