From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,3b126ad5215d6149 X-Google-Attributes: gidfa528,public From: Oisin McGuinness Subject: Re: vdump backup Date: 2000/06/16 Message-ID: <394A6D66.9A1D2EF5@sbcm.com>#1/1 X-Deja-AN: 635428778 Content-Transfer-Encoding: 7bit References: <01bfd764$175f82a0$29e110ac@sg02301> X-Accept-Language: en,el Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 961178986 204.141.189.14 (Fri, 16 Jun 2000 18:09:46 GMT) Organization: Sumitomo Bank Capital Markets MIME-Version: 1.0 NNTP-Posting-Date: Fri, 16 Jun 2000 18:09:46 GMT Newsgroups: comp.unix.tru64 In your steps 2, 3, 4, 5, you will need to use the non-rewind device each time (that is /dev/nrmt0h). Otherwise, command 4 (for example) will move the tape ahead by 1 saveset, but then rewind the tape when finishing. Apart from that, it should work. It is fairly easy to elaborate on this; for example, dd the list of file systems and a date stamp as the first file on the tape, then build a little restore script which will read the label, and given a file system name, figure out how much fsf'ing to do, so you can selectively restore by specifying names etc. etc. But if you are going to that much trouble, maybe you should consider Amanda. Hope this helps. Oisin McGuinness Sumitomo Bank Capital Markets 277 Park Avenue New York NY 10172 USA Srikanth Seshadri wrote: > > Hi, > > I need to back up 10 Advfs filesystems in a server. I know that only one fs > name can be specified as arguement in vdump command. In this way I can have > 10 vdump commands one after the other in a script with a non-rewindable > tape as a device in each case. After I backup, how do I check whether all > the fs have been backed up. Can I do it this way? > > 1. run backup script with 10 vdump commands with /dev/nrmt0h tape device > 2. mt -f /dev/rmt0h > 3. vrestore -l -t /dev/rmt0h > 4. mt -f /dev/rmt0h fsf 1 > 5. vrestore ---- > repeat the above command for all the filesystems. > > Please give your suggestion. > > Thanks & regards, > srikanth