To download files from Azure VMs, you can create files download jobs.
Jobs allow you to automate files download. Each job describes advanced download settings, such as the list of files 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 files 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 files.
3.Do one of the following to open the Files Download Job wizard:
▪Click Download Files on the ribbon.
▪Right-click the VM and choose Create Download Files 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, specify files that the job must download. Click Add, browse to the files that you want to download, select them and click Add.
To select several files in a folder, press and hold the [CTRL] or [SHIFT] key on the keyboard.
To remove a file from the job scope, select it in the list and click Remove.
To remove all files from the job scope, click Clear.
6.At the Choose destination folder step of the wizard, select a folder to which files 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.
To run the job on a schedule, 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.
If you plan 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.