From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ac681e8816404f17 X-Google-Attributes: gidfee84,public From: drc@odo.amherst.com (David R Courtade) Subject: Re: Beginner needs help w/ dump/restore Date: 1996/05/24 Message-ID: <4o4l8h$8ka@odo.amherst.com>#1/1 X-Deja-AN: 156546774 references: <4ncldq$gr8@newsbf02.news.aol.com> <4nddff$s5i@post.gsfc.nasa.gov> organization: Amherst Systems, Buffalo newsgroups: comp.unix.osf.osf1 Try using restore -s 2 -t for the second dump file, see the restore man page. We have used dump/restore here (I espescially like restore -i) for about a year and have been quite happy with the result. My understanding is that the feet left on a tape is computed after each dump command without knowlwdge of previous files on the tape. Better would be a tape % so you can see what you've used/have. Some assumptions are made about tape length, density so it may not be exact for your setup. I just ignore it. ============================================================================== David R. Courtade System Administrator Amherst Systems Inc. 30 Wilson Rd. Buffalo, N.Y. 14221 Phone: (716)631-0610 FAX: (716)631-0629 Email: drc@amherst.com Shawn Hose (hose@ifmp.nasa.gov) wrote: : I alway have discrepencies with the output of feet on the tape and have : found that I dislike the restore -t command. : Instead I use the "mt fsf number". Where number is the backup you want to : go to the end of. In your case rewind the tape then "mt fsf 1" would put : you at the end of the first filesystem backed up (Hmmm, check the mt man : page it may advance 1 filesystem and you could do this incrementally as : you check). : Then I usually do a "restore -i" (interactive) to view what's there. I : think the command is "what" and it will display the tape header (the : filesystem you back up) like / or /usr. At the interactive prompt type in : a ? to get a list of commands that give you info (like ls). : Good luck. : In article <4ncldq$gr8@newsbf02.news.aol.com>, jphig@aol.com says... : > : >First off, I'm a Unix neophyte who simply volunteered to admin our Alpha : >Internet server and has been rebuffed by the manuals! : > : >Now, then: Using # dump -0uf /dev/nrmt0h -b32 filesystem1 : > # dump -0uf /dev/nrmt0h -b32 filesystem2 : > # dump -0uf /dev/nrmt0h -b32 filesystem3 : >I expected to back up onto one TLZ07 tape three filesystems. dump : >proceeds, giving me friendly progress updates as though everything were : >fine. However, after filesystem2, I am told that I have 1160 feet of tape : >left, whereas after filesystem3, I am told that I now have 2250 feet of : >tape, as though it rewound despite my definitely having specified : >/dev/nrmt0h. : > : >When I issue # restore -t, only the first filesystem is tabulated. : >Issuing # restore -t filesystem2/3, I see "filesystem2/3 not found on the : >tape". : > : >Any explanations out there? What happened to my backup? : > : >BTW, is this newsgroup archived somewhere? : > : >Thanks!! : > : >Jeff Higgins : >Area Cooperative Educational Services : >http://www.aces.k12.ct.us : >http://csde.aces.k12.ct.us : >