Is backing up a VM by SR possible?
-
I’m building out backups and doing it by SR.
I have 4 NFS SR’s and I have built 4 backup jobs to match those SR’s.
We are planning to use it like backup tiers:
NFS-1 = high priority vm’s
NFS-2 = med priority
NFS-3 = lower
NFS-4 = nobody cares lol…..or only backup weekly or only keep 30 days…stuff like that.Is there a way to target the backup job to the SR? I know we can tag vm’s but if a coworker moves a vm to a different SR and forgets to change the tag it could get messy over time.
Thanks!
-
@mjr99 AFAIK, you'd have to run a script to determine what VMs are resident on which SRs and then handle that output accordingly to create a backup procedure.
You can check what SRs are in use for a VM with CLI commands like the ones discussed here:
https://support.citrix.com/article/CTX217612/how-to-find-the-disk-associated-to-a-vm-from-xenserver-cliWhat happens if you have a VM with its storage on more than one SR? I guess you could prioritize what backup it belongs to, but
would not want that VM in more than one list. Again, something that could be handled via scripting. -
@tjkreidl Gotcha and thanks!. In our scenario we wouldn't have a VM on more than one SR but I understand that some people would.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login