Search

Language:  

Available article translations:

How to Create automatic backup of Remote Application Server settings

APPLIES TO:
  • Parallels Remote Application Server 15.0

Information

Note: PowerShell Module was included to Parallels RAS in version 15.5.2 (16138) if you are using previous version please update Parallels Remote Application Server.

  • Create .ps1 in the file in the same folder with following commands:

     $SecretPassword = ConvertTo-SecureString "YourRASPassword" -AsPlainText -Force
    $Username = 'Administrator'
     $Date=Get-Date -Format dd.mm.yyyy
     Import-Module 'C:\Program Files (x86)\Parallels\ApplicationServer\Modules\PSAdmin\PSAdmin.dll'
     New-RASSession -Username $Username -Password $SecretPassword
     Invoke-ExportSettings "%BackupfilesFolder%\$Date.dat2"
    
  • Note: This file will create a separate file with current date as a file name. To rewrite Backup files use the command below:

    $SecretPassword = ConvertTo-SecureString "YourRASPassword" -AsPlainText -Force
    $Username = 'Administrator'
    Import-Module 'C:\Program Files (x86)\Parallels\ApplicationServer\Modules\PSAdmin\PSAdmin.dll'
    New-RASSession -Username $Username -Password $SecretPassword
    Invoke-ExportSettings "%BackupfilesFolder%\Backup.dat2"
    
  • Open Windows Scheduler
  • Create a New Task

    alttext

  • Fill all fields in General Tab

    alttext

  • Open Actions Tab > Click New

    alttext

  • Add your .ps1 script file

    alttext

  • Open Triggers Tab
  • Click New

    alttext

  • Select schedule settings

    alttext

  • Click OK



1d70d1f9c41d01c5f7202a4290e434e1 17333b9b93206d7dd8962eace050749d

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No