1830354 Members
2304 Online
110001 Solutions
New Discussion

Backup Script

 
SOLVED
Go to solution
Donny Jekels
Respected Contributor

Backup Script

I am busy compiling a backup script.

1. I am sending a list of files to be tar'ed to disk then gzip this tar ball.

2. I then use dd or maybe cpio to copy the file to tape

Now what I need to do next is to put EOF stamps on the tape, maybe reserv the tape drive till the next job run.

This is a stand alone tape drive, that I need to automate. but dont want to overwrite files. the tape loaded will be able to take tar files for each day of the week, untill it needs replacement.

What I, need to find out if anyone has done a similar project either in KSH or Perl (these are my languages of choice) to help me under stnad how to eof stamp the tape after the file is copied to the tape, and then reserve the tape till tomorrow and then release it just before the next backup. ???

sound confusing - see attached KSH script - the eof, release and reserve functions is not complete
"Vision, is the art of seeing the invisible"
1 REPLY 1