Backup & Restore WebApp settings doesn't work
item last edited by
we sometimes have the problem that some users lost their WebApp settings… that’s not a big problem, but I want to backup the WebApp settings for my users, so I can restore them for the case of falls. I tried this script:
The backup is working:
python webapp_settings.py --user username --backup
-> username.json was generated
But when I try to restore the settings I get an error (this are the last lines):
Traceback (most recent call last): File "webapp_settings.py", line 47, in <module> main() File "webapp_settings.py", line 43, in main user.store.prop(PR_EC_WEBACCESS_SETTINGS_JSON).set_value(json.dumps(data)) AttributeError: 'Property' object has no attribute 'set_value'
Maybe someone has an idea?
sauserdauser last edited by
I use this command
python3 /_ScripteAndTools/webapp_admin.py --user User --file=/_local_backup/kopano-backups/User.json --restore
for the restore without problem.