To download folders with their content from Azure VMs, you can create folders download jobs.
Jobs allow you to automate folders download. Each job describes advanced download settings, such as the list of folders that must be downloaded, destination folder, schedule according to which the download must be performed and, optionally, PowerShell commands that must be performed before the job starts and/or after the job finishes.
To create a folders download job:
1.Open the Virtual Machines view.
2.In the Machines list on the left, choose an Azure VM from which you want to download folders.
3.Do one of the following to open the Folders Download Job wizard:
▪Click Download Folders on the ribbon.
▪Right-click the VM and choose Create Download Folders Job.
4.At the Job name and description step of the wizard, specify a name and description of the job.
5.At the Choose source objects step of the wizard, select folders that the job must download.
6.At the Choose destination folder step of the wizard, select a local folder to which folders must be downloaded.
7.At the Set job schedule step of the wizard, you can choose to run the job manually or schedule the job to run on a regular basis.
If you plan to run the job manually, select the Run the job automatically check box and define scheduling settings for the job:
▪Daily at this time — select this option to run the job at a specific time on a defined week day.
▪Monthly at this time — select this option to run the job once a month on a defined week day.
▪Periodically every minute/hour — select this option to run the job repeatedly throughout a day with a defined time interval.
To run the job manually, leave the Run the job automatically check box cleared.
You cannot concurrently run two or more jobs that reference the same Azure VM as the job source or job target. If you schedule several jobs to run simultaneously against the same Azure VM, Veeam FastSCP for Microsoft Azure will perform only one job at a time; the other jobs will be put in queue.
8.At the PowerShell commands step of the wizard, specify PowerShell commands that must be performed before the job starts and/or after the job finishes.
PowerShell commands specified in this section will be executed on the Azure VM. The following logic is used when executing these commands:
▪PowerShell pre-commands are executed before running the job.
If the execution status of the commands is successful, the job will start. If execution of the commands fails, the job will not start, and post-commands (if specified) will not be performed as well. The job session status will be reported as Failed. The command execution errors will be returned in the job session details.
▪PowerShell post-commands are executed after the job finishes.
If the execution of the commands fails, the job session status will be reported as Failed. The command execution errors will be returned in the job session details.
If an Azure VM runs Microsoft Windows 2008 R2, the scripts can only include cmdlets that use common language runtime (CLR) version 2.0 or earlier.
9.Click Finish to save job settings and close the wizard.