Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Backup & Restore WebApp settings doesn't work

    Kopano WebApp
    2
    2
    183
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • item
      item last edited by

      Hi there,
      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:
      https://kb.kopano.io/display/WIKI/Backup+and+restore+WebApp+settings

      https://stash.kopano.io/projects/KSC/repos/webapp-tools/raw/webapp_settings.py?at=18e62672266e6def623a950a73febedca9483c12

      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?
      Thank you!

      1 Reply Last reply Reply Quote 0
      • A Former User
        A Former User 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.

        Regards,

        Frank

        1 Reply Last reply Reply Quote 0
        • First post
          Last post