[solved] Do Kopano Backup the right way - how? "please specify path to backup data"
boospy last edited by boospy
using here kopano with UCS 4.4.2. Kopano Core 188.8.131.52. 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 :)
you cannot specifiy
--purge=2while 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).
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).
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…
@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.
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