Hello there @mario996 ,
Thank you for using K10 & Kanister!
Can you clarify what you mean by
I can found the object of the previous (and deleted) restore point.
Are you talking about the 'rs_backup.gz' files from previous runs, or the actual content of restore points, or both?
Based on what you wrote above, you should see backup repositories (K10’s catalog + data) exported. Deleted RestorePointContent are not immediately removed from the remote location on deletion though, instead we “mark them as deleted” but the actual removal is done as part of a maintenance/background task in a future run.
This is in place to give a small (but sometime useful) margin to recover data with the help of our support team (no commitment!) in case this was ever needed.
Hope that helps!
Best regards,
Sylvain Huguet
Kasten by Veeam
Hi @shuguet, many thanks for replying!
When I say “I can found the object of the previous (and deleted) restore point.” I refer to files like “kopia.repository”, “kopia.maintenance” and other compressed and encrypted ones that were pushed to minio bucket during the export phase of backup.
So this files are marked as “deleted” and then there will be a maintenance/background task that will delete them effectively?
If I understand correctly, how many times in one day this task is executed? Is there some way to customize the schedule of this task?
Many thanks in advance!
Ha :)
Those files are expected to be there. K10 actually orchestrate the use of an open source tool called Kopia (https://kopia.io) to ”copy” data to out of your local cluster and into an external location (like your Minio bucket.
Kopia uses a concept of a catalog (a sort of database) to keep track of anything it has backed up, blocks, files, etc. and use those informations to do things like deduplication, compressions, differential backups, etc.
So when you are looking at the bucket, you are actually seeing files that Kopia can read/understand, not a 1:1 copy of the files in your application’s data volumes.
If we “simply” did a 1:1 copy, we would have to re-copy 100% of your data each time, from your local cluster storage, over the wire, and into the object repository.
Having Kopia in the loop with its handy catalog actually reduce that.
The maintenance task I mentioned takes care of “cleaning up” files/blocks that are not necessary from the catalog, without you having to do anything. You cannot customize this behaviour no how/when it is performed, nor should you worry about it. K10 & Kopia takes care of that for you.
Just know that taking a backup+export, then deleting the export from the GUI doesn’t meant you’ll see additional space freed up right away from the Minio bucket, as mentioned previously, there will be a delay (Up to a couple of days in certain scenarios) before Kopia performs the final cleanup & actual deletion of the blocks/files marked for deletion in its catalog.
Best regards,
Sylvain Huguet
Kasten by Veeam.
Hi @shuguet,
Thanks a lot!
So, in summary, the maintenance task will clean up files/block from the catalog and then from MinIO bucket? It is correct ?
The maintenance task will clean up files/blocks (and metadata associated) from the catalog, and then that will be reflected on the overall MinIO bucket yes. Although there is no direct relationship between the blobs/objects you see in the MinIO bucket and the actual files being backed up.
So you might see changes in some objects sizes, or new objects created, or objects deleted.
As it’s a catalog and not a list of files, the “important” part is the overall size of the bucket, not the actual behaviour of any individual object in the bucket.
Best regards,
Sylvain Huguet
Kasten by Veeam