Skip to content

Script to automate pg_basebackup, for PostgreSQL backup in Windows Task Scheduler or pgAgent

License

Notifications You must be signed in to change notification settings

mikegriffin/auto_pg_basebackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Script to automate pg_basebackup, via Windows Task Scheduler or pgAgent

auto_pg_basebackup.ps1 creates and purges backups. auto_pg_basebackup.xml can be imported to Task Scheduler and will run as SYSTEM.

Since auto_pg_basebackup.ps1 will run in Set-ExecutionPolicy -Scope Process Bypass, it is important that this file can't be modified.

About

Script to automate pg_basebackup, for PostgreSQL backup in Windows Task Scheduler or pgAgent

Resources

License

Stars

Watchers

Forks