From owner-freebsd-questions Mon Jan 4 10:31:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15621 for freebsd-questions-outgoing; Mon, 4 Jan 1999 10:31:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.fidnet.com (four.fidnet.com [205.216.200.54]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA15613 for ; Mon, 4 Jan 1999 10:31:07 -0800 (PST) (envelope-from yoonix@fidnet.com) Received: (qmail 15405 invoked from network); 4 Jan 1999 18:29:07 -0000 Received: from two.fidnet.com (205.216.200.52) by four.fidnet.com with SMTP; 4 Jan 1999 18:29:07 -0000 Date: Mon, 4 Jan 1999 12:29:07 -0600 (EST) From: Mark Turpin To: Roman Katsnelson cc: FreeBSD Questions Subject: Re: disk space issues In-Reply-To: <3690FDD5.46529799@globix.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We had the same problem not to long ago, however we had to deal with about 2GB worth of client data. If you turn off the services thatt would allow the customer to change their website ie: telnet/ftp/samba then you can just stay up late one night, and use ncftp3 to mget -R /home or /export/home, whatever. ncftp3 is the only client version of ncftp that i have seen do the -R correct (recursive get, and makes directories if they don't exist). One thing I don't remember is if it preserves permissions. If it does, then just take a password list and do this: #!/bin/sh awk -F: '{print $1}' /etc/passwd > usernames for user in `cat usernames` do chown -R $username /home/$username (or /usr/home, whatever) done or something to that effect.... anyway. that's how we did it. We took all of our services off a few sparcs, and put them on some x86 boxen. started on a sunday evening, finished early into the monday morning. On Mon, 4 Jan 1999, Roman Katsnelson wrote: > "James A. Mutter" wrote: > > > > > gzip -r docs/* > docs.gz > > > > > > but that actually gzips every file, which is unacceptable on a live > > > server. is there anyway I can get all these files into one gzipped one > > > WITHOUT affecting the originals? or anything else I can do? > > > > > > > Why not try using tar and then gzip? > > > > tar xvf docs.tar ./docs > > this doesn't work, because there's not enough space anywhere to store > docs.tar > > thanks, > roman > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -geek yoonix@fidnet.com 800.392.8070 x214 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message