Move the backuped folders but keep old history and backups

Hi,

I am quite new to Kopia, so please excuse me if my question is trivial. I haven’t found the answer to it in the FAQ and I also haven’t found it here on the forum.

I used Kopia UI to back up the data of my user account (C:\Users\User1) from my Windows PC to an external hard disk and then completely reinstalled Windows on the PC. I then successfully restored the old data from the backup with Kopia and pasted it into the new user folder. Now I would like to reintegrate or update the files of the user account with Kopia into the old backup without having to copy everything again and thus use twice as much storage space.
But there’s the problem: My old user path was: C:\Users\User1 and now the user has a different name, so the path is: C:\Users\User2.
How can I update the address of the repository? And do I have to take anything into account so that there are no conflicting files?

I hope I have described it understandably and that you can help me.
Max

Welcome! :waving_hand:

Sound like you are looking for the kopia snapshot move-history (or move-history) command.

Note though, that you do not need to move snapshots if you only care about storage space. Kopia does recognize any duplicate content and doen’t save it more than once.

Unfortunately I’m unable to provide any further help as I’ve never used this command.

kopia repo connect’s --override-username &/or --override-hostname might be relevant to you, too:

Hey,
thanks a lot for your help!
It ended up being much easier than I thought.
I just created a new policy that backed up the new user path. And paste the settings from the old policy into it.
I also deactivated the scheduling for the old policy. Now I can clearly distinguish between what was before and after the new installation o
f Windows. Kopia still integrated everything into the same backup in the background and there was no unnecessary use of disk space due to redundant files.

Much easier than I thought :slight_smile: It’s a really good program!