Backup a single VM from a Backup job

Availability for the Always-On Enterprise

Backup a single VM from a Backup job

Veeam Logoby Andrew5143 » Fri Oct 07, 2016 1:40 pm

Hi all,

Is there a way of backing up a single VM from a backup job. For example when we build a new virtual server we add it to a backup job. As part of the process we take a full backup of the server as soon as it is built. (we have not had to do this since we installed Veeam). Is there a way to backup the new server without creating a separate backup job for that single server?
Andrew5143
Lurker
 
Posts: 2
Liked: never
Joined: Fri Oct 07, 2016 1:25 pm

Re: Backup a single VM from a Backup job

Veeam Logoby Shestakov » Fri Oct 07, 2016 1:46 pm

Hi Andrew and welcome to the community!
You can use VM containers as backup job objects so you don`t need to create another job each time new VM or host appears.
Thanks!
Shestakov
Veeam Software
 
Posts: 5128
Liked: 430 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Backup a single VM from a Backup job

Veeam Logoby dellock6 » Sat Oct 08, 2016 10:14 am

The request sounds more like the need to run the backup job, and inside it only process the newly added VM and not every vm that is in the job. You can use quick backup for this need:
https://helpcenter.veeam.com/backup/vsp ... ackup.html

Luca
Luca Dell'Oca
EMEA Cloud Architect @ Veeam Software

@dellock6
http://www.virtualtothecore.com
vExpert 2011-2012-2013-2014-2015-2016
Veeam VMCE #1
dellock6
Veeam Software
 
Posts: 5136
Liked: 1377 times
Joined: Sun Jul 26, 2009 3:39 pm
Location: Varese, Italy
Full Name: Luca Dell'Oca

Re: Backup a single VM from a Backup job

Veeam Logoby v.Eremin » Mon Oct 10, 2016 9:04 am

I doubt quick backup will help here, as it is for incremental tasks only. Thanks.
v.Eremin
Veeam Software
 
Posts: 13701
Liked: 1020 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Backup a single VM from a Backup job

Veeam Logoby dellock6 » Mon Oct 10, 2016 9:27 am

Oh, right, my bad. So, something like this may be better?
powershell-f26/backup-single-vm-not-all-vms-within-job-t10159.html
I haven't tested it in a while (probably v7) but it's worth a try.

Luca
Luca Dell'Oca
EMEA Cloud Architect @ Veeam Software

@dellock6
http://www.virtualtothecore.com
vExpert 2011-2012-2013-2014-2015-2016
Veeam VMCE #1
dellock6
Veeam Software
 
Posts: 5136
Liked: 1377 times
Joined: Sun Jul 26, 2009 3:39 pm
Location: Varese, Italy
Full Name: Luca Dell'Oca

Re: Backup a single VM from a Backup job

Veeam Logoby matsholm » Mon Oct 10, 2016 2:57 pm

Has anyone tried this script on v9 since the script in this thread is for v7?
I also lack a shortcut to run only one VM in a backup job fron within the GUI maybe something for future releases?
matsholm
Influencer
 
Posts: 18
Liked: 1 time
Joined: Tue Jan 19, 2016 8:02 am
Full Name: Mats Holm

Re: Backup a single VM from a Backup job

Veeam Logoby WRS2200 » Mon Oct 10, 2016 4:37 pm

Yes, I would also be interested in shortcut in future releases.
WRS2200
Enthusiast
 
Posts: 28
Liked: 3 times
Joined: Thu Aug 06, 2015 8:21 pm
Full Name: Weston Strom

Re: Backup a single VM from a Backup job

Veeam Logoby v.Eremin » Tue Oct 11, 2016 11:05 am

Has anyone tried this script on v9 since the script in this thread is for v7?

I think the latest version of the script has been confirmed against version 8. So, chance are, it will work smoothly for version 9 as well, since it makes use of the methods and parameters that have been changed between versions.

If instead of individual VMs container (such as resource pool, folder, etc.) is selected as a source for a backup job, you will need to re-write the code.

Anyway, if you'd like to continue the discussion about scripting, let's switch to PowerShell subforum.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13701
Liked: 1020 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Backup a single VM from a Backup job

Veeam Logoby Andrew5143 » Mon Oct 31, 2016 11:05 am

Hi Guys,

Thanks for the replies and sorry for the delay in my response. We will have a look into the script.
Andrew5143
Lurker
 
Posts: 2
Liked: never
Joined: Fri Oct 07, 2016 1:25 pm

Re: Backup a single VM from a Backup job

Veeam Logoby ferrus » Mon Oct 31, 2016 11:17 am

It would be handy to be able to take an on demand Full Backup of a single VM in a job, as well as a Quick (incremental) Backup.

We have many occasions where our DBA requests a full backup of a SQL VM (required to reset transaction logs ?? - don't know, not a DBA :lol: ), and that means a new Full Backup of every VM in the entire job.
It seemed impossible because of the file structure prior to v9, but with the per-VM files - would it not be easier to implement this (or even script it) now?
ferrus
Veeam ProPartner
 
Posts: 147
Liked: 20 times
Joined: Thu Dec 03, 2015 3:41 pm
Location: UK

Re: Backup a single VM from a Backup job

Veeam Logoby v.Eremin » Mon Oct 31, 2016 11:46 am

It seemed impossible because of the file structure prior to v9, but with the per-VM files - would it not be easier to implement this (or even script it) now?

The upcoming release won't have this functionality. However, you can still use the script referenced by Luca. In nutshell, the code excludes all, but one VM and initiates a full backup cycle. Thanks.
v.Eremin
Veeam Software
 
Posts: 13701
Liked: 1020 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] Backup VM within a Job - especially SQL?

Veeam Logoby phil987AQ » Wed Dec 14, 2016 8:50 pm

Hello
Feature request!! Please can we have the option to backup single VM within a Job? For example when adding SQL severs to backup jobs the log backup fails every 15 minutes until you can run a full backup! I don't want to run the other 50 machines in the backup job.
Or am I missing anyway to already do this?
Thanks
Phil
phil987AQ
Novice
 
Posts: 4
Liked: never
Joined: Wed Dec 14, 2016 7:47 pm
Full Name: Phil Bailey

Re: Backup VM within a Job - especially SQL?

Veeam Logoby Gostev » Thu Dec 15, 2016 2:11 am

Hi, Phil - it's in my list, I too think it is important to have. Thanks!
Gostev
Veeam Software
 
Posts: 21603
Liked: 2405 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland


Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher and 7 guests