LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-06-2003, 01:58 PM   #1
jermo5
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, 02:08 PM   #2
synecdoche
Member
 
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.

-dave
 
Old 08-06-2003, 03:09 PM   #3
Glock Shooter
Member
 
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.
 
  


Reply



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 12:03 PM
backing up a directory to another hard drive aducarrab Linux - Newbie 1 01-29-2005 09:27 PM
Backing up selected directory... CRCool75 Linux - Enterprise 26 07-23-2004 09:01 PM
Backing up my hard drive? brynjarh Linux - Newbie 1 07-04-2004 05:28 PM
Adding Hard Drive and Backing Up Cynthia Blue Linux - Hardware 2 12-26-2002 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:59 PM.

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