![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help needed | nnayagam | Shell Programming and Scripting | 2 | 03-07-2008 06:34 AM |
| Little help needed. | Netghost | AIX | 5 | 08-10-2006 03:29 PM |
| Help needed | dsravan | Shell Programming and Scripting | 2 | 07-20-2006 10:37 AM |
| awk help needed. | cskumar | Shell Programming and Scripting | 0 | 07-20-2006 08:24 AM |
| Sed help needed | stevefox | Shell Programming and Scripting | 5 | 12-05-2005 01:44 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
tar - help needed
I need to retrieve one file from tape which appears to be dumped to using tar.
I have tried the following command - but no luck. Any ideas? I dont want to to restore the complete backup - just one file. tar -xf /dev/rmt/0cn /var/opt/tmp/AA/dump/TEST.DUMP_20051003 Backup script looks like the below # Backup / echo "" >> $LOGFILE 2>&1 echo "Creating list of excluded files/direcories" >> $LOGFILE 2>&1 mount | grep -v "^/ " | awk '{print "."$1}' > /tmp/rootex$$ 2>&1 (cd /; find ./etc -type D) >> /tmp/rootex$$ 2>&1 echo "Backing up the root (/) file system" >> $LOGFILE 2>&1 (cd /; tar -cEfX $TAPE /tmp/rootex$$ .) >> $LOGFILE 2>&1 rm -f /tmp/rootex$$ # Backup /var/opt/tmp echo "" >> $LOGFILE 2>&1 echo "Dumping /var/opt/tmp to tape (with tar)" >> $LOGFILE 2>&1 (cd /var/opt/tmp && tar cEf $TAPE .) >> $LOGFILE 2>&1 |
|
||||
|
I may have a problem - I performed the following:
tar tvf /dev/rmt/0cn > listing But it only lists 20 files and 1 directory - the directory being ./ Any ideas? I am sure the backup script must be copying the entire root file system - shouldnt it? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|