Solved

need to run a tar in a tape

Posted on 2013-11-08
2
591 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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

752 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