kopano-backup save all

Hi everyone,

I want to backup all mailboxes with kopano-backup. However i want to save all this for 1 year. How many months does kopano-backup stores everything?

So when i delete a mail in my mailbox, i want to be able to have the option with kopano-backup to restore this email for 1 year.

hi @ckruijntjens ,
so I think you should run an initial backup and verify it its done correct. Than you can do incremental backups:
https://documentation.kopano.io/kopanocore_administrator_manual/backup_restore.html#brick-level-backups
as I understand the man kopano-backup - it depends on you how long you keep the backups.

Restoring Single Messages looks to be possible:
" Restore single message:

   kopano-backup --restore backup/henk --sourcekey
   72EE69D0A283408E89BFC35AD251E9B3830000000000

"
But don’t forget to make a mysql dump.
I personally prefer the mysqldump and the tar cvfz for all attachments.

best regards
Andreas

@anotherandy

Hi i am allredeay doing this. Is it possible to search doe text inside e-mails instead of only for subjects?

Now i do kopano-backup —index /opt/mailbackup/user | grep -i subject

Can is search for all?

I’m sorry - maybe @fbartels can answer this question, he’s one of the kopano experts ;-)

@ckruijntjens said in kopano-backup save all:

How many months does kopano-backup stores everything?

Indefinitely.

@ckruijntjens said in kopano-backup save all:

So when i delete a mail in my mailbox, i want to be able to have the option with kopano-backup to restore this email for 1 year.

Kopano-server already has this functionality:

Soft deletes always remain in the database, until they are purged. When an item will be purged is set by the softdelete_lifetime configuration value. The default value is 30 (days).

Setting the lifteime to 365 would accomplish exactly what you’re looking for.

@joost

Hi Joost can i also search for other things then subject? Kopano-backup …| grep subject

@joost

Hi can i also search on sender? Instead of subject?