Automate Ubuntu Backups with Cron and TAR
Using Daily Cronjobs and TAR to Backup Data on a Ubuntu Desktop
Being relatively new to the world of Linux, I am often overwhelmed by the functionality that is built into the Linux operating systems that was previously unavailable to me under the Windows platform. This was the case whenTAR is the next internal program that I have come to love. TAR is a tape backup archive file program. It basically allows you to pull in tons of data, and make a copy of that data into one file for backup purposes. In Windows, in order to create a stable backup, I'd have to use something proprietary. Which means purchasing software. The built-in Windows backup software leads a lot to be desired, but generally, all Windows backup software will to the same thing. It will compress the files into a proprietary file format. Now, if I did have a disaster, I'd have to find or build an emergency recovery disk just to restore the files back into the computer. As I've referred in previous articles, the main reason to switching my home PCs to Linux was ease of recovery and re-installation over Windows. In the Linux world, I can use TAR to extract all my backed up files, and the file permissions and ownership (something critical in the Linux world) are preserved. So my goal was to use cron daily scripts and TAR to automate a daily backup routine that would ensure my data is preserved. Once I had that data into one file, the last step would be to figure out how to automate an ftp upload of my data to a separate PC for offline storage.
Related information
Most Comments Today
- Death at Disney World in Orlando, Florida Monorails collide one driver has died at the Disney World Theme Park in Orlan... 29 Comments
- A Little Good News Today Here is...a little good news today. 25 Comments
- Why Would a Web Writer Drop DayLife.Com? Before I share my story with you, dear readers, I want to point out that Dayl... 24 Comments
- Give a Damn Another new song, this one describes the feelings of us who save the world ev... 17 Comments
- Hair and Make-Up Tips from Nancy Looking good is as easy. Looking stunningly beautiful is an art. 16 Comments
- Bachelorette 5 Spoiler: Wes Hayden Spills the Beans About... This week July 6, 2009 episode 8 of the Bachelorette Jillian will finally d... 16 Comments





