- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- About Tar command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 09:33 PM
тАО04-14-2004 09:33 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 10:21 PM
тАО04-14-2004 10:21 PM
Solutiontar cvf device files -> to copy files to tape
tar xvf device -> to extract.
tar rvf device files -> to append files.
Be careful, because if you append a file that is already in the tape, the file is copied again, so when you restore your copy you must wait to the end of tape to get the latest version of that file.
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 10:59 PM
тАО04-14-2004 10:59 PM
Re: About Tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 11:06 PM
тАО04-14-2004 11:06 PM
Re: About Tar command
Check the command mt, i don't know it very well but something like this could work:
mt -f device rewind
mt -f device fss
tar tvf device
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 11:25 PM
тАО04-14-2004 11:25 PM
Re: About Tar command
first of all: assign some points to the 168 of 169 answers people have sent to you.
Check your forum profile and take some time to assign points. And read the forum etiquette...
About your question: do you want 1 tar file on the tape, or multiple tar files? If you append to the tar file on the tape, you only need to prevent the tape eject from happening. Who / what is ejecting the tape?
If you want multiple tar files, the tape must not be rewound, otherwise you have to position the tape each time.
Linux tar:
tar -u : appends files to the tar archive that are newer than those in the archive. So tar -uvf /mnt/backup will do it.
Or:
tar --create -- verbose -- listed-incremental
/dev/
will create incremental tar file (if
Or
tar cvf
Check the man page for all the commands and qualifiers.Do some simple test on a small subdirectory.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 12:39 AM
тАО04-15-2004 12:39 AM
Re: About Tar command
about your previous suggest , how can I prevent the tape rewind after run the tar ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 12:57 AM
тАО04-15-2004 12:57 AM
Re: About Tar command
What I mean is
I know why the tape will be eject , now I CAN fix this problem , but there is still a question , about your previous suggest , how can I prevent the tape rewind after run the tar ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 01:42 AM
тАО04-15-2004 01:42 AM
Re: About Tar command
mt -f /dev/st0 rewind
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 01:57 AM
тАО04-15-2004 01:57 AM
Re: About Tar command
use /dev/nst0 for norewind.
Thanks for the points. ;-(
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 04:12 AM
тАО04-15-2004 04:12 AM
Re: About Tar command
RTFM ;-), specifically
http://www.dlt.com/storage/whitepapers/quantum/dlt/DLT%208000%20on%20Linux.pdf
which should cover your issues.
JP already covered the points, didn't he?
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 04:35 AM
тАО04-15-2004 04:35 AM
Re: About Tar command
├й ├е ├и┬л ├е┬г ├з ┬▒├д┬╗┬╗├д┬╜ ├д┬║┬║├д┬╕ ├й ├з ┬и├и ┬╖├е ┬б├е┬╛ HP ├г ├е ├з┬н ├ж ┬и├з ├е ├й┬б ├з ├д┬║┬║├ж┬░ ├ж ┬п├е ┬и├й ┬и├е ├е┬ж ├ж┬н┬д├з ┬║├и ┬к├з ┬▒├г ├д┬╗ ├е ├е┬╛ ├е ┬░├в ┬б├д┬╗ ├й┬║┬╝├з ┬║├е┬╣┬л├е ┬й├ж ┬и├е I ├й ┬д├д┬║ ├ж ├е ├з┬╡┬ж├д┬╗ ├е ├з ├ж ├и┬м ├г
├е ├з ┬║├е┬о ├д┬╕ ├ж ┬п├е ┬п├и ┬╜├з ┬║├ж ├е ├и┬ж┬к├и ┬к├з ├е┬д┬з├е┬д ├ж ┬╕, ├ж ├е ├е┬┐ ├й ├й┬б┬п├з┬д┬║├ж ├е ├з ├ж┬м┬г├и┬│ ├з ┬▒├ж ├д┬║ ├й┬╗ ├ж ├е ├е┬╛ ├е ┬░├е┬╛ ├ж ├е ├з ├е ├и┬╝┬й├з ├е ├е ├з┬н ├е┬╛┬й├г
├ж ├е┬╕┬╢├д┬╛ ├й ├з┬╡┬ж├ж ┬и├з ├ж┬│┬и├ж
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 04:42 AM
тАО04-15-2004 04:42 AM
Re: About Tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 11:08 AM
тАО04-15-2004 11:08 AM
Re: About Tar command
That's in the page code, so, probably not (although I saw someone's name in correct symbols in the issues forum.. go figure).