Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
USB Flash Drive Format to store backup Configuration
« previous
next »
Print
Pages: [
1
]
Author
Topic: USB Flash Drive Format to store backup Configuration (Read 5433 times)
smajor
Jr. Member
Posts: 77
Karma: 10
USB Flash Drive Format to store backup Configuration
«
on:
February 20, 2017, 06:54:08 pm »
I've been banging my head against the wall for the past hour on, what I thought based on my Ubuntu experiences, would be a fairly simple thing to do.
I'm trying to get my OPNsense configuration onto an old USB Flash drive of low capacity (hey, not much good for anything else nowadays!) so that when/if I have a melt down or replace hardware, I can insert the USB stick during install and choose "Restore Configuration" and be on my way.
In doing a dry run with this, the OPNsense installer (or rather FreeBSD) refuses to see the format on the flash drive complaining that it isn't formatted or an unknown partition type.
I figured that most distros on the planet would understand at least FAT16 or 32 by now, I guess not. I tried formatting in UFS2, but I either failed horribly or it doesn't like that either.
Could anyone tell me exactly what it might be looking for in terms of formatting and exactly how to do this so it works?
Personally frustrated, but appreciative of any help or suggestion!
Thanks all!
Logged
bartjsmit
Hero Member
Posts: 2013
Karma: 194
Re: USB Flash Drive Format to store backup Configuration
«
Reply #1 on:
February 20, 2017, 07:10:11 pm »
Why not download the configuration from a web browser connected to OPNsense?
System, configuration, backups.
If you forego the RDD data the backup is really small and compresses readily
Bart...
Logged
smajor
Jr. Member
Posts: 77
Karma: 10
Re: USB Flash Drive Format to store backup Configuration
«
Reply #2 on:
February 20, 2017, 07:26:31 pm »
Yes, I understand this, and that is how I get my current configuration.
The goal, as I described, is to have the configuration on-hand and on the USB drive for reloading during install onto a new machine or a reload on the existing machine.
Thanks!
Logged
bartjsmit
Hero Member
Posts: 2013
Karma: 194
Re: USB Flash Drive Format to store backup Configuration
«
Reply #3 on:
February 20, 2017, 10:14:19 pm »
I'm pretty sure you cannot pre-load the OPNsense installation with a previous configuration, so the only route is to do a vanilla install and then restore your XML file.
You can upload your config to a shared drive, or even a cloud storage provider. If the latter, I would certainly use the encryption option.
Bart...
Logged
smajor
Jr. Member
Posts: 77
Karma: 10
Re: USB Flash Drive Format to store backup Configuration
«
Reply #4 on:
February 21, 2017, 12:11:25 am »
Actually, I'm positive you can.
I've done it.
When I had a crash with 16.1 due to a failing hard drive, I had the fresh drive in while the old drive was still connected. During install I was able to select the old drive where it found my configuration and built it into the new install
perfectly
.
This is just putting the configuration on a flash drive so if that happens again it can recover the configuration for it.
Thank you for your replies, but I'd prefer we not debate over what can and cannot be done, I'd prefer any help to my actual question: help with formatting the flash drive properly. If you have any guidance in
that
direction, please share!
Thanks!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
USB Flash Drive Format to store backup Configuration