To configure all my installed and build ports from /usr/ports has taken several hours. How I could backup these settings and restore them on worst case this box or to another computers?
You probably won't be able to install everything with single command, because you probably don't have custom FreeBSD metaport, and thus custom packages.
You will need to pkg_add packages from /var/tmp/bpkg manually.
For example
Code:
# cd /var/tmp/bpkg
# pkg_add xorg-*
# pkg_add libreoffice-*
...
and so on.
I added * where package version and archive extension is expected. Dependencies will be installed automatically.
If you simply want to use current software on other hdd, why won't you use dump & restore, if you're using UFS, or zfs send and zfs receive if you use zfs?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.