OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Noob question on the config file
« previous next »
  • Print
Pages: [1]

Author Topic: Noob question on the config file  (Read 888 times)

wondering

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Noob question on the config file
« on: February 20, 2024, 07:51:26 pm »
[DELETED]
« Last Edit: February 22, 2024, 11:30:40 am by wondering »
Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1830
  • Karma: 95
    • View Profile
Re: Noob question on the config file
« Reply #1 on: February 20, 2024, 10:58:38 pm »
Every configuration option from the GUI goes to that file, yes. https://docs.opnsense.org/manual/backups.html
Logs are not saved alongside nor obviously inside. You don't get those in a restore.
Changes or additions made directly  in the filesystem will not be included i.e. templates, scripts, etc.
The backup will contain the record of installed plugins. After a restore, these records will help the system pull the necessary files from their repositories to get back to the restored state.
Logged

wondering

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Noob question on the config file
« Reply #2 on: February 21, 2024, 01:44:18 am »
[DELETED]
« Last Edit: February 22, 2024, 11:30:49 am by wondering »
Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1830
  • Karma: 95
    • View Profile
Re: Noob question on the config file
« Reply #3 on: February 21, 2024, 10:05:08 am »
It is the oppossite. Installing the config.xml to a clean install restores the state as per that config.
Logged

wondering

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Noob question on the config file
« Reply #4 on: February 22, 2024, 12:52:44 am »
[DELETED]
« Last Edit: February 22, 2024, 11:30:59 am by wondering »
Logged

cookiemonster

  • Hero Member
  • *****
  • Posts: 1830
  • Karma: 95
    • View Profile
Re: Noob question on the config file
« Reply #5 on: February 22, 2024, 10:41:17 am »
I'll repeat myself :)
Logs are not saved alongside nor obviously inside. You don't get those in a restore.
Changes or additions made directly  in the filesystem will not be included i.e. templates, scripts, etc.
The backup will contain the record of installed plugins. After a restore, these records will help the system pull the necessary files from their repositories to get back to the restored state.

So when you restore a config file onto a newly installed system, the config will bring the configurations made on the UI and a record of plugins that need to be re-installed.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Noob question on the config file
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2