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
Forums
Discussions
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
12-10-2001 08:27 AM
12-10-2001 08:27 AM
I am trying to tar a directory on tape, expolde it into a different directory. Any ideas?
Thx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 08:28 AM
12-10-2001 08:28 AM
Re: TAR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 08:33 AM
12-10-2001 08:33 AM
Re: TAR
If the archive was made using absolute paths then you need to use 'pax' to restore the 'tar' archive to a different directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 08:34 AM
12-10-2001 08:34 AM
Re: TAR
U need to use relative paths. Try this:
1) go to the directory u want to backup ( cd dir_path)
2) tar -cvf device_name .
3) go to the directory uu want to restore ( cd new_dir_path)
4) tar -xvf device_name
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 08:35 AM
12-10-2001 08:35 AM
SolutionSay you want to tar up the /sbin dir. I usually would use:
cd /
tar cvf /dev/rmt/0m ./sbin
When you tar tvf to see what is there you see./sbin
./sbin/aaa
etc...
Just the way I do it to make sure that it will come out relative.
GL,
C