Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

NewPIBackupRestoreFile Properties

  • Last UpdatedDec 15, 2025
  • 2 minute read
NewPIBackupRestoreFile Properties

The NewPIBackupRestoreFile type exposes the following members.

Properties

  NameDescription
Public property
ArchiveSetDirectories

Each archive set can have a separate directory. The array passed should have two elements. The first is the historical archive directory and the second is the future archive directory.

This option is only valid for PI Data Archive 2015 or later.

Public property
Connection

Connection to a PI Data Archive from which to retrieve backup state

Public property
HistoricalArchiveDirectory

Directory on the secondary node where the historical archive files are located

Public property
NumberOfArchives

Number of archives to include as registered for the secondary node

Note: This parameter does not apply to future archive set. All future archives are included.

Public property
OutputDirectory

Output directory for the resulting archive manager data file

See Also

TitleResults for “How to create a CRG?”Also Available in