Moving files across directories / policies

Would like to find out, if anyone have experience regarding this.
Have set-up a few policies to backup the following folders / directories, e.g.:
Policy 1 for /mnt/user/Projects
Policy 2 for /mnt/user/Past Projects
The reason for the different policy is to set different retention, and to avoid snapshotting too many things while multiple users are accessing the server.

Now that some projects in /mnt/user/Projects has been concluded, we would like to move it to /mnt/user/Past Projects. Say /mnt/user/Projects/Project A with 100GB is moved to /mnt/user/Past Projects.

In this situation, how will kopia handle snapshotting the same files that has been moved across directories and policies as well? Will it be:
A. kopia create additional blobs while snapshotting /mnt/user/Past Projects; or
B. kopia will be be very smart and know that the files are the same just refer back (index I guess?) to the same blobs that was previously snapshotted at /mnt/user/Projects?

Asking because in the long term, if the answer is A, it will cause quite a lot more storage to be used, and I will have to rethink how the policies are set up.

As data is already in the repo then it will be re-used. This is how de-duplication works. The same data is never saved again.

I think the files will be backed up as if they were totally new after they have been moved, BUT as kaptainsky wrote, the contents of the files are already in place in the repo, so the client might spend some time doing compression, splitting and encryption on the β€œnew” files but it will not send them over the net, since after the crypto/compressing is made for each piece, it will be found identical to the existing pieces on the repo. So the first backup run after you move files around might use some client cpu extra, but after that it should be smooth and quick.

1 Like