From owner-freebsd-questions Thu Oct 24 8:21:52 2002 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 D300C37B401 for ; Thu, 24 Oct 2002 08:21:51 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2478043E65 for ; Thu, 24 Oct 2002 08:21:51 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.5) id g9OFLoc7084726; Thu, 24 Oct 2002 10:21:50 -0500 (CDT) (envelope-from dan) Date: Thu, 24 Oct 2002 10:21:50 -0500 From: Dan Nelson To: Lord Raiden Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Exporting Tar via FTP on the fly Message-ID: <20021024152150.GD1844@dan.emsphone.com> References: <4.2.0.58.20021024112125.009699a0@pop.voyager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4.2.0.58.20021024112125.009699a0@pop.voyager.net> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i 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 In the last episode (Oct 24), Lord Raiden said: > Hi. I got a server that every so often needs to have several > large files backed up via tar. Problem is there also isn't enough > local storage space to store the tar file while it's being written. > Enter FTP. I was wondering if there is a way to export the tar file > on the fly as its being written via FTP to a central storage server. > I could use samba of course, I'm sure, but neither server has samba > and due to a number of reasons, we're not planning on adding samba to > either system anytime soon. So my only option is to either use a > removable USB HD and sneakernet it over to the other server, or > figure out a way to transfer it via FTP while it's being written. > Any suggestions? ports/ftp/wu-ftpd supports dynamic tarring of directories, so you could "get usr.tar" and it would tar up /usr on the fly. If your files are in different directories, either ftp them singly over to the destination and tar them up there, or NFS mount one server's filesystem on the others and tar over NFS. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message