backup data
Hello,
I'm looking way to backup all my data on one of my scsi harddrive to other scsi drive at every night, what is the best method to do that Dan |
That depends on many factors, just a
few examples: Does the machine need to be up 24/7? Does any kind of service try to write to the disk that you want to backup at any time it fancies? Cheers, Tink |
The system will be up 24/7 with web and mysql and some other applications
I want save my data in case i delete something or hard drive dies so that i can restore the data Dan |
In that case the process will be "non-trivial" :)
I'd suggest the following procedure: Take a full copy of the drive while the machine is off-line (e.g. using a boot-cd) so you could just swap the HDD in case of a physcial failure. As for the ongoing work: You'll have to set-up two jobs (possibly both triggered by the same cron-event). One will be to mysqldump the database and then copy that file to the other drive (you may want to consider version-keeping, like a weekly roll-over, using e.g. the rsync backup-script). The other should be an rsync of your www-directory which should be no big deal at any given time. Cheers, Tink |
All times are GMT -5. The time now is 03:04 AM. |