FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 09-11-2008, 08:23 PM
ammad shah
 
Default tape

Dear all,

i am trying to backup on tape drive (lto3), but when i save it , it always overwrite on previous files. even though i am writing every time a new file.

#tar -cvf /dev/st0 backup-01-09.tar.gz
#tar -tvf /dev/st0
backup-01-09.tar.gz
#tar -czvf /dev/st0 backup-02-09.tar.gz
#tar -tvf /dev/st0
backup-02-09.tar.gz

Why ?

and how do i know space left on tape drive before backup. i am using single cartridge IBM LTO 3 tape drive.

thanks.
__________________________________________________ _______________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_ domore_092008--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 09-11-2008, 08:29 PM
Billy Davis
 
Default tape

ammad shah wrote:

Dear all,

i am trying to backup on tape drive (lto3), but when i save it , it always overwrite on previous files. even though i am writing every time a new file.

#tar -cvf /dev/st0 backup-01-09.tar.gz

#tar -tvf /dev/st0
backup-01-09.tar.gz
#tar -czvf /dev/st0 backup-02-09.tar.gz
#tar -tvf /dev/st0
backup-02-09.tar.gz

Why ?

and how do i know space left on tape drive before backup. i am using single cartridge IBM LTO 3 tape drive.

thanks.

__________________________________________________ _______________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_ domore_092008--
redhat-list mailing list

unsubscribe mailto:redhat-list-request@redhat.com?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list



Use device /dev/nst0 instead of /dev/st0. It is the same tape drive,
but the 'n' means 'no rewind' between files.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 12:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org