RazuMeowMeow /
Batch-System-Info
See the COMPLETE information about your operating system: by just running a script!
31/100 healthLoading repository data…
DramanSalif / repository
A complete step-by-step guide to setting up a reliable, automated, and self-verifying backup system for your PostgreSQL database on a Windows machine.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A lightweight, opinionated set of scripts and instructions to automate PostgreSQL backups on Windows, verify the backup contents, and log results. This repository contains a timestamped custom-format dump workflow, an automated verification script, and instructions for scheduling with Windows Task Scheduler.
Important: This project targets PostgreSQL installed on Windows (pg_dump/pg_restore/psql in "C:\Program Files\PostgreSQL<version>\bin"). Do NOT commit any secrets (passwords or pgpass files) to this repository.
Status: Stable — tested on PostgreSQL 16 on Windows 10/11.
/ (root)
├── README.md
├── verify_backup.bat # main automation script (Windows batch)
├── backup_flowchart.png # optional visuals
├── postgres-backup-guide.qmd # Quarto blog post source (optional)
└── samples/
└── dump_contents.txt # example output from pg_restore -l
verify_backup.bat to set paths, DB name, and user.C:\edb):md C:\edb
"C:\Program Files\PostgreSQL\16\bin\pg_dump.exe" -h localhost -p 5432 -U postgres -F c -b -v -f "C:\edb\analyticsscdb.dump" analyticsscdb
"C:\Program Files\PostgreSQL\16\bin\pg_restore.exe" -l "C:\edb\analyticsscdb.dump" | more
verify_backup.bat in the repo rootpg_restore -l) and counts "TABLE" entries.C:\edb\verify_backup.bat."C:\Program Files\PostgreSQL\16\bin\pg_restore.exe" -h localhost -p 5432 -U postgres -C -d postgres -v "C:\edb\analyticsscdb_sample.dump"
"C:\Program Files\PostgreSQL\16\bin\createdb.exe" -h localhost -p 5432 -U postgres restored_db
"C:\Program Files\PostgreSQL\16\bin\pg_restore.exe" -h localhost -p 5432 -U postgres -d restored_db -v "C:\edb\analyticsscdb_sample.dump"
"C:\Program Files\PostgreSQL\16\bin\psql.exe" -h localhost -p 5432 -U postgres -d restored_db -f "C:\edb\analyticsscdb_sample.sql"
%APPDATA%\postgresql\pgpass.conf with:
localhost:5432:*:postgres:your_password_here
and restrict file permissions to your user account only.netstat -ano | findstr 5432
tasklist /FI "IMAGENAME eq postgres.exe"
%USERPROFILE%\edb.notepad "C:\edb\backup_log.txt"
LICENSE fileSelected from shared topics, language and repository description—not editorial ratings.
RazuMeowMeow /
See the COMPLETE information about your operating system: by just running a script!
31/100 healthpetrfaltus /
Console applications for a network TCP and UDP socket communication over IPv4 and IPv6. Senders and receivers, complete example collection. Code for Java, for C# built by the .NET Framework, for PHP and for Python.
31/100 healthConsole applications for JSON communication with my public available bank account validator and converter REST service. Complete example collection. Code for Java built by the Maven, for Java built by the Gradle, for C# built by the .NET Framework, for PHP and for Python.
34/100 healthConsole applications for JSON communication with my public available state, territory, continent and area code REST service. Complete example collection. Code for Java built by the Maven, for Java built by the Gradle, for C# built by the .NET Framework, for PHP and for Python.
34/100 health