![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tape Status shows 2 Hard errors and 5 Underruns on new tape | psytropic | SCO | 5 | 04-24-2008 01:29 PM |
| Can I safely kill vdump? | nickt | UNIX for Advanced & Expert Users | 4 | 08-21-2007 12:19 PM |
| vdump on aix? | veccinho | AIX | 1 | 07-13-2007 08:48 AM |
| digital unix vdump restore in hp ux11i | jestinabel | HP-UX | 1 | 12-09-2006 07:02 AM |
| Vdump of two filesystems | geraldwilson | Filesystems, Disks and Memory | 4 | 03-21-2005 10:03 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
tar and vdump on same tape?
Hello,
This might be a dumb question, but I havent been able to find the answer anywhere. I currently have a backup script that uses 'tar' to backup some files to tape. I need to add a directory to the backup script, but I want to use 'vdump' to back it up to tape. So my question is can I backup using 'tar' then backup using 'vdump' to the SAME tape? Can they reside on the same tape without causing any issues? |
|
||||
|
You should have no problem putting multiple types of file systems on a tape assuming there's enough room to hold it.
You'll need to "fast forward" past the tar backup (I do this on Solaris so I can't guarentee the commands I'm offering here will help, but maybe the concepts will help you find the proper commands on your OS): mt -f /dev/rmt/0n fsf 1 On Sun, the 0n device is the first tape but it's the "no rewind device" so mt will forward to the first block past the EOF and not rewind the tape (this is important). You can change the last number if you want to back up a third block of data. Next use the backup command to back up the data. If you have another file system to back up, you can continue past the vdump backup as long as you use a "no rewind device" for vdump. Otherwise you'll have to jump past two backup blocks: mt -f /dev/rmt/0n fsf 2 To restore from the second backup on the tape, you use the same mt command to get past the first EOF block to the vdump backup and then restore it. Hope that helps as I don't know what vdump is. You can also pick up O'Reilly's backup and recovery book. Excellent book. Carl |
|
||||
|
Quote:
Hi, first of all use: ufsdump 0ucf /dev/rmt/0hbn / this comand to do the backup for any file system ( here we do for root). notice the following h : stands for high density tape b: block n: no rewind 0: the name of drive 1 or 2 or 3 as you defind it second use : tar cvf /rmt/0hbn /dataaa (dataaa is your data that you want to back it up). yasin |
|
||||
|
Hi,
first of all use: ufsdump 0ucf /dev/rmt/0hbn / this comand to do the backup for any file system ( here we do for root). notice the following h : stands for high density tape b: block n: no rewind 0: the name of drive 1 or 2 or 3 as you defind it second use : tar cvf /rmt/0hbn /dataaa (dataaa is your data that you want to back it up). yasin |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|