OPNsense Forum

English Forums => General Discussion => Topic started by: hunter86_bg on February 06, 2021, 08:21:58 PM

Title: Snapshot before upgrade to 21.1
Post by: hunter86_bg on February 06, 2021, 08:21:58 PM
Hi all,

I'm using 20.7 since this summer and I'm quite impressed.
Yet, I would like to 'insure' myself and ask of there is a way to snapshot my physical device?
I know that ZFS supports that and restore could be possible afterwards.
Also, is it possible to use config backups from 20.7 directly on 21.1 or the backup can be restored only on same major version ?
Title: Re: Snapshot before upgrade to 21.1
Post by: hunter86_bg on February 06, 2021, 08:34:59 PM
Just checked the forum and seems that the root is on UFS.
Title: Re: Snapshot before upgrade to 21.1
Post by: marjohn56 on February 07, 2021, 12:58:01 AM
Yes you can import the config from 20.7.


If you wish to use ZFS you can also do that, but you'll need to install from scratch using the bootstrap method.
Firstly install a base FreeBSD 12.1 system then do this.



# pkg install ca_root_nss
# fetch https://raw.githubusercontent.com/opnsense/update/master/bootstrap/opnsense-bootstrap.sh
# sh ./opnsense-bootstrap.sh


Do a basic setup to get you running in the GUI then import your config file that you backed up.


Job done.