- Community Home
- >
- Storage
- >
- Legacy
- >
- Optical Jukeboxes and Drives
- >
- Re: TAR Backup
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
10-02-2001 11:39 PM - last edited on 01-26-2014 07:04 PM by Maiko-I
10-02-2001 11:39 PM - last edited on 01-26-2014 07:04 PM by Maiko-I
TAR Backup
When tar cvf /dev/rmt/0m file1 is executed form the commnand line , it does not write to
tape but file1 is emptied. Why does tar empty
a file ?
P.S. This thread has been moved from Storage > General to HP-UX > sysadmin.- Hp Forum moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2001 12:57 AM
10-03-2001 12:57 AM
Re: TAR Backup
You need to make sure that you have a
full path statement to your file or
telling the shell the current directory.
e.g.
# tar cvf /dev/rmt/0m /tmp/myfile
or
# cd /tmp
# tar cvf /dev/rmt/0m ./myfile
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2001 04:13 AM
10-03-2001 04:13 AM
Re: TAR Backup
tar cvf /dev/rmt/0m file1
or tar cvf /dev/rmt/0m file1 file2 file3
or tar cvf /dev/rmt/0m file*
are all valid syntaxes, pathnames are not mandatory.
I have no clue why your source file gets emptied. Did you check other possibilities ?
- tar ... > file1
- result of other process?
- emptied by other user.
...
good luck,
Thierry.