- Python 3.10 or higher
- pip or pipenv
git clone https://github.com/voxhash/db-storage-manager.git
cd db-storage-managerpython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtpython -m db_storage_manager.main- Click "Connections" tab in the application
- Click "Add Connection" button
- Select your database type (PostgreSQL, MySQL, SQLite, MongoDB, or Redis)
- Enter connection details:
- Name: A friendly name for this connection
- Host: Database server address
- Port: Database port (defaults provided)
- Database: Database name
- Username: Database username
- Password: Database password
- Click "Test Connection" to verify connectivity
- Click "OK" to save the connection (credentials are encrypted)
- Navigate to "Dashboard" tab
- Select a connection from the dropdown
- Click "Analyze" to scan database storage
- View detailed metrics:
- Total database size
- Table count and sizes
- Index information
- Largest tables
- Export data if needed (planned feature)
- Navigate to "Query Console" tab
- Select a connection from the dropdown
- Write your SQL/NoSQL queries in the editor
- Toggle "Safe Mode" (enabled by default) to control write operations
- Click "Execute" to run the query
- View results in the table below
- Review explain plans for optimization (if available)
- Go to "Backups" tab
- Select a connection
- Choose backup adapter (Local, S3, or Google Drive)
- Configure backup settings:
- Compression (gzip)
- Encryption (optional)
- Click "Create Backup"
- Monitor backup progress
- View backup history
- Go to "Backups" tab
- Navigate to "Scheduled Backups" sub-tab
- Click "Add Schedule"
- Configure schedule:
- Name: Descriptive name
- Interval: Minutes between backups
- Adapter: Local, S3, or Google Drive
- Connections: All or specific connections
- Enable/disable as needed
- Monitor scheduled backups
Access via Settings tab:
- Theme: Light, dark, or system theme
- Language: Internationalization support (en, es, fr, de)
- Safe Mode: Enable/disable write operations
- Auto Connect: Automatically connect on startup
- Notifications: System notification preferences
- Telemetry: Anonymous usage statistics (disabled by default)
- All credentials are encrypted with cryptography (Fernet)
- Master key is generated per installation
- Safe mode prevents accidental data modification
- SSH tunneling for secure remote connections (planned)
- Default location:
~/.config/db-storage-manager/backups/ - Supports compression (gzip)
- Supports encryption
- Requires AWS credentials or S3-compatible service
- Configure bucket name and region
- Optional bucket prefix
- Requires Google Service Account credentials
- Configure folder ID (optional)
- Automatic file management
Application won't start:
- Verify Python 3.10+ is installed:
python --version - Check dependencies:
pip list - Reinstall dependencies:
pip install -r requirements.txt --force-reinstall - Check system requirements
Database connection fails:
- Verify database credentials
- Check network connectivity
- Ensure database server is running
- Check firewall settings
- Verify port numbers
Analysis fails:
- Ensure database is accessible
- Check user permissions
- Verify database type compatibility
- Review error messages
Backup fails:
- Check disk space availability
- Verify backup directory permissions
- Ensure database is accessible
- Check adapter configuration (S3/Google Drive credentials)
PyQt6 installation issues:
- Linux:
sudo apt-get install python3-pyqt6orsudo yum install python3-qt6 - macOS:
brew install pyqt6 - Windows: Usually works with pip, but may need Visual C++ Redistributable
Import errors:
- Ensure virtual environment is activated
- Reinstall dependencies:
pip install -r requirements.txt - Check Python version compatibility
- Check the README for detailed information
- Visit GitHub Issues
- Join GitHub Discussions
- Review Architecture Documentation for technical details
After getting started:
- Explore Features: Try all the different tabs and features
- Add Connections: Connect to your databases
- Analyze Storage: Run storage analysis on your databases
- Create Backups: Set up backup schedules
- Use Query Console: Execute queries safely
- Customize Settings: Adjust theme and preferences
- Safe Mode: Keep enabled for production databases
- Backups: Schedule regular backups for important databases
- Connections: Test connections before saving
- Performance: Large databases may take time to analyze
- Security: Keep your master key secure (stored in user data directory)
Made with ❤️ by VoxHash
DB Storage Manager - Professional database management made simple! 🗄️✨