From owner-freebsd-questions@FreeBSD.ORG Thu Jan 19 16:17:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46C3A16A41F for ; Thu, 19 Jan 2006 16:17:38 +0000 (GMT) (envelope-from mike@ascendency.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id C43CE43D46 for ; Thu, 19 Jan 2006 16:17:37 +0000 (GMT) (envelope-from mike@ascendency.net) Received: from eisenhower.ascendency.net ([67.173.128.145]) by comcast.net (sccrmhc12) with ESMTP id <2006011916173101200h8e7ve>; Thu, 19 Jan 2006 16:17:31 +0000 Received: from Mike8500 (ipcop.localdomain [192.168.1.1]) (authenticated bits=0) by eisenhower.ascendency.net (8.13.4/8.13.4) with ESMTP id k0JGHQ8w059904 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 19 Jan 2006 10:17:30 -0600 (CST) (envelope-from mike@ascendency.net) From: "Mike Loiterman" To: Date: Thu, 19 Jan 2006 10:17:26 -0600 Message-ID: <00a901c61d13$d9251cb0$0401a8c0@Mike8500> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcYdEGen6YxBickmTAenQOrtkPz6bQAA1Xiw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (eisenhower.ascendency.net [192.168.1.22]); Thu, 19 Jan 2006 10:17:31 -0600 (CST) Subject: RE: Help backing up to networked drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mike@ascendency.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 16:17:38 -0000 Mike Loiterman wrote: > I would like to backup my server to a firewire drive > connected to a Macintosh Mini. Both machines are on my local > network and, of course, behind a secure firewall. > > Right now I'm using this script to take backups: > > #!/bin/sh > > /sbin/dump -0uanL -f - / | gzip -2 | ssh -c blowfish > mike@192.168.1.11 dd of=/Volumes/Server-Backup/dump-root.gz && \ > /sbin/dump -0uanL -f - /tmp | gzip -2 | ssh -c blowfish > mike@192.168.1.11 dd of=/Volumes/Server-Backup/dump-tmp.gz && \ > /sbin/dump -0uanL -f - /usr | gzip -2 | ssh -c blowfish > mike@192.168.1.11 dd of=/Volumes/Server-Backup/dump-usr.gz && \ > /sbin/dump -0uanL -f - /var | gzip -2 | ssh -c blowfish > mike@192.168.1.11 dd of=/Volumes/Server-Backup/dump-var.gz > > This is working fine, but I have to run the script mannually > and enter the password. > > So my question are these: > 1. Is there any other way of doing this so that I would not > have to deal with the password issue from ssh? This is all > taking place behind a secure firewall on my local network, so > ssh is probably not necessary. > > 2. How can I use samba to mount the Mini's drive? > mount_smbfs would only see the home share belonging to the > user I was logging in with and not the /Volume directory on > the Mac. Sym-links from the users /home to /Volumes didn't > work correctly. How can I access the drives in /Volumes via samba? Actually, I take it back. The original script doesn't work. dd gives an error when I try to backup /usr saying that the file is too large...it dies at 4GB. ------------------------------ Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: mike@ascendency.net PGP Key: 0xD1B9D18E