Date: Mon, 4 Jan 1999 12:29:07 -0600 (EST) From: Mark Turpin <yoonix@fidnet.com> To: Roman Katsnelson <rkatsnel@globix.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: disk space issues Message-ID: <Pine.LNX.4.04.9901041223220.25834-100000@two.fidnet.com> In-Reply-To: <3690FDD5.46529799@globix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.04.9901041223220.25834-100000>
