LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   backing up directory to CD-RW drive? (https://www.linuxquestions.org/questions/linux-software-2/backing-up-directory-to-cd-rw-drive-79587/)

jermo5 08-06-2003 01:58 PM

backing up directory to CD-RW drive?
 
We want to backup our /apache/htdocs/images directory every week. I have several questions about this:

1. Can I somehow backup directly to a CD-RW drive?
2. Can I somehow backup incrementally (where it will just add the files that have been added or changed since the last backup)? (I am willing to purchase software that will do this, around $40).
3. If CD-RW is impossible, what is the best way to tar the entire directory and copy it to a shared drive on our network, which can then be backed up by our primary domain controller (windows 2k)?

It is extremely important that we maintain backups of our images, and it doesn't matter if we can't do incremental. ANY suggestions would be much appreciated. Oh yeah, I guess you could call me a :newbie: !

Thanks. Jeremy

synecdoche 08-06-2003 02:08 PM

I wouldn't know how to write one but I am willing to bet it wouldn't be too hard to write a script that would to this for you, using standard cd-writing tools.

I think what you would have to have it do is:

1) Identify the date and compare it to the last backup date (to see if one is necessary)
2) Check the directory for what files have been changed
3) make a tar file of the updated files
4) write the file to disk.

As I said, I don't know enough about scripting to be able to do this (mainly steps 1 and 2) but it seems to be simple enough.

-dave

Glock Shooter 08-06-2003 03:09 PM

I backup to a CD-RW. I use cron, but I just have the CD blanked each time and write everything. I have it set every other day.


All times are GMT -5. The time now is 04:18 AM.