OPNsense Forum

English Forums => General Discussion => Topic started by: NugentS on December 28, 2023, 09:45:14 PM

Title: Backup & Restore
Post by: NugentS on December 28, 2023, 09:45:14 PM
Last night I tried summat silly on my firewall. It didn't work (for several reasons including ID10T issues)

So I thought I would just restore - I keep a number of backups on the device for just that purpose.
BUT
There seems to be no method, through the GUI, of restoring the backup. Instead I have to SSH to the box and restore via shell.

In fact I restored by uploading a file from my Google Drive - so I don't have an issue here. I was just thinking that it seems odd to have the ability to backup via the GUI, but not be able to restore one of those backups via the GUI
Title: Re: Backup & Restore
Post by: cookiemonster on December 28, 2023, 11:23:27 PM
Same place to backup is where a restore can be made. System > Configuration > Backups.
Second section from the top "Restore".
Title: Re: Backup & Restore
Post by: NugentS on December 29, 2023, 01:26:18 AM
I think you have missed the point.

I cannot restore a config held on the device - there seem to be no mechanism of chosing it. I have to select a backup on my PC
Title: Re: Backup & Restore
Post by: yourfriendarmando on December 29, 2023, 04:46:26 AM
If you log in as root or sudo into root.  It's initial shell is a menu.  It will let you restore from a backup taken during config changes. You can also put it on a usb, or use sftp to transfer a config over. Then I think just replace the existing config.xml