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 » Jan 13, 2020 9:26 am

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
Expert
Posts: 1943
Liked: 246 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: backup moving

Post by DGrinev » Jan 13, 2020 10:01 am 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
Veeam Software
Posts: 5062
Liked: 673 times
Joined: Sep 01, 2014 11:46 am
Location: Austria
Contact:

Re: backup moving

Post by HannesK » Jan 13, 2020 10:03 am

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 » Jan 13, 2020 1:55 pm

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
Expert
Posts: 1943
Liked: 246 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: backup moving

Post by DGrinev » Jan 13, 2020 2:10 pm

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 » Jan 13, 2020 2:12 pm

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: 18790
Liked: 1650 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: backup moving

Post by foggy » Jan 13, 2020 2:25 pm

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 » Jan 13, 2020 2:31 pm

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: 18790
Liked: 1650 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: backup moving

Post by foggy » Jan 13, 2020 2:44 pm

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 » Jan 13, 2020 3:19 pm

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 » Jan 13, 2020 3:33 pm

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
Expert
Posts: 1943
Liked: 246 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: backup moving

Post by DGrinev » Jan 13, 2020 3:48 pm

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: 18790
Liked: 1650 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: backup moving

Post by foggy » Jan 13, 2020 3:53 pm

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 » Jan 13, 2020 4:12 pm

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
Veeam Software
Posts: 118
Liked: 15 times
Joined: Jan 30, 2017 9:23 am
Full Name: Ed Gummett
Location: Manchester, United Kingdom
Contact:

Re: backup moving

Post by gummett » Jan 20, 2020 12:28 pm

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)
Systems Engineer UK & Ireland
Veeam Software

Post Reply

Who is online

Users browsing this forum: Alexander S., wishr and 47 guests