pkg remote os-unifi7-maxit unifi7rm -rf /usr/local/share/java/unifi/*pkg install os-unifi7-maxit
ssh <username>@<ip of opnsense>cd /usr/local/share/java/unifi/data/db/backup/autobackup# for finding the recent backup .unf filels -la #on your localscp <username>@<ip of opnsense>:/usr/local/share/java/unifi/data/db/backup/autobackup/<latest file> .use that .unf file when restoring