tmunzer / mist_library

Python scripts demoing Mist APIs possibilities.
MIT License
29 stars 13 forks source link

org_conf_deploy Error #22

Closed peterbrischetto closed 3 months ago

peterbrischetto commented 3 months ago

I'm getting the following critical error when trying to restore a backup taken with the org_complete_backup script.

See below the output / error.

---------------------------- Source Backup/Template ----------------------------

No Template/Backup found for organization None. Please select a folder in the following list.
Available Templates/Backups:
0) Company Name 01
1) Company Name 02

Loading template/backup file org_conf_file.json  ............................. ✔
Analyzing template/backup file org_conf_file.json  ........................... ✖

[CRITICAL ] Unable to parse the template/backup file

Looking at the script.log file, this is the last 3 lines

DEBUG:main:conf_deploy:_start_deploy_org INFO:main:Loading template/backup file org_conf_file.json : Success ERROR:main:Analyzing template/backup file org_conf_file.json : Failure

Any ideas what could be causing the Critical error?

rikardh commented 3 months ago

I'm seeing the same issue.

tmunzer commented 3 months ago

Hi,

sorry for the late reply, I will not have the time to work on it before next week. @rikardh , can you send me your backup by email?

Thanks

rikardh commented 3 months ago

Did you get them, @tmunzer?

Cheers!

tmunzer commented 3 months ago

Hi @rikardh, yes, I'll take a look at them ASAP

tmunzer commented 3 months ago

Hi @peterbrischetto , @rikardh ,

I just updated the script to deploy the backup. It should be better now. Can you give it a try and let me know?

Thanks

peterbrischetto commented 3 months ago

Hi @tmunzer ,

Just tested backing up and restoring an Organization from Global 01 to APAC 01 and it worked perfectly.

Thank you for promptly resolving the issue.