Serge <[EMAIL PROTECTED]> ha escrit: > Executing the command backup, I finally got a successful completion, > that is RC0 for the backup of the two directories, and of the > Miscellaneous Files. But it seems that every successive sub-routine > overwrites the previous one. The end result is that my BACKUP_FILE > only includes the files of the Miscellaneous only. Should not the Tar > operation be --append instead of --create ?
No, it should not. What happens is that your tape device is in automatic rewind mode, so it rewinds back after tar finishes writing the archive and, consequently, the next write overwrites the previous one. The solution is: make sure the device is in `no rewind' mode. How to do that depends on the device itself and on the OS you are using. Often the same hardware device has two device files associated with it: one for autorewind mode and another one for `no rewind'. For example: /dev/st0a and /dev/nst0a, correspondingly. Regards, Sergey
