Differences
This shows you the differences between two versions of the page.
en:linux:backup:start [2012/06/14 01:40] alex created |
en:linux:backup:start [2012/06/14 02:13] (current) alex |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Backup Scripts ====== | ====== Backup Scripts ====== | ||
+ | |||
+ | Backing up data is something that everyone says you should do but nobody gets around to it until it's too late. I learned the hard way when some water got spilled on my computer and reverse-electroplated some copper off of the hard drive PCB, rendering it useless. Fortunately, I had some backups, but not everything was backed up. These scripts are tried and true, and I use them very often to keep my data secure. The first script can be set up in maybe 10 minutes, tops. The second one takes a bit longer, but produces an encrypted backup for security. | ||
+ | |||
+ | Grab these scripts and get your data secure today! | ||
===== Full system rsync ===== | ===== Full system rsync ===== | ||
Line 15: | Line 19: | ||
===== MySQL backup to disk ===== | ===== MySQL backup to disk ===== | ||
- | This script wraps mysqldump to efficiently back up and compress multiple databases to flat files. | + | This script wraps mysqldump to efficiently back up and compress multiple databases to flat files. Useful for backing up website databases with the above scripts. |
[[mysql-backup]] | [[mysql-backup]] | ||