Traceback while backup-restore
-
Hi all,
I’ll try to move user data to a new server with kopano 8.7.20 (supported) and get following error2021-04-11 17:52:04,572 - backup - ERROR - Traceback (most recent call last): File "/usr/lib/python3/dist-packages/kopano/log.py", line 103, in log_exc try: yield File "/usr/lib/python3/dist-packages/kopano_backup/__init__.py", line 749, in restore_folder item = folder.create_item(loads=data, attachments=not self.options.skip_attachments) File "/usr/lib/python3/dist-packages/kopano/folder.py", line 483, in create_item item = _item.Item(self, eml=eml, ics=ics, vcf=vcf, load=load, loads=loads, attachments=attachments, create=True, save=save) File "/usr/lib/python3/dist-packages/kopano/item.py", line 206, in __init__ self.loads(loads, attachments=attachments) File "/usr/lib/python3/dist-packages/kopano/item.py", line 1198, in loads self._load(_pickle_loads(s), attachments) File "/usr/lib/python3/dist-packages/kopano/item.py", line 1170, in _load self.mapiobj.SetProps(props) File "/usr/lib/python3/dist-packages/MAPICore.py", line 404, in SetProps return _MAPICore.IMAPIProp_SetProps(self, cValues) TypeError: bad argument type for built-in operation
Reason might be I got some warnings on the old server, as some messages did not have anymore atachements
[...] 2021-04-11 12:57:23,844 - backup - WARNING - no data found for attachment of item with entryid 000000004C1D8CD9214345F8928DAF4FD3215BAD010000000500000067582B84A8414792AC07B76F8B4708A600000000 2021-04-11 12:57:23,875 - backup - WARNING - no data found for attachment of item with entryid 000000004C1D8CD9214345F8928DAF4FD3215BAD01000000050000009640FD0117F24B7A9F57C50E0C96D5AA00000000 2021-04-11 13:07:11,258 - backup - WARNING - no data found for attachment of item with entryid 000000004C1D8CD9214345F8928DAF4FD3215BAD0100000005000000AB4C0EF9E3924DCDA0E79601B711778500000000 [...]
I would not mind deleting those messages for a clean restore, but how?
Any help is highly appreciated.
Thanks
Scheini72 -
@scheini72 said in Traceback while backup-restore:
kopano 8.7.20 (supported)
In that case I would recommend contacting the Kopano support directly and submit the backup set to reproduce the error.