Patrick M. Hausen wrote:
Hi, Chris!
Well, those are both interesting, but don't get me anywhere right now.
I know it can be done, I just don't know what it takes to do it.
...
I'd even be willing to tangle a little with source code, as long as it
didn't get too messy and someone could point me to it with enough
detail. Or, I wonder if it could be as simple as going into Makefile and
changing "DUMP=/usr/sbin/ufsdump" to something else?
Well, let's just look at the FreeBSD patch, shall we? ;-)
http://www.freebsd.org/cgi/cvsweb.cgi/ports/misc/amanda-server/files/extra-patch-sendbackup-dump.c?rev=1.2&content-type=text/x-cvsweb-markup
Looks like just client-src/sendbackup-dump.c is patched
and at least for dump on FreeBSD you simply need to add
the "L" option to the "dumpkeys" string. Line 378 and below.
Probably it's the same option for ufsdump on Solaris.
HTH,
I presume you are on FreeBSD.
If this patch is what does it (are you sure that's all that is
required?), then it implies that the snapshot on FreeBSD has been added
as an option to dump. Is that true?
On Solaris 9, it is not an option on ufsdump. There is a separate
command fssnap that is used to create a snapshot. In principle, that
gives one the flexibility to set up a series of snapshots over the
course of a day just like what NetApp touts. If I want to use snapshots
with ufsdump, I issue an fssnap command, take the result from that, and
feed it to ufsdump, pointing ufsdump at the snapshot rather than at the
real partition. But, I also give it the real partition as a separate
option to tell it where to update the dump records. Then, after the dump
is completed, I release the snapshot.
So, it's not clear to me that the requirements for FreeBSD and Solaris 9
are comparable. Just as a long shot, I did `man dump` on my Mac OS X
system (which is related to FreeBSD), but it has no "L" option.
Can you confirm that?
---------------
Chris Hoogendyk
-
O__ ---- Systems Administrator
c/ /'_ --- Biology & Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst
<[EMAIL PROTECTED]>
---------------
Erdös 4