Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-06-2003, 02:58 PM   #1
LQ Newbie
Registered: Aug 2003
Location: Philadelphia
Distribution: Red Hat
Posts: 10

Rep: Reputation: 0
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 !

Thanks. Jeremy
Old 08-06-2003, 03:08 PM   #2
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148

Rep: Reputation: 15
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.

Old 08-06-2003, 04:09 PM   #3
Glock Shooter
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
backing up suse to another drive basilogics Linux - Newbie 3 06-30-2005 01:03 PM
backing up a directory to another hard drive aducarrab Linux - Newbie 1 01-29-2005 10:27 PM
Backing up selected directory... CRCool75 Linux - Enterprise 26 07-23-2004 10:01 PM
Backing up my hard drive? brynjarh Linux - Newbie 1 07-04-2004 06:28 PM
Adding Hard Drive and Backing Up Cynthia Blue Linux - Hardware 2 12-26-2002 12:50 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration