I have a question regading backup to tape device.Can we append files to an existing tape archive using "tar" command.Is there any option available for that.
I don't think you can use the the "r" argument for tape archives. It's only for disk.
You can do the original "tar" using the no-rewind device file. It's probably the same as your current device file but with a "n" prefix (e.g. /dev/nrct0 rather than /dev/rct0). You can then do a new "tar c" command to start a new tar archive after the first archive.
To move around the tape to recover files use the "tape" command to position the tape to the archive you need to recover. You should practice this to ensure you are getting reliable backups. Use the "tar t" command to verify both archives after your backup is completed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.