Language Selection

English French German Italian Portuguese Spanish

rdiff-backup: Easy incremental backups from the command line

Filed under
Software

Storage is becoming cheaper and cheaper: you can find hard drives that cost less than a dollar per GiB. Buying an external hard drive to make backups (or even having a backup server) is a must if you value your work and what you have stored in your computer. However, doing backups should be easy enough to be done on a regular basis. The more automated, the better.

So, I find no excuse not to do regular backups and looked for a tool easy-to-use but powerful. rdiff-backup is a python script that helps doing local and remote incremental backups. To backup your $HOME to an external hard drive mounted in /media/backup simply do:

$ rdiff-backup $HOME /media/backup/home_backup

If after some days you want to backup your new files, run the same command to update the backup.

Now, in /media/backup/home_backup you have an exact copy of your home as it was when you did the last backup. If you want to restore a directory, you can just copy it:

rest here




More in Tux Machines

Pondering the Fate of Open Source & Software Licenses

Having used OpenOffice for several years on the Panasonic Toughbooks I use in the field, I've avoided buying into traditional or subscription-based services. While enterprises may have a different view on licensing, cost most always figures into the decision-making process. So if they go the subscription route, they'll have to then ask what strategies they can use to lower those costs. Will they be able to haggle on price? If the subscription model does become the norm, will OpenOffice and other open-source software thrive, dive, or stay the same in market share? I'd like to hear your thoughts. Read more

Open Lunchbox: Yet Another Open-Source Laptop Attempt

Open Lunchbox is the latest project attempting to do an open-source laptop design. Open Lunchbox is trying to do their laptop project in a modular, open hardware design. How Open Lunchbox claims to be different from the other modular computers and laptop projects that claim to be open-source friendly is that "Open Lunchbox will the first open source modular laptop that is powerful enough for everyday use...The problems with other so called open laptop projects have been either not being x86, not being powerful enough to use as a laptop, not being open or not being an actual laptop." Read more

Get a paycheck in open source, be a social activist

Ross currently serves as director of member services with the Linux Professional Institute. He has over 15 years of experience as Linux trainer and has authored several books on Linux and open source software. Read more Also: Breaking out of the 'comfort zone' with open source

Linux Mint 17.1 (Rebecca) vs. Ubuntu 14.10 (Utopic Unicorn)

The battle for the best modern desktop still rages on. Two of Linux world’s favorite distributions are often difficult to choose from, especially if you are new to the penguinland. Whether you are a dabbler, a budding programmer, or an ever-curious tinkerer; choosing your first Linux desktop is a tough choice. Asking on the Internet for random people to make that choice for you, adds even more to the confusion. They will give you various answers, from Slackware and Fedora to Ubuntu and Plan 9. However, if you filter their responses to only pick the most popular ones, the distribution deathmatch can boast of only two contenders in the ring: Ubuntu and Linux Mint. Read more