Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 1999 11:59:24 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Roman Katsnelson <rkatsnel@globix.com>
Cc:        "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: disk space issues
Message-ID:  <19990104115924.A28990@dan.emsphone.com>
In-Reply-To: <3690FB59.491C223D@globix.com>; from "Roman Katsnelson" on Mon Jan  4 12:33:13 GMT 1999
References:  <3690FB59.491C223D@globix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 04), Roman Katsnelson said:
> understand, I can't simply swap the hard drives... Anyway, the problem
> is thus: I have about 200M worth of content in one of the virtual
> servers, and only about 65M free space anywhere on the box. So I can't
 
> 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? 

cd /source
tar cf - . | ssh othermachine "cd /destination ; tar xvf -"

or

export RSYNC_RSH=ssh
rsync -a dir/ othermachine:/otherdir/

rsync is better if you will be doing this often (like for mirroring)

	-Dan Nelson
	dnelson@emsphone.com

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?19990104115924.A28990>