Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

need to run a tar in a tape

Posted on 2013-11-08
2
Medium Priority
?
606 Views
Last Modified: 2013-11-08
Hi i need to tar the follwoing

]# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3     204800  178888   25912   87% /
/dev/vg00/lvol1     298928   42160  226872   16% /stand
/dev/vg00/lvol8    4710400 2150104 2541552   46% /var
/dev/vg00/lvol7    3170304 2465160  699712   78% /usr
/dev/vg01/u04      10485760 2403518 7829680   23% /u04
/dev/vg01/u02      25165824 13502408 11300726   54% /u02
/dev/vg01/u01      15728640 10964482 4615778   70% /u01
/dev/vg00/lvol6    3170304  960808 2195200   30% /tmp
/dev/vg00/lvol5    3670016 2378696 1281240   65% /opt
/dev/vg00/lvol4    1572864  386504 1177568   25% /home
/dev/vg01/d05      233861120 197427096 36149424   85% /d05
/dev/vg01/d04      204800000 168023104 36489616   82% /d04
/dev/vg01/d03      10485760  429148 9747454    4% /d03
/dev/vg01/d02      36700160 2476416 33962296    7% /d02
/dev/vg01/d01      15728640  615840 14640592    4% /d01


My device is /dev/rmt/c4t2d0BESTn

how to tar d05 and all the u's ( u01 etc) on that tape ?

i dont think i have compression

thanks.
0
Comment
Question by:c_hockland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 39634675
tar cvf /dev/rmt/c4t2d0BESTn /d0S /u0*

If you have files under the root directory whose names start with "u0..." and if you don't want them archived better run

tar cvf /dev/rmt/c4t2d0BESTn /d0S /u01 /u02 /u04
0
 

Author Comment

by:c_hockland
ID: 39634706
thank u much !!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question