Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2016 14:19:39 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Shahin Hasanov <shahinhasanov@hotmail.com>, FREEBSD_QUESTION <freebsd-questions@freebsd.org>
Subject:   Re: There is problem during dump/restore.
Message-ID:  <568BD0FB.5020303@FreeBSD.org>
In-Reply-To: <DUB127-W4413B16E22DB29A4F637D9B6F30@phx.gbl>
References:  <DUB127-W87D679C1AAA8A0C5276BD8B6F30@phx.gbl> <568BC37C.2010903@FreeBSD.org> <DUB127-W4413B16E22DB29A4F637D9B6F30@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Dbp3P1Xv8j1tF42n9CkcTDgQxQ39CcnV9
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable

On 05/01/2016 13:39, Shahin Hasanov wrote:
> Thank you Matthew,
> I have two HDD da0,da1
> da0 is 147GB   - ufs
> da1 is 1.1TB    - zfs

Ah -- there is your problem.  dump/restore only works with UFS.

However, if what you want to do is copy a directory heirarchy from one
place to another preserving ownership and permissions and so forth, then
there are very many ways to do that.

Two suggestions:

  1) Using stuff from the base system only:

  # cd /src/dir
  # tar -cf - . | ( cd /dest/dir ; tar -xvf - )

  2) Using rsync(1) from ports:

  # rsync -avx /src/dir/ /dest/dir/

  (Note the trailing slashes on the directory paths -- they're
   important with rsync.)

	Cheers,

	Matthew



--Dbp3P1Xv8j1tF42n9CkcTDgQxQ39CcnV9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2

iQJ8BAEBCgBmBQJWi9EBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATvHgQAIh3D8GfegtyG8GLLfGtJSgo
ZYF2VbEfq69dOsZYeCXU+HCZlkrvOXN62NGdxlylKlK7Nt5Fp/d9axqhKuuuBKwj
SroVSObZ0FmBZ5BQwB74lV6RFVnOHw6Z60md4Bh0PqhspoAYjmnQS8zEPfk8PZYH
SciViOkdFufe0ym4f8KymJDIvepnH+L8dIvqSbSl6y/Kd5goqf5tUT4g8Q+KD40K
UocZY+TzSDv76hjkgYI4+vbFpIL3Zt7CYsl+4ImsgE80XE/MPXxlYHDgWUoYENh/
S+Htl6C7GADPGywzrWNm5td5HTTAZ6c8DMp3qzrknpoan6ChNdHhqEjn68Gch8VB
yJf/tbRnyifcmbgHyZWIYKymLyALb9om5rw1atbpEILz5x7ItQ6TY7zm/mBq8m1d
2JXTUUDsB6j7hHsAbStTdFvSzvquqltO0gDPN93kqnssgnXnfX8F4xX2GELgAU1q
V0NGJna5+uqigc65Kd4L30bbyJ6X0R5DdIDXcsngGkiWKee+ed7kB9fTQGb7/HGo
yykQCJ2hEuG3McWAeEU8mtyeTVbGXPuzz6RX13tOu5Vk6htimXaTaCg9kCk6OU1T
Bl8AwOik6A5MqPK3wsn/+2JWkb2UxZdM8HTv89gLyM1f/4nA5EosJGsGPmUkUzoe
RozMUlV+HkEqn4Ez4yOb
=25oz
-----END PGP SIGNATURE-----

--Dbp3P1Xv8j1tF42n9CkcTDgQxQ39CcnV9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?568BD0FB.5020303>