Creating Automatic Parallels RAS Console Backup

Have you ever wondered about backing up your Parallels Remote Application Server (RAS) Console settings? Moreover, have you ever wanted to set this up automatically? In this guide, we will explore how to create automatic backups for your RAS Console.

To start off, you need to download the RAS PowerShell Interface (http://download.parallels.com/ras/v15/15.0.3839.0/RAS_PS_Interface-15.0.3839.zip)

Note: You must have same RAS PowerShell Interface and RAS installation versions; if different builds are used, you will be unable to authenticate and will be prompted with Invalid Credentials.

Follow the steps below to automatically schedule Parallels RAS Console backups.

  1. Unarchive the RAS_PS_interface.zip folder.

Creating Automatic Parallels RAS Console Backup

2. Unlock the downloaded files as per the screenshot above.

3. Create .ps1 in the file in the same folder with the following commands:
$Date=Get-Date -Format dd.mm.yyyy

Import-Module .\PSInterface.dll

Get-Settings -Username %YourRASUsername% -Password %YourRASPassword% –FilePath %BackupfilesFolder%\$Date.dat2

4. This will create a separate file with the current date as a file name. To rewrite backup files, use the following command:

Import-Module .\PSInterface.dll

Get-Settings -Username %YourRASUsername% -Password %YourRASPassword% –FilePath %BackupfilesFolder%\%BackupFileName%.dat2 

Creating Automatic Parallels RAS Console Backup

5. Next, open Windows Scheduler and create a new task.

Creating Automatic Parallels RAS Console Backup

6. Fill in all the fields in the General tab, reflecting your environment.

Creating Automatic Parallels RAS Console Backup

7. Navigate to the Actions tab and click on the New button at the bottom.

Creating Automatic Parallels RAS Console Backup

8. Click on the Browse button and add the .ps1 script file created, then click OK.

Creating Automatic Parallels RAS Console Backup

9. Now, open the Triggers tab and click on New.

Creating Automatic Parallels RAS Console Backup

10. Select the preferred schedule settings for the backup. When completed, click on OK to finish.

Congratulations, you have successfully created an automatic RAS Console Settings backup!