Exported on 17-Nov-2021 21:51:12
Name
|
Type
|
Script Reference
|
Default Value
|
Comment
|
Postgres Backup Destination
|
Text
|
postgresBackupDestination
|
|
|
|
Postgres Bin Directory
|
Text
|
postgresBinDirectory
|
|
|
|
Postgres Connection URI
|
Text
|
postgresConnectionUri
|
|
|
|
Windows Credential
|
Windows OS Credential
|
windowsCredential
|
|
|
|
Windows Node
|
Windows Server
|
windowsNode
|
|
|
|
This step has the following parameters
Name
|
Script Reference
|
Default Value
|
Postgres Backup Destination
|
{postgresBackupDestination}
|
None
|
Postgres Connection URI
|
{postgresConnectionUri}
|
None
|
Postgres Bin Directory
|
{postgresBinDirectory}
|
None
|
The connection details have changed from the last step.
Login as user
{Windows Credential}
on node
{Windows Node}
- Connect via RDP
mstsc /admin /v:Windows Node
- Login as user {Windows Credential}
- Then open a command prompt
This is a
PowerShell Script
make sure you run it with
powershell.exe
Click start menu, enter "powershell" in the search bar, then select the powersehll program
# Create Postgres Backup in the specified file
cd "{postgresBinDirectory}"
.\pg_dump.exe {postgresConnectionUri} > "{postgresBackupDestination}"
Backup Postgres Databases With AttuneOps on Windows
This Blueprint Creates A Backup For Specified MongoDB Database on Windows
Postgres is a relational database Management system. This blueprint takes the following parameter to create the Postgres backup file.
Pre-Blueprint Attune setup
Steps Involved