Use two tar commands to pack the partitions into tarballs and write the files to tape. (tar is a contraction for tape archive). If you want to use compression the first tar command will be roughly along the lines of:
tar -czf /dev/tape /path/to/data/*
The second command could add place the second partition on the second file on the tape or on a separate tape depending on the space needed.
Then create a file containing your tar commands and whatever other commands you want in the script. Make the script command executable.
Last edited by jailbait; 11-10-2008 at 03:15 PM.