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

Entroware Launches Two New Ubuntu Laptops, for Linux Gaming and Office Use

Entroware, the UK-based hardware manufacturer, known for delivering high-quality, Linux-based desktops, laptops, and servers solutions powered by the popular Ubuntu operating system, today announced two new products. Read more

Why The Ubuntu Phone Failed

In April 2017, Canonical's Mark Shuttleworth announced that their support of the Ubuntu phone convergence was no longer something they were going to invest in. Looking back on this decision, I can understand where they were coming from. Let's face it, we live in an Android/iOS landscape and all other entries into this space are just spinning their wheels. Considering other projects that failed to garner needed traction such as WebOS, Firefox OS, among others, it's understandable why Canonical decided to refocus their efforts into other areas. Well, at least with cloud services. I differ with them on IoT and believe they're destined to repeat mistakes found with convergence. Read more

Intel Core i9 7900X Linux Benchmarks

Since the Intel Core-X Series were announced last month at Computex, I've been excited to see how well this high-end processor will perform under Linux... Linux enthusiasts have plenty of highly-threaded workloads such as compiling the Linux kernel, among other packages, and thus have been very excited by the potential of the Core i9 7900X with its ten cores plus Hyper Threading and sporting a 13.75MB cache. With finally having an X299 motherboard ready, here are my initial Ubuntu Linux benchmarks for the i9-7900X. Read more

KDE Plasma 5.10.3 Desktop Environment Improves Plasma Discover's Flatpak Backend

Today the KDE Project announced the release and general availability of the third stable update to the KDE Plasma 5.10 desktop environment, which was unveiled at the end of May 2017. Read more