REstore from BACKUP NOT WOrking… Help!!!
I am trying to restore a backup from a soekris device into a PC.
I configured the "quick install" without any problem.. over another machine I connected web no problem.
I go to restore from a File xml.. restore is ok.. I see all the config as before.. but keep log me out.. I can access with my previous account (from the backup) without any problem.
all the services are DOWN… so I reboot the pfsense and AFTER the reboot ALWAYS "DIE"..
the "error" or hang is
cd present ...
time counter TSC LOG...
TRYING TO MOUNT ROOT FROM USF:/dev/ufsid/556f5e5a2ef72af1 [RW]
network 1 up
network 2 down
network 3 down
network 4 down….
Always keep hang after the trying to mount root from:
When I restore backups from different devices, I make sure the Interfaces match up, so fire up your usual XML editor, and just go through and search for the EMx /UEx/etc in the xml file and tweak the xml file that way.
If you are using Windows, MS do a free one called XML Notepad 2007, its reasonable in its functionality if not a bit basic but its not clunky imo and dont forget you can also use the XML notepad to tweak other settings en-masse if need be, which can be useful for merging different configurations together quite quickly.
One other thing, if using windows 7, the default for opening xml files is Internet Explorer, if you want to have XML notepad open it up, right mouse click on an XML file, from the pop up menu choose Open With …, Choose default program..., in the new window click Browse and navigate to XML Notepad 2007 (C:\Program Files x86\ on 64bit windows), then click on XMLnotepad, click open, then click, then before clicking OK on the previous window you return to titled Open With, make sure Always use the selected program to open this kind of file is ticked.
Then in future when you double click an XML file it will open up in XML notepad instead of Internet Explorer, which makes life a little easier.
When things stop displaying there, it's because it switched over to the serial console. It's probably sitting at a prompt to reassign interfaces on the serial console. Change the config to use VGA as the primary console before restoring it, under System>Advanced on the source system if it's still available, otherwise edit the config and replace this:
looking into the XML file I found that indeed it's setting for <primaryconsole>serial</primaryconsole>
I will change that for VGA.
but that is not the problem… or I don't know because.
the pfsense don't show up it's like the MOUNT ROOT never finished or something... and I know that because I assigned an ip... and after the restore I can't ping the pfsense is dead.
BUT!! on the screen if you disconnect a NIC it will show... "EM1 now disconnected"..
I will change the config for VGA and let you know
Thanks for the tips..
In addition I look on the XML for dev/ufsid/ but I could not find any match with that. (if dev/ufsid/ is the path for the Serial files for video, maybe that is the problem, because on the installation I always picked up VGA..
I will try and let you know!
Have you got a backup for the device you want to move onto and compared the XML backup that way?
Sometimes you need to do a bit of digging for example if you use PPPoe for your wan, then you wont find a EMx/UEx for your wan interface, but you will find PPPoE where EMx/UEx would be, so then searching for PPPoe shows up the EMx/UEx further down in the xml file.
Same approach might need to be applied for finding dev/ufsid/ but I have no experience of soekris.
An alternative approach is instead of backing up everything in one big XML file, back up each section separately from the soekris and restore each smaller XML backup one by one having made any tweaks you need to make.
As there will be differences in hw setups, if you only need the rules, it would be easier to just backup the rules tweak the interfaces in the XML and you might be get more success with that approach.
The mountroot is the last thing it displays to VGA before outputting everything to the serial console, it's not stopped there.