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

    [solved] Do Kopano Backup the right way - how? "please specify path to backup data"

    Kopano Groupware Core
    2
    5
    581
    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.
    • boospy
      boospy last edited by boospy

      Hello all,

      using here kopano with UCS 4.4.2. Kopano Core 8.7.1.0. I would like to use the integrated Backup of Kopano.

      So the first thing is, how will be the attachments default saved? At the filesystem or at the database. In my Server.cfg there are the option no set, so default, but what is the default?
      If Filesystem is set, then i would like to change this to database, because it make Backups easier.

      Good. So if i execute my second backupcommand this did not work. First Backup:

      /usr/sbin/kopano-backup --skip-junk --skip-deleted -w 6 --output-dir=/root/kopano-backup
      

      After this i would only save the changes, so:

      /usr/sbin/kopano-backup --skip-junk --skip-deleted -w 6 --output-dir=/root/kopano-backup --purge=2
      

      But with this i get the error message:

      please specify path to backup data
      

      What path? I have set the path, or is there something else meant?
      Very Thanks :)

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

        Hi @boospy,

        you cannot specifiy --purge=2 while running a backup. This is also the reason why he asks you for the path to the existing backup(as last part of the command).

        @boospy said in Do Kopano Backup the right way - how? "please specify path to backup data":

        i would like to change this to database, because it make Backups easier.

        The default is storing attachments in the filesystem and this is also highly recommend. With the convenience of just running a backup of the database (vs. also running an rsync over the attachment for) you get much larger databases which negatively impact performance and also your time to backup and restore (attachments usually account for 75-90% of your total data and you don’t want to have this inflating your database).

        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
        • boospy
          boospy last edited by

          Thanks for the Information. First: Attachments stay in filesystem.

          But i do not unterstand this purge-feature. So i run my first backupjob. Ok this is working fine. So if i understand this right, if i execute the same backupcommand a second time, the first backup will be overwriten, or better, new files will be backuped.

          Ok, but for what is now purge? Should purge delete files on the backuptarget that where delete on the running server/account? If yes, and i don’t do this, i have alle files in the backup, also the deleted, right? I know not the trash, because i excluded this. … strange…

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

            @boospy on a second execution the old backup won’t be overwritten, it will be extended with the data since the last execution. that means items you have since then deleted are still within the backup files.

            if you want to have them gone you need to run the purge.

            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
            • boospy
              boospy last edited by

              Ah… now i understand… so easy :) this is second command, after the backup. This works fine:

              /usr/sbin/kopano-backup --purge=2 /root/kopano-backup
              

              Solved, very thanks

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