Date: 17 Jan 2002 11:15:01 -0500 From: Chris Shenton <chris@shenton.org> To: "W. D." <WD@US-Webmasters.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: BACKUP SOFTWARE FOR FREEBSD Message-ID: <87zo3dq7i2.fsf@thanatos.shenton.org> In-Reply-To: <5.1.0.14.2.20020116222711.04524820@us-webmasters.com> References: <5.1.0.14.2.20020116114211.058fc3f0@us-webmasters.com> <3C4426F0.13993.6C4354@localhost> <3C4426F0.13993.6C4354@localhost> <5.1.0.14.2.20020116114211.058fc3f0@us-webmasters.com> <5.1.0.14.2.20020116222711.04524820@us-webmasters.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"W. D." <WD@US-Webmasters.com> writes:
> How about restoring files? What if I just want to restore
> a few files? A single directory?
There's "amrestore" and "amrecover". Can't remember which does which
now. One of them is nice in that it looks into an "index" file
created by "amdump" according to your dumptypes:
> >define dumptype global {
> > comment "Global definitions"
> > index yes
> >}
You walk through the utility and specify files to add to your recover,
then tell it to do it, it tells you the name of the tape it wants, put
it in, and off it goes. IIRC you have to name the partition
according to the name you gave it in the disklist config file, e.g.,
if you called it "da0s1h" you can't ask for it as "/home". Here's my
"disklist" file for your amusement -- specifies local and remote hosts
and the disk partitions for the server to pull down, and a priority
for each.
Getting the .amhosts authentication to work is probably the trickiest
part, but use "amcheck" to find out what it can and can't get into.
# I can do this to "localhost" but not "thanatos":
# ERROR: thanatos: [hostnames do not match: thanatos.shenton.org localhost]
localhost da0s1a nocomp-root # /
localhost da0s1e nocomp-user # /var
localhost da0s1f nocomp-root # /tmp
localhost da0s1g nocomp-user # /usr
localhost da0s1h nocomp-high # /home
# ERROR: absinthe: [addr 192.168.255.180: hostname lookup failed]
# Fixed ^ by adding 192.168.255 to Absinthe's DNS slave.
# New --v
# ERROR: absinthe: [ip address 192.168.255.180 is not in the ip list for
# thanatos.shenton.org]
# Fixed ^: needed to remove old host addr for Thanatos from absinthe:/etc/hosts
absinthe c0t3d0s0 nocomp-root # /
absinthe c0t3d0s1 nocomp-user # /var
absinthe c0t3d0s7 nocomp-user # /export/home
# ERROR: sisyphus: [addr 192.168.255.180: hostname lookup failed]
# FIXED by adding 192.168.255 to Absinthe's DNS slave.
sisyphus wd0s2a nocomp-root # /
sisyphus wd0s2e nocomp-root # /var
sisyphus wd0s2f nocomp-user # /usr
sisyphus wd0s2g nocomp-user # /home
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87zo3dq7i2.fsf>
