From: Stelian P. <st...@po...> - 2004-04-30 12:13:45
|
On Tue, Apr 27, 2004 at 08:50:01PM -0400, Eric Jensen wrote: > Hi all, > My use of dump so far has been quite rudimentary; periodic level 0 > dumps, and then nightly incrementals. The latter get successively > appended onto the same tape that sits in the tape drive for a few days > while it fills up. I'd like to make my dump procedure slightly more > robust, so I'd like to verify each backup. I wonder if anyone has a > basic script they'd be willing to share to handle this in the case where > the dump file isn't at the beginning of the tape. Well, I guess no-one has such a script, or nobody is willing to share it with you :) > I think it must go > something like this: > > dump 1uaf /dev/nst0 / > mt -f /dev/nst0 bsfm 1 > restore -Cf /dev/nst0 Yup, this is what I do too. > After this restore, what is the tape position? Can I go ahead and > append another dump file? Or is more tape repositioning needed? No, you should be at the right place on the tape. But you should really test by yourself before you lose data because I told you it was correct :) > Any thoughts? I'm sure someone can point out any folly in the above, > and/or has a better solution. There are some scripts in the example directory of dump (which get installed into /usr/share/doc/dump-xxx/examples) which may or may not be useful to you. Of course, there is also Amanda, which is basically a big pile of scripts on top of dump, but it will probably be overkill for your needs. Stelian. -- Stelian Pop <st...@po...> |