Search

Language:  

Available article translations:

How to Create automatic backup of Remote Application Server settings

APPLIES TO:
  • Parallels Remote Application Server 15.5

Information

Note: PowerShell Module available in Parallels Remote Application Server 15.5.2 (16138) and above.

  • 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 e9df64665e7346a300c1e6d8fac71c28 4a54b6f3e325683094bb814b9bc24cd3

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