OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] Howto perform a backup via the console
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Howto perform a backup via the console  (Read 5353 times)

mpompeia

  • Newbie
  • *
  • Posts: 10
  • Karma: 3
    • View Profile
[SOLVED] Howto perform a backup via the console
« on: December 19, 2017, 08:59:26 pm »
Hi there,

I am currently without web admin access and since the issue is related to an upgrade that didn't go well (and now openssl is messed-up) I was wondering how I could trigger a backup of the config through the console.

Many thanks in advance for the advice!!

Best,
Manu
« Last Edit: December 21, 2017, 05:00:40 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13671
  • Karma: 1175
    • View Profile
Re: Howto perform a backup via the console
« Reply #1 on: December 19, 2017, 11:03:22 pm »
Hi Manu,

Option 13 from the console menu, namely "Restore a backup".


Cheers,
Franco
Logged

mpompeia

  • Newbie
  • *
  • Posts: 10
  • Karma: 3
    • View Profile
Re: Howto perform a backup via the console
« Reply #2 on: December 20, 2017, 02:37:59 pm »
Hi Franco,

What I need is to perform a backup, not a restore.

Cheers,
Manu
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13671
  • Karma: 1175
    • View Profile
Re: Howto perform a backup via the console
« Reply #3 on: December 20, 2017, 03:19:58 pm »
I'm not sure I understand, your backup history is under /conf/backup automatically. The current configuration can be backed up manually...

# cp /conf/config.xml /conf/my-backup.xml


Cheers,
Franco
Logged

mpompeia

  • Newbie
  • *
  • Posts: 10
  • Karma: 3
    • View Profile
Re: Howto perform a backup via the console
« Reply #4 on: December 20, 2017, 11:48:09 pm »
Many thanks Franco, that's what I was missing.

Best,
Manuel
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13671
  • Karma: 1175
    • View Profile
Re: Howto perform a backup via the console
« Reply #5 on: December 21, 2017, 05:00:33 pm »
:)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] Howto perform a backup via the console
 

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