http://arclite.byu.edu/kb/view_article.php?view_id=10
It's just a quick article that I wrote for my office on how to use cron. There is more in dpeth info online. I use cron to run cpbk to back up stuff to another drive.
If you want to backup mysql databases, use the mysqldump command: mysqldump -B [selectedDB] > some_file.sql
The files can be large, but they zip nicely (90% compression). A hard drive crashed when I was in Cairo, and I was able to get everything back up (after another guy put in a new HDD and installed Debian base with SSH), and restored 250,000 database entries in about two hours (sshing over dialup).
Hope this helps.
-Jeremy
From: "Michael R. Bright" <[EMAIL PROTECTED]> Reply-To: BYU Unix Users Group <[EMAIL PROTECTED]> To: BYU Unix Users Group <[EMAIL PROTECTED]> Subject: Re: [uug] Server backups daily incremental, weekly full Date: Mon, 10 May 2004 08:27:20 -0600
Run a couple of cron jobs and scripts on the days in question, only tarring
the information with the "tar" program provided in linux. That would be the
easiest.
Michael R. Bright
----- Original Message ----- From: "Mark Gardner" <[EMAIL PROTECTED]> To: "BYU Unix Users Group" <[EMAIL PROTECTED]> Sent: Monday, May 10, 2004 7:59 AM Subject: [uug] Server backups daily incremental, weekly full
Ahh a new phase in my linux growth......
First let me tell you what I need to do then you all can tell me the best way to do it....
I'm running a server at work (SUSE LINUX 9.0), I'm doing work on it with a LAMP configuration PHP4.3.3. I would like to back up the server, Incremental ever night and then a full backup on the weekend. The things that I need backed up are....
/srv/www /home/..... Mysql Databases Subversion repositories (there are some built in python scripts that will dump out a backup file)
I would use a program like modo/mindi to backup the stuff however the machine does not have a CD burner. I do have access to a 100 MB samba share on another machine in the BYU datacenter, and my second windows workstation (about 40GIG free).
I think for what I need I'll have to do is some shell scripting... am I on the right track or totally off in left field..
Thank you ALL for you help
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar � get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
