LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   2 questions(Re: backup to scsi tape drive) (http://www.linuxquestions.org/questions/linux-general-1/2-questions-re-backup-to-scsi-tape-drive-4263/)

ascii2k 07-13-2001 04:47 PM

2 questions(Re: backup to scsi tape drive)
 
OK, I have 2 questions. Pretty simple I think.
I have:
Linux Server
SCSI Tape drive - > st0


1. I want to use tar to backup files to the tape drive. What is the command line to do that?


2. If I wanted to use DUMP to backup to this drive also, what would the command be to do that? Thanks!

jharris 07-13-2001 05:19 PM

Re: 2 questions(Re: backup to scsi tape drive)
 
Quote:

Originally posted by ascii2k
1. I want to use tar to backup files to the tape drive. What is the command line to do that?

2. If I wanted to use DUMP to backup to this drive also, what would the command be to do that?

Code:

tar cvf /dev/st0 /someDirYouWantToBackup
If you don't want to see all the files it processing (handy if you start it in background using &) then ommit the v from the above command. Don't have a clue about dump, I ain't got it on my box...

HTH a bit

Jamie...

ascii2k 07-16-2001 09:07 AM

Thanks for the info! Does anyone else know the commands for dump?

linuxcool 07-16-2001 06:07 PM

First do a man dump to see if the man page is there. If not, check here for dump.

nabil 07-16-2001 06:36 PM

I think tar is more powerfull than dump...One of the greatest backup solutions software is built on tar...If I were you I will just use tar as Jamie suggested.

jharris 07-16-2001 06:47 PM

I've got good milage out of cpio too - its stores more of the file details.

cheers

Jamie...


All times are GMT -5. The time now is 12:43 PM.