Comprehensive data protection for all workloads
Post Reply
karsten123
Service Provider
Posts: 482
Liked: 120 times
Joined: Apr 03, 2019 6:53 am
Full Name: Karsten Meja
Contact:

Copy existing backups with encryption

Post by karsten123 »

Hi everyone,

i have to copy existing backup files from one repository to another.
Unfortunately the files are not encrypted. But this is mandatory.

Is it possible to copy the files with encryption and preserve all restore points.

GUI and powershell solutions are welcome.

Thanks guys
HannesK
Product Manager
Posts: 14844
Liked: 3086 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Copy existing backups with encryption

Post by HannesK »

Hello,
the only way to introduce encryption to existing backup data is a backup copy job where encryption can be enabled (well, also capacity tier with encryption would be encrypted, but that sounds out of scope of the question)

But the backup copy job does copy only the latest restore point. With BackupCopyMirrorAll registry key the whole chain would be copied, if BCJ in "mirror mode" is used ( fulls will become increments on the target side).

Best regards,
Hannes
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Copy existing backups with encryption

Post by veremin »

Do you have to perform the migration right now, or can you wait some time? How long is the retention period? If not too long, you can enable encryption in the backup job, create a new full backup, wait till all restore points a backup chain consists of are encrypted, and copy them to the target repository. Or you can add an immediate backup copy job (as Hannes has suggested), point it to the target repository, and wait till it reaches the necessary number of restore points. Thanks!
karsten123
Service Provider
Posts: 482
Liked: 120 times
Joined: Apr 03, 2019 6:53 am
Full Name: Karsten Meja
Contact:

Re: Copy existing backups with encryption

Post by karsten123 »

Hi Hannes, hi Vladimir,

the immediate copy with the registry key sounds promising. Thank you for your suggestions. I will give it a try.

But i have only the backups without the backup jobs because it backups allready to a new target.
Is it possible to create a new backup job, map existing backups to it and then copy it with immediate copy mode with encryption enabled?

Thanks again.
Karsten
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Copy existing backups with encryption

Post by veremin »

Should be possible. Thanks!
karsten123
Service Provider
Posts: 482
Liked: 120 times
Joined: Apr 03, 2019 6:53 am
Full Name: Karsten Meja
Contact:

Re: Copy existing backups with encryption

Post by karsten123 » 1 person likes this post

Hi,
i did figure it out.

What i have said, the backups were orphaned because the original backup job was cloned and deleted to target the new repository.

What i have done:
- create a backup job for the vms in the backups. i did a restore of a missing vm to select these too.
Map the original backups.
- create a backup copy job in immediate copy mode with the original retention, encryption and the new target repository
- create the registry setting BackupCopyMirrorAll for the copy job
- activate the copy job and wait for all restore points to copy. done

I have checked the source and the new copy backups and everything seems to be ok.

Thanks.
Karsten
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Copy existing backups with encryption

Post by veremin »

Thanks, Karsten, for taking the time and sharing the verified solution with the community; much appreciated!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 64 guests