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

Confessions of an open source purist

I have also repeatedly evaluated GNU/Linux as a platform for my daily writing and administration. Each time, I’ve found it fairly easy to install (moreso every time I try) and easy to add applications. I’ve never had problems with malware, but at some point in the life of the system, a problem arises that at best causes an inconvenience (like the sleep mode failing) and at worst leaves the system impossible to boot. Read more

Healthcare one of the most impacted industries by open source

Healthcare is one of the most urgent socioeconomic issues of our time. This year, Opensource.com saw a variety of news and feature stories about applying the open source way and open source software (including tools) to alleviating the many problems faced by the healthcare industry. Here are this year's best of the best from Opensource.com in open health. Read more

The Open Bay helps launch 372 ‘copies’ of The Pirate Bay in a week, becomes GitHub’s most popular project

isoHunt, the group now best known for launching The Old Pirate Bay, has shared an update a week after debuting The Open Bay. The Pirate Bay, the most popular file sharing website on the planet, still isn’t back following police raids on its data center in Sweden, but its “cause” is very much alive. The Open Bay, which lets anyone with “minimal knowledge of how the Internet and websites work” deploy their own version of The Pirate Bay online, is becoming an open source engine of The Pirate Bay website, the group told VentureBeat in an email. “The fate of Open Bay is now in the hands of worldwide community.” Read more

Red Hat CEO lauds open source’s progress

For years, Red Hat executives fielded questions about its open source software from prospective customers: “Is open source safe? Is it secure? Is it reliable?” But such inquiries have faded as open source software has gained momentum, CEO Jim Whitehurst wrote in a recent blog posted on the website of the Raleigh-based company. Red Hat is the leading open source software company. “Today, it is almost impossible to name a major player in IT that has not embraced open source,” Whitehurst wrote. “Only a few short years ago, many would have argued we would never see that day.” [...] More than 90 percent of the Fortune 500 companies are Red Hat customers today. “Open source was initially adopted for low cost and lack of vendor lock-in, but customers have found that it also results in better innovation and more flexibility,” Whitehurst stated. “Now it is pervasive, and it is challenging proprietary incumbents across technology categories. It is not only mainstream, open source is truly leading innovation in areas like cloud, mobile, big data, the Internet of Things, and beyond.” Read more