This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Import partial or part of config?

New installs of XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
madgabz
Starter
Starter
Posts: 51
Joined: 04 Jul 2012 09:48
Status: Offline

Import partial or part of config?

Post by madgabz »

Hi,
I'm trying to regenerate my crashed nas4free system, but only needs to import specific parts of the config! Is that possible?
I will be editing the xml manually then import it using the web frontend, will that only make the necessary changes, or will that still overwrite some other basic settings or whatnot?

TIA,
MadGabZ

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Import partial or part of config?

Post by raulfg3 »

yes it's possible, and be recomended long time a go when nas4free start to migrater from FreeNAS 0.7, but be carefull and have a not edit file to replace actual one if somethings fails.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

madgabz
Starter
Starter
Posts: 51
Joined: 04 Jul 2012 09:48
Status: Offline

Re: Import partial or part of config?

Post by madgabz »

OK, that wasn't an entirely easy one!
Removing all other entries in config.xml, BUT the one I needed made nas4free go back to defaults for all other entries, than the ones i left! So, to do this, you have to backup your current (new install) config, then take the parts from old config you need to transfer, and replace them equivalent parts in the new config with the ones from the old!
example: I installed a new nas4free, setup all access and share parts, and manually reconfigured disks setup (i had a few changes!). Then, backup the new config.xml. Now, I need to re-import the old rsyncd and access parts (users'n'groups) from my old setup. I load up the new config.xml backup, and the old config.xml as well, in my favourite windows editor, Notepad++ (YMMV!). I copy only the entire 'rsyncd' & 'access'-parts from the old config.xml, and overwrite/paste the corresponding parts in the new config.xml. I save this as a config_modded.xml, and restore this file in nas4free, and reboots! voila!

Post Reply

Return to “Install XigmaNAS”