Some time ago, I posted A Question about Server upgrade and Backup Since that time, I have upgraded the system to include all upgrades to the relevant files, have installed and configured Wordpress, upgraded it to 3.04 and have run the sytem update utility so that all my debian files are up to date as of this posting.
I have also ran the update utility for webmin and have upgraded to the next version (Webmin version 1.530) and have performed the update that it wanted. Now, I want to command the system to do the following.
1. Backup MYSQL Databases for BBUS' Blog
2. Backup the BLOG files, etc on BBUS - (/var/www/blog/
3. Backup all website files - (/var/www/
4. Backup all files in /etc/
5. Backup all files in /var
6. Backup all files in /home/
7. Backup additional files that the Linux Gurus think are necessary
Then, I want to Make the system drop files to /home/baker7/backup.Date/ and have the /var/, /var/www/, and /var/www/blog/ directories have the information. These files should be TAR files, and available by going to the directory and searching the backups by date. I also want to have the blog database backed up as well as the /home directory files. so you have files that look like this:
etc-Date.tar
Var.Date.tar
www-Date.tar
blog-Date.tar
home-Date.tar
Database-Date.tar
misc-files-Date.tar
I may not know how to make the script to do this, but I have a pretty good idea of what I want to do - Then I will back these files UP onto my 1TB WD drive and then burn the backups to disc later. I also want to be able to delete the older files if they are still there - This is so I don't bork it and have a system that is missing files. In the event of a crash, then I should be able to run an undo script as well, but I want to automate this, so that it does it on a schedule and so if I crash, I don't have to ding around with usernames, passwords, permissions, etc. If this script can be run on a regular basis and I can make sure these files don't get corrupted, I will ALWAYS have the backups. Last time I did this, I did it manually, and it took a few hours.
Can anyone give me an idea of how to do what I want, and or recommend any other files that should be backed up? I want to do this sometime in the next couple weeks.
Thanks for any assistance you can provide
Brian

Sign In »
Register Now!
Help

Back to top
MultiQuote