Automating Ubuntu Backups with TAR and Cron
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
- Cron is an automated scheduling service that can call shell scripts.
- TAR is an archive file program available on all Linux and UNIX machines.
Most Comments Today
- Death at Disney World in Orlando, Florida Monorails collide one driver has died at the Disney World Theme Park in Orlan... 23 Comments
- Give a Damn Another new song, this one describes the feelings of us who save the world ev... 22 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... 22 Comments
- Is Obamageddon Coming? The times they are a changin' - but are we hurtling toward Armageddon - or as... 20 Comments
- Hot News Quickies - Monday, July 6, 2009 News happens while you sleep - get your Hot News Quickies here! 18 Comments
- Bachelorette 5 Spoiler: Wes Hayden Spills the Beans About... This week July 6, 2009 episode 8 of the Bachelorette Jillian will finally d... 18 Comments






