-
- Veeam Vanguard
- Posts: 27
- Liked: 3 times
- Joined: Apr 16, 2019 4:50 pm
- Full Name: Jonah May
- Contact:
Running Quick Migrations API
I see a PowerShell API to start a Quick Migration, but there doesn't seem to be a way to query what quick migration tasks are currently running. It would be nice to have an API to be able to track this, that way if I only want to run say 7 concurrent migrations, I could run a script that queries the number of migrations currently running and waits for one to complete before starting the next one.
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Running Quick Migrations API
Hi Jonah,
Are you asking regarding Powershell API, VBR REST API, EM REST API or all of them?
For powershell there is an unofficial way to get currently running migration sessions:
Let me know if this is the question regarding the APIs other than powershell.
Thanks,
Oleg
Are you asking regarding Powershell API, VBR REST API, EM REST API or all of them?
For powershell there is an unofficial way to get currently running migration sessions:
Code: Select all
$quickMigration = [Veeam.Backup.Core.CBaseSession]::GetRunning() | where {$_.JobType -eq 'QuickMigration'}
Thanks,
Oleg
-
- Veeam Vanguard
- Posts: 27
- Liked: 3 times
- Joined: Apr 16, 2019 4:50 pm
- Full Name: Jonah May
- Contact:
Re: Running Quick Migrations API
That does help Oleg, thanks. Long term I'd like to see a VBR REST API, as well as one to start Quick Migrations and Instant Recoveries, but for now that should work.
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Running Quick Migrations API
The first version of VBR REST is still quite limited, but we have plans to enhance it in the next VBR versions of course. So I noted your request. Thanks!
-
- Enthusiast
- Posts: 38
- Liked: 1 time
- Joined: Nov 10, 2015 2:13 pm
- Full Name: BILKAM
- Contact:
Re: Running Quick Migrations API
Hello
If I understood correctly there is no API today to Running Quick Migrations?
Can you please confirm?
Regards
If I understood correctly there is no API today to Running Quick Migrations?
Can you please confirm?
Regards
BILKAM
vinception.fr
vinception.fr
-
- Veeam Software
- Posts: 2010
- Liked: 669 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Running Quick Migrations API
Correct, no REST API for that. The closest API-like way is Powershell. Thanks!
Who is online
Users browsing this forum: No registered users and 3 guests