Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Appending tp LTO 4 media



On Apr 2, 2010, at 1:06 PM, Stephen Goldman wrote:
> 
> I 'm not sure how to append to the existing tape ? 
> 
> Do you need to move to the end of the data - <mt -f/dev/st0 eod> 

For starters, you need to use the non-rewinding device: /dev/nst0
You can then do something like:

mt -f /dev/nst0 rewind
tar cf /dev/nst0 /usr
tar cf /dev/nst0 /var
tar cf /dev/nst0 /home
mt -f /dev/nst0 rewind
mt -f /dev/st0 asf 1
tar xf /dev/nst0

and restore the /var archive.

mt -f /dev/nst0 status

will return some useful information.

--Rich P.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org