restore of file system into USB key terrible slow
Oliver Fromme
olli at lurza.secnetix.de
Tue Aug 5 15:44:56 UTC 2008
Matthias Apitz wrote:
> [...]
> > I'm trying to restore a DUMP into an USB key; the DUMP was extracted
> > from another USB key which I just want to colne this way;
Note that dump/restore isn't a very fast method to clone
a file system. Actually, a few years ago it was horribly
slow, but it was improved somewhat. It's better now, but
still not very fast.
Personally I recommend to try cpdup (from ports/sysutils).
You can simply type "cpdup /src /dst" and it will make an
exact copy (except for sparse files). A nice feature of
cpdup is that it doesn't copy files that already exist in
the destination.
Another way copy a directory tree is to use find+cpio:
cd /src; find -d . | cpdio -dump /dst
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
"I made up the term 'object-oriented', and I can tell you
I didn't have C++ in mind."
-- Alan Kay, OOPSLA '97
More information about the freebsd-hackers
mailing list