This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[BUGs] Import/Export & Backup/Restore

Just wanted to share my experience on migration from Beta trial license (which expired yesterday) to the new NFR license (or home in someone else case).
Device used was my office UTM120 hardware appliance using software XG version. Just in case, I saved both Export config and Backup files before re-imaging.

Conclusions:
1. Export/Import procedure doesn't work, ended with error message. Tried it multiple times.
2. Backup/Restore worked with this limitations noticed so far:
- admin password was not restored, I had to login with the default one.
- DDNS with Sophos broked with message "DDNS update for host ***.myfirewall.co was Failed". Surprisingly, serial number was not reverted, so I was able to register this device as new on MySophos portal. I had to change DDNS name to something else.
3. It looks like that device serial number and appropriate license keys are not included in Backup file. Imagine that surprise in production environment where you would expect that re-imaging and backup/restore procedure could be finished in 15 minutes...;)



This thread was automatically locked due to age.
Parents
  • Vilic,
    I had to move from beta to home license 3 days ago and I can confirm that Admin password is not kept (default one).
    I am not able to test DDns.
    In my XG installation import/export works with no issue.
    I lost all reports and what I would like to export is reports too.
    I agree with you that they need to improve backup/restore procedure. Maybe restore should be possible without activation/synch or later from XG web IF.
    Configuration should be encrypted with password otherwise Who has access to bck file can restore your XG and access your configuration.

    A lot of work.

    Luk
Reply
  • Vilic,
    I had to move from beta to home license 3 days ago and I can confirm that Admin password is not kept (default one).
    I am not able to test DDns.
    In my XG installation import/export works with no issue.
    I lost all reports and what I would like to export is reports too.
    I agree with you that they need to improve backup/restore procedure. Maybe restore should be possible without activation/synch or later from XG web IF.
    Configuration should be encrypted with password otherwise Who has access to bck file can restore your XG and access your configuration.

    A lot of work.

    Luk
Children
  • Did you do a full export /  full import? I am trying to use the export / import to move some configuration items between 2 installs and while export works as I would expect, import always fails with the not so useful message of "Invalid file passed."

  • After some (a lot) of trial and error, I managed to create an export set of configurations and then import them again between 2 installs. Here are the undocumented requirements:

    1) the file you choose for import must be a tar file even if there is only the 1 Entities.xml file in it.

    2) the file inside the tar file has to be called Entities.xml

    3) the tar file has to be created within the local directory reference (i.e. tar cvf somefilename.tar ./Entities.xml)

    4) beware of Mac OSX tar - it can add special file entries, other platforms dont understand

    5) Of course, any edits you make to the xml are dangerous and may have undesirable results

    6) Beware of dependencies, the export includes them, you will need them too if it is required in the object hierarchy

    I take back half the bad things I said about XG today....

  • Gary,

    nice thread and testing. Good job! Sophos should provide more documentation on "how to export/import configuration file". A deep guide is needed.

    Thank you for your contribution!