Comprehensive data protection for all workloads
Post Reply
mcuervo
Novice
Posts: 7
Liked: never
Joined: Jan 13, 2020 9:19 am
Full Name: M. Cuervo
Contact:

backup moving

Post by mcuervo »

Hi guys.

I have configured a reverse incremental backup, one restore point (minimal) on mondays at 2 and a active full mondays too.
My intention is move this backup files to a SMB mount with a scheduled script, this works fine. The problem is that the next backup veeam do fails because the files is missing.
The are some way to perform this? Create a backup, move it and the next backup do not need anyone files of the previous backup.

Thank you very much.
Regards.
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: backup moving

Post by DGrinev » 1 person likes this post

Hi Cuervo, welcome to the community!

You can achieve this by using the VeeamZip function in conjunction with Windows Task Scheduler to execute it once a week.
The backup created this way is independent and can be moved without an issue.

Thanks!
HannesK
Product Manager
Posts: 14287
Liked: 2877 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: backup moving

Post by HannesK »

Hello,
and welcome to the forums.

Yes, that's expected. Never touch / move the backup files manually - although the names are human readable, that does not mean that you can touch them :-)

To achieve your goal, please use the backup copy job

Best regards,
Hannes
mcuervo
Novice
Posts: 7
Liked: never
Joined: Jan 13, 2020 9:19 am
Full Name: M. Cuervo
Contact:

Re: backup moving

Post by mcuervo »

Hi!.

That you for the replies, i was rewriting my script with powershell and preparing it to execute the VeeamZip function. My new problem now is that i cant found a way to this jobs with powershell.
If i dont do this i get a lot of useless jobs since I only need the last one.
If anyone knows the way please tell me.

Regards.
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: backup moving

Post by DGrinev »

Have you searched in the PowerShell Reference guide?
I found a related article for VeeamZip here.

Thanks!
mcuervo
Novice
Posts: 7
Liked: never
Joined: Jan 13, 2020 9:19 am
Full Name: M. Cuervo
Contact:

Re: backup moving

Post by mcuervo »

Yes, in this command it looks i can delete the file, but what i need is delete the job because the file is already move to a SMB share.
I searched too in the Get-VBRJob command but it prints me the normal job backups and not the veeamzip backups :(
Thank you too!
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: backup moving

Post by foggy »

Could you please elaborate on what your ultimate goal is since chances are you don't need VeeamZIP for this? Do you need to literally move the full backup file for some reason or just have two backups in different locations for DR purposes is what you're trying to achieve? In the former case, you can set the ForceCreateMissingVBK registry value to 1 to avoid failures, in the latter, it is more recommended to use a backup copy job, as Hannes has suggested.
mcuervo
Novice
Posts: 7
Liked: never
Joined: Jan 13, 2020 9:19 am
Full Name: M. Cuervo
Contact:

Re: backup moving

Post by mcuervo »

Hi.
My goal is create a full backup of a VM and next move it to a P:\ (SMB share).
At this time i tried this two things:
-Create a job which only do full backups, but it just works first time because it needs the .vbk file.
-Create a job with VeeamZip, no .vbk file dependant; it works fine but was nicely delete the jobs with the powershell script to get more visibility in the job panel (i run the job two times, so in the panel appears two jobs but i only need the last one because this first is missing.)
Regards
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: backup moving

Post by foggy »

OK, the registry value should help then. But the overall design is questionable to me since you're not following the 3-2-1 rule and due to the low retention setting (just a single restore point), one day may find yourself without any backup at all.
mcuervo
Novice
Posts: 7
Liked: never
Joined: Jan 13, 2020 9:19 am
Full Name: M. Cuervo
Contact:

Re: backup moving

Post by mcuervo »

Thanks for you reply, i aml trying it, for now it keeps failing. Im doing an active full and test if now i can keep doing normal activations.
So it is impossible delete the job right? I was searching but didnt find nothing usefull :(
Respect the 3-2-1 rule, i create a folder in the script to put the backup in it, so i can have the backups safely in the SMB mount and keep disk space for other jobs.
Thank you all very much for your replies :D.

Best regards.
mcuervo
Novice
Posts: 7
Liked: never
Joined: Jan 13, 2020 9:19 am
Full Name: M. Cuervo
Contact:

Re: backup moving

Post by mcuervo »

Sorry guys for the spam, but the registry key method seems that it not work.

I created in the HKEY_LOCAL_MACHINE/SOFTWARE/Veeam/Veeam Backup and Replication folder the key "ForceCreateMissingVBK " as dword, value 1 and reboot the machine.
I'm still having the initial issue: first backup works fine but the second get the error "Processing XXX Error: Storage file XXX.vm-1122D2020-01-13T161731_99B8.vbk is missing from host"
Sorry if i did something wrong, the information i found was this.

Regards.
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: backup moving

Post by DGrinev »

You should remove information from the database about missing restore points before you can delete the backup job.
Please review this article in the User Guide for additional information.

Thanks!
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: backup moving

Post by foggy »

mcuervo wrote: Jan 13, 2020 3:33 pm I created in the HKEY_LOCAL_MACHINE/SOFTWARE/Veeam/Veeam Backup and Replication folder the key "ForceCreateMissingVBK " as dword, value 1 and reboot the machine.
I can see the closing space character in the registry value name above, this might be the reason.
mcuervo
Novice
Posts: 7
Liked: never
Joined: Jan 13, 2020 9:19 am
Full Name: M. Cuervo
Contact:

Re: backup moving

Post by mcuervo »

Hi.
I do not have pending restore points in the backup and the registry key name and value have not blank spaces.
I will delete and recreate de job.

Thanks and Regards.
gummett
Veteran
Posts: 404
Liked: 106 times
Joined: Jan 30, 2017 9:23 am
Full Name: Ed Gummett
Location: Manchester, United Kingdom
Contact:

Re: backup moving

Post by gummett »

Would configuring the repository as 'backed by rotated hard drives' help in this scenario?
https://helpcenter.veeam.com/docs/backu ... s_hiw.html
Ed Gummett (VMCA)
Senior Specialist Solutions Architect, Storage Technologies, AWS
(Senior Systems Engineer, Veeam Software, 2018-2021)
Post Reply

Who is online

Users browsing this forum: restore-helper and 283 guests