There is problem during dump/restore.
vsasjason at gmail.com
Tue Jan 5 14:24:52 UTC 2016
5 янв. 2016 г. 16:20 пользователь "Matthew Seaman" <matthew at freebsd.org>
> 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 - )
I think that's better to replace above 2 commands with one following:
# tar cf - -C /src/dir . | tar xf -C /dest/dir -
> 2) Using rsync(1) from ports:
> # rsync -avx /src/dir/ /dest/dir/
> (Note the trailing slashes on the directory paths -- they're
More information about the freebsd-questions