For the complete documentation index, see llms.txt. This page is also available as Markdown.

Restore-DPSAnomalyDetectionFolder

Synopsis

Restore the PythonAnomalyDetection folder from a backup.

Syntax

__AllParameterSets

Restore-DPSAnomalyDetectionFolder [-BackupPath] <string> [-ApplicationPath] <string> [-WhatIf]
 [-Confirm] [<CommonParameters>]

Description

Restore the PythonAnomalyDetection folder from a backup to the Devolutions Server instance. This cmdlet copies the PythonAnomalyDetection folder from the backup location to the Devolutions Server installation path. If the folder does not exist in the backup, the cmdlet silently exits without error. This cmdlet requires file system write permissions to the Devolutions Server installation path and read permissions to the backup location.

Examples

Example 1

Define paths for Devolutions Server instance and backup locations

PS C:\> $DVLSPath = '/home/myuser/dvls/'
PS C:\> $backupConfigurationFiles = '/home/myuser/dvlsBackup/dvlsConfig/'
PS C:\> $backupInstallationFiles = '/home/myuser/dvlsBackup/dvlsFiles/'
PS C:\> $downloadPath = '/home/myuser/dvlsLatest.tar.gz'

Step 1: Back up current configuration and installation files

Step 2: Download and extract new DVLS version

Step 3: Update the database

Step 4: Restore custom files and configuration

Workflow to update a Devolutions Server instance.

Parameters

-ApplicationPath

Devolutions Server instance path.

-BackupPath

Backup folder path.

-Confirm

Prompts you for confirmation before running the cmdlet.

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Notes

For more information, type "Get-Help Restore-DPSAnomalyDetectionFolder -detailed". For technical information, type "Get-Help Restore-DPSAnomalyDetectionFolder -full".

Last updated

Was this helpful?