There is problem during dump/restore.
matthew at FreeBSD.org
Tue Jan 5 14:19:54 UTC 2016
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.
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.)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 957 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions