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 and attachments stored outside db

    Kopano Groupware Core
    3
    23
    1439
    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.
    • A Former User
      A Former User last edited by

      Hi all

      I have a question. I always had everything inside the database. Now i exporten attachments outside the database and al is werking fine. However when i attempt to restore an e-mail with attachments (kopano-backup) iT is not restoring my e-mail. If i do a restore of an e-mail without attachments iT is wording fine.

      Is the Some other approuch now that i have the attachments stored out of the database ??

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

        Backup and restore where attachments are stored:
        attachment_path =

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

          @ckruijntjens said in Kopano backup and attachments stored outside db:

          Is the Some other approuch now that i have the attachments stored out of the database ??

          For kopano-backup itself it does not make a difference if attachments are stored inside or outside of the database.

          Please post:

          • concrete error messages
          • versions in use

          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/

          A Former User 1 Reply Last reply Reply Quote 0
          • A Former User
            A Former User @fbartels last edited by

            @fbartels

            hi. if i want to restore a item with attachments that i backuped 2 days ago. i restore the item no errors but no email is restored?

            0_1541444412228_01aea053-7670-4cca-bf1f-45be81fe86bb-image.png

            Name        : kopano-backup
            Arch        : x86_64
            Version     : 8.7.80.27
            Release     : 22.1
            Size        : 87 k
            Repo        : installed
            From repo   : kopano
            Summary     : Utility to back up and restore Kopano stores
            URL         : https://kopano.io/
            License     : AGPL-3.0-only
            Description : kopano-backup is a MAPI-level backup/restore tool. It can sync
                        : complete users/stores to disk using ICS to incrementally sync the
                        : respective MAPI items, and can process stores in parallel.
            
            
            1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano last edited by

              kopano-backup can take an argument to print more verbose logging. kopano-backup -l debug ...

              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/

              A Former User 1 Reply Last reply Reply Quote 0
              • A Former User
                A Former User @fbartels last edited by

                @fbartels said in Kopano backup and attachments stored outside db:

                -l debug

                0_1541448321202_fd2bc37a-1a6f-46c6-aa5c-02227b972e68-image.png

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

                  Does that message already exist? Maybe try to restore it to a temp folder (see man page) ?

                  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/

                  A Former User 1 Reply Last reply Reply Quote 0
                  • A Former User
                    A Former User @fbartels last edited by

                    @fbartels

                    The message does not excist. I deleted this email to test. Also if i restore it to a folder restore-root=/Inbox it tells me the same thing 0 changes

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

                      Please try something other than inbox.

                      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/

                      A Former User 1 Reply Last reply Reply Quote 0
                      • A Former User
                        A Former User @fbartels last edited by

                        @fbartels

                        Hi if i tell to restore to other folder same problem. 0 changes?

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

                          Can you provide a copy of your backup files to feedback at kopano dot io?

                          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/

                          A Former User 1 Reply Last reply Reply Quote 0
                          • A Former User
                            A Former User @fbartels last edited by

                            @fbartels

                            Can i make a copy of just a couple of items? Because there are a lot of sensitive data in my backups

                            1 Reply Last reply Reply Quote 0
                            • A Former User
                              A Former User last edited by

                              I tested if a restore a item without attachment it is working fine. I recently moved the attachments outside the database. Can it have somerhing to do with this? Before i did not have this problem?

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

                                Well, as long as you can reproduce the effect, sure try reducing the amount of elements in the backup.

                                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
                                • A Former User
                                  A Former User last edited by

                                  If i restore the item from webapp(trash restore items) it is working fine?

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

                                    I do not get what you are asking

                                    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/

                                    A Former User 1 Reply Last reply Reply Quote 0
                                    • A Former User
                                      A Former User @fbartels last edited by

                                      @fbartels

                                      Not asking. But i think it is strange that i can restore the item from the webapp.

                                      But not from command line.

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

                                        Are you referring to the soft deleted items?/“Restore deleted items”? This is an entirely different functionality.

                                        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/

                                        A Former User 1 Reply Last reply Reply Quote 0
                                        • A Former User
                                          A Former User @fbartels last edited by

                                          @fbartels

                                          This has deffently to do with attachments. I restored a snapshot where every attachment is inside the db. Then i can restore without problems. Now i tried again with attachments outside db and i can only restore email without attachments.

                                          No errors logged.

                                          1 Reply Last reply Reply Quote 0
                                          • A Former User
                                            A Former User last edited by

                                            @fbartels

                                            i think my database is somehow corrupt or something. if i move mails i outlook it wont move on my phone. before i never had this issue. is there somehow i can scan and fix the database? if corrupted?

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