From owner-freebsd-questions Thu Jan 17 8:15:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from Thanatos.Shenton.Org (a3.ebbed1.client.atlantech.net [209.190.235.163]) by hub.freebsd.org (Postfix) with SMTP id 5E13137B41D for ; Thu, 17 Jan 2002 08:15:08 -0800 (PST) Received: (qmail 21860 invoked by uid 1000); 17 Jan 2002 16:15:02 -0000 To: "W. D." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: BACKUP SOFTWARE FOR FREEBSD 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> From: Chris Shenton Date: 17 Jan 2002 11:15:01 -0500 In-Reply-To: <5.1.0.14.2.20020116222711.04524820@us-webmasters.com> Message-ID: <87zo3dq7i2.fsf@thanatos.shenton.org> Lines: 55 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "W. D." 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