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 error when backup-target full

    Kopano Groupware Core
    2
    2
    126
    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.
    • KaBi
      KaBi last edited by

      Hi guys,
      as mentioned in the topic: when it occurs that there is no free space on the target storage - backup failes of course. However, after freeing some space it does not resume. Following errors appear

      2020-06-24 23:02:18,645 - backup0 - 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 220, in main
          self.backup_hierarchy(path, stats, options, store, user, server, config)
        File "/usr/lib/python3/dist-packages/kopano_backup/__init__.py", line 287, in backup_hierarchy
          self.backup_folder(data_path, data_path, folder, subtree, config, options, stats, store, user, server)
        File "/usr/lib/python3/dist-packages/kopano_backup/__init__.py", line 325, in backup_folder
          importer.commit()
        File "/usr/lib/python3/dist-packages/kopano_backup/__init__.py", line 398, in commit
          item_db[sourcekey.encode('ascii')] = data
        File "/usr/lib/python3/dist-packages/bsddb3/__init__.py", line 248, in __setitem__
          _DeadlockWrap(wrapF)  # self.db[key] = value
        File "/usr/lib/python3/dist-packages/bsddb3/dbutils.py", line 67, in DeadlockWrap
          return function(*_args, **_kwargs)
        File "/usr/lib/python3/dist-packages/bsddb3/__init__.py", line 247, in wrapF
          self.db[key] = value
      bsddb3.db.DBPageNotFoundError: (-30986, 'BDB0075 DB_PAGE_NOTFOUND: Requested page not found') 
      

      My only solution is to delete the contents of the backup folder and restart the backup. Is there any another possibility?

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

        Hi @KaBi,

        the actual backup data is stored in Berkeley DB files, which probably were corrupted when your disk ran out of space. Berkeleydb is a well used technique and there are external tools to inspect and repair these files.

        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
        • First post
          Last post