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

    Kopano Backup problems

    Kopano Groupware Core
    3
    6
    2476
    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.
    • HPH_ZForum
      HPH_ZForum last edited by fbartels

      Hallo,
      just as we had it configured before with Zarafa Bricklevel Backup, we’ve cronjob’ed 2x daily + 1 week- and monthly Kopano Backups.

      We’ve noticed the following:

      • the backup process is painfully slow and causes varios alerts in Nagios and Veeam because of the high CPU load. Multi-Core is disabled at the moment because this really brought down the whole server (Debian/UCS virtual 4-Core [Host: Xeon E5645] with 8 GB RAM, 15 Clients). No application whatsoever has managed to do this 'till now. Now since the first full backups have gone through, the load only lasts for a few seconds. Still - it doesn’t seem to be decent.
      • One one account, the Backup logs fatal errors but continues. It doesn’t seem to be able to handle the “Conversation Action Settings”, “Einstellungen fÃŒr QuickSteps”, “Einstellungen fÃŒr Unterhaltungsaktionen” and one folder containing very old mail archives. I can’t find the culprit messages with Microsoft tools. See the log below:
      2017-01-30 23:00:14,688 - backup0 - INFO - backing up folder: Conversation Action Settings
      2017-01-30 23:00:14,843 - backup0 - ERROR - Traceback (most recent call last):
        File "/usr/lib/python2.7/dist-packages/kopano/__init__.py", line 4227, in log_exc
          try: yield
        File "/usr/lib/python2.7/dist-packages/kopano_backup/__init__.py", line 567, in dump_rules
          etxml = ElementTree.fromstring(ruledata)
        File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
          parser.feed(text)
        File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
          self._raiseerror(v)
        File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
          raise err
      ParseError: not well-formed (invalid token): line 1, column 0
      

      I’d be happy to debug this if someone could guide me!

      Best regards,

      HP

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @HPH_ZForum last edited by

        Hello @HPH_ZForum,

        the traceback is known issue that has meanwhile been fixed in the 8.2 release (currently beta, but wir queuing up a final release with only minimal changes). You can install the kopano-backup packages without issues in your 8.1 setup.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 1
        • HPH_ZForum
          HPH_ZForum last edited by

          Many thanks @fbartels,

          I’m going to wait for the final, then!

          Best regards,
          HP

          1 Reply Last reply Reply Quote 0
          • externa1
            externa1 last edited by fbartels

            I tried 8.2 on 8.1 and it works better but on one Mailbox getting following error

             File "/usr/lib/python2.7/dist-packages/kopano/__init__.py", line 4227, in log_exc
                try: yield
              File "/usr/lib/python2.7/dist-packages/kopano_backup/__init__.py", line 95, in main
                self.backup_folder(path, folder, store.subtree, config, options, stats, user, server)
              File "/usr/lib/python2.7/dist-packages/kopano_backup/__init__.py", line 131, in backup_folder
                file(data_path+'/rules', 'w').write(dump_rules(folder, user, server, stats, self.log))
              File "/usr/lib/python2.7/dist-packages/kopano_backup/__init__.py", line 588, in dump_rules
                ruledata = ElementTree.tostring(etxml)
              File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
                self.gen.throw(type, value, traceback)
              File "/usr/lib/python2.7/dist-packages/kopano/__init__.py", line 4229, in log_exc
                log.error(traceback.format_exc(e))
            AttributeError: 'dict' object has no attribute 'error'
            

            any hints about this AttributeError ?

            rg
            Christian

            fbartels 1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano @externa1 last edited by

              @externa1 can you post the exact version you are using? from the traceback it looks like https://jira.kopano.io/browse/KC-340, which should be part of the latest builds.

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 0
              • externa1
                externa1 last edited by fbartels

                Version is kopano-backup_8.2.0.485-18.2_amd64.deb
                on UCS4.1 with kopano 8.1 latest ucs app center version

                when using kopano-backup_8.3.0~694-73.1_amd64.deb
                i get mapi errors with no backup at all

                2017-02-02 15:45:12,247 - backup - INFO - starting backup
                Thu Feb  2 15:45:12 2017: [error  ] M4LMAPISession::OpenMsgStore() UnWrapStoreEntryID failed 80040107: invalid entry
                2017-02-02 15:45:12,554 - backup - INFO - queued 16 store(s) for parallel backup (1 processes)
                2017-02-02 15:45:12,571 - backup0 - ERROR - Traceback (most recent call last):
                  File "/usr/lib/python2.7/dist-packages/kopano/__init__.py", line 4227, in log_exc
                    try: yield
                  File "/usr/lib/python2.7/dist-packages/kopano_backup/__init__.py", line 75, in main
                    store = server.store(entryid=store_entryid)
                  File "/usr/lib/python2.7/dist-packages/kopano/__init__.py", line 1092, in store
                    return Store(guid=guid, entryid=entryid, server=self)
                  File "/usr/lib/python2.7/dist-packages/kopano/__init__.py", line 1454, in __init__
                    mapiobj = self.server._store2(entryid)
                  File "/usr/lib/python2.7/dist-packages/kopano/__init__.py", line 1062, in _store2
                    self._store_cache[storeid] = self.mapisession.OpenMsgStore(0, storeid, IID_IMsgStore, MDB_WRITE)
                  File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 1086, in OpenMsgStore
                    def OpenMsgStore(self, *args): return _MAPICore.IMAPISession_OpenMsgStore(self, *args)
                MAPIErrorInvalidEntryid: MAPI error 80040107
                
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post