Skip to content

It's PowerShell and Bash scripts collection for automating database tasks like backup, restore, performance tuning, and user management for PostgreSQL and Microsoft SQL Server.

License

Notifications You must be signed in to change notification settings

KR-Sew/Databases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗄️ Database Management Scripts

PostgreSQL MS SQL MySQL License: MIT

PostgreSQL PostgreSQL server MS SQL Server MS SQL server and MySQL MySQL

This repository contains a set of PowerShell and Bash scripts designed for database administrators (DBAs), DevOps engineers, and system administrators to automate database maintenance, backup, and monitoring. These scripts support PostgreSQL and Microsoft SQL Server (MSSQL), working across Windows and Linux environments

🚀 Features

  • ✅ Database Backup & Restore → Automate full/differential backups and scheduled restores.
  • ✅ User & Role Management → Create, modify, and remove users, roles, and permissions.
  • ✅ Performance Tuning → Index optimization, query performance monitoring, and logging.
  • ✅ Replication & High Availability → Automate replication setup and health checks.
  • ✅ Cross-Platform Support → PowerShell for Windows, Bash for Linux/macOS.

🗄️ Available Database Engines

  • MS SQL server MS SQL Server – Scripts for installing, managing, backing up, and optimizing Microsoft SQL Server on Windows, Linux, and Docker.
  • PostgreSQL PostgreSQL – Automation scripts for PostgreSQL installation, user management, backup, and performance tuning.
  • MySQL MySQL & MariaDB – Scripts for deploying, managing, securing, and optimizing MySQL/MariaDB databases.
  • NoSQLNoSQL DB Mnanagement scritps for NoSQL databases like MongoDb for deploying management and performance databases.

🔙 back to Repos

About

It's PowerShell and Bash scripts collection for automating database tasks like backup, restore, performance tuning, and user management for PostgreSQL and Microsoft SQL Server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published