Commit Graph

209 Commits

Author SHA1 Message Date
Peter Wood
de9b40cd65 feat: Enhance backup notification system with formatted file lists and improved message handling 2025-05-26 15:15:58 -04:00
Peter Wood
aa5fb5bb2f feat: Improve checksum calculation by using a temporary cache directory and enhancing permission handling; fixes permission denied error 2025-05-26 15:05:39 -04:00
Peter Wood
632c4cc702 fix: Update backup scripts in crontab to correct paths and enhance logging 2025-05-26 15:05:04 -04:00
Peter Wood
4975810eca feat: Add daily system backup entry with auto-cleanup to crontab 2025-05-26 14:24:22 -04:00
Peter Wood
d60c5ceeac feat: Add daily system backup and integrity check for Plex database with enhanced logging 2025-05-26 14:21:54 -04:00
Peter Wood
c9b69ea789 Add comprehensive Plex backup management scripts
- Introduced `restore-plex.sh` for restoring Plex backups with logging and validation.
- Created `test-plex-backup.sh` for automated testing of backup functionalities.
- Developed `validate-plex-backups.sh` for validating backup integrity and monitoring.
- Updated `update.sh` to reference the correct path for Plex service management.
2025-05-26 13:20:12 -04:00
Peter Wood
a91fc79449 feat: Enhance crontab backup process with structured backup system and fallback mechanism 2025-05-26 12:41:48 -04:00
Peter Wood
ba6161ef9b feat: Update .gitignore to retain current crontab backup files for each system 2025-05-26 16:32:52 +00:00
Peter Wood
17466eb108 feat: Add crontab backup entries for Plex and Immich backups 2025-05-26 12:31:45 -04:00
Peter Wood
ed37550091 feat: Add initial crontab backup entries for Docker and media backups 2025-05-26 16:28:51 +00:00
Peter Wood
e6aec6dd5d feat: Migrate to system-specific crontab files with enhanced logging and management 2025-05-26 12:10:15 -04:00
Peter Wood
b016f4e241 Merge branch 'main' of github.com:acedanger/shell 2025-05-26 15:51:50 +00:00
Peter Wood
9fd2b2e137 feat: Remove obsolete crontab backup files across multiple systems 2025-05-26 11:51:15 -04:00
Peter Wood
b176e3ca77 Update .gitignore to exclude runtime backup files and temporary files 2025-05-26 15:49:49 +00:00
Peter Wood
06f1b78c5e feat: Add enhanced crontab entries and backup management with improved logging and fallback mechanisms 2025-05-26 15:46:55 +00:00
Peter Wood
907c1ed18e feat: Add pre-fix crontab backup file with additional backup script and system info 2025-05-26 11:20:38 -04:00
Peter Wood
61a8bdd9bf feat: Implement crontab recovery and management scripts with enhanced logging and system-specific entries 2025-05-26 11:18:52 -04:00
Peter Wood
e43736b6ca feat: Add pre-install and post-install crontab backup files with scheduled tasks 2025-05-26 11:06:02 -04:00
Peter Wood
458683d395 feat: Add help flag support to enhanced crontab management script installation 2025-05-26 10:59:31 -04:00
Peter Wood
aec4878502 Implement enhanced crontab management system with automated backups and logging
- Added enhanced crontab entries with comprehensive logging to syslog.
- Created a management script (`manage-enhanced-crontab.sh`) for installing and verifying crontab entries.
- Introduced backup scripts for crontab management, including automated timestamped backups and cleanup.
- Developed documentation for enhanced crontab and multi-system management.
- Established a directory structure for managing crontab backups across multiple systems.
- Implemented error handling and logging for backup operations.
- Added health monitoring and reporting features for backup processes.
2025-05-26 10:42:07 -04:00
Peter Wood
b33f6b8e5b feat: Enhance webhook notification system to include default URL and filtering tags 2025-05-26 09:36:16 -04:00
Peter Wood
b994508774 feat: Update webhook notification system to include enhanced message context and tags 2025-05-26 09:34:19 -04:00
Peter Wood
1d01ca8c61 feat: Refactor backup script to initialize performance log file and ensure full backups every time 2025-05-26 09:13:32 -04:00
Peter Wood
1149e9656c feat: Update log retrieval period in detailed status function to show logs from the last 7 days 2025-05-26 08:25:25 -04:00
Peter Wood
762fa4bb9e docs: Remove outdated Docker-based testing framework documentation 2025-05-26 08:14:33 -04:00
Peter Wood
eb9bb56a5c docs: Update section title from 'Performance Monitoring' to 'Performance Log Analysis' for clarity 2025-05-26 08:08:38 -04:00
Peter Wood
23d0d158f6 docs: Add missing line breaks for improved readability in documentation files 2025-05-26 08:04:39 -04:00
Peter Wood
e90b9413de feat: Improve logging functions in backup scripts for better readability and structured output 2025-05-26 08:02:18 -04:00
Peter Wood
68f7f4ef8e feat: Revamp Plex backup system to streamline archive structure and enhance validation processes 2025-05-26 07:51:24 -04:00
Peter Wood
fbd0bf5852 feat: Enhance Plex Media Server management script with detailed status and loading animations 2025-05-25 23:50:45 -04:00
Peter Wood
b8a3c98297 feat: Add enhanced backup-media script and documentation
- Introduced demo-enhanced-backup.sh to showcase new features.
- Created backup-media-enhancement-summary.md for a side-by-side comparison of original and enhanced scripts.
- Developed enhanced-media-backup.md detailing features, usage, configuration, and error handling of the new backup script.
- Enhanced logging, error handling, and performance monitoring capabilities.
- Added support for multiple media services with improved safety and maintenance features.
2025-05-25 23:35:47 -04:00
Peter Wood
7e2bfd451b Add monitoring dashboard for Plex backup system
- Created a new script `monitor-plex-backup.sh` for real-time status and health monitoring of the Plex backup system.
- Implemented features to check system status, backup status, performance metrics, recent activity, scheduling status, and health recommendations.
- Added command line options for watch mode and refresh interval.
- Enhanced logging with color-coded output for better visibility.

Update recent additions script to include more metadata

- Modified `plex-recent-additions.sh` to retrieve additional metadata fields such as year and library section type from the Plex database.
- Improved SQL query to join with library_sections for better context on added items.

Introduce comprehensive test suite for Plex backup system

- Added `test-plex-backup.sh` to provide automated testing for all backup-related functionality.
- Implemented unit tests for JSON log initialization, performance tracking, notification system, checksum caching, backup verification, and more.
- Included setup and cleanup functions for a mock test environment.
- Added performance benchmarks for checksum calculation and compression.
- Generated detailed test reports in JSON format for better tracking of test results.
2025-05-25 23:07:37 -04:00
Peter Wood
a68a1cc4ba Add enhanced backup and restoration scripts for Plex Media Server with validation and monitoring features 2025-05-25 19:53:23 -04:00
Peter Wood
aa854588a5 Add Immich Postgres database backup script with error handling and compression 2025-05-25 19:38:46 -04:00
Peter Wood
bd1b0164f5 Update aliases; added dcpull, corrected cat, fd, and added batcat as a preview option of fzf 2025-05-23 12:45:16 -04:00
Peter Wood
b674c0a95b Refactor alias management and improve bootstrap process for Zsh 2025-05-19 16:26:36 -04:00
Peter Wood
34260be460 Enhance setup scripts to detect OS and determine package manager
- Improved OS detection in bootstrap.sh and setup.sh to handle unsupported OS cases.
- Added a function to determine the package manager (nala, dnf, apt) based on the detected OS.
- Updated package installation commands to use the appropriate package manager.
- Enhanced user feedback with colored output for better visibility during setup and updates.
2025-05-16 10:24:13 -04:00
Peter Wood
9837019ebd changed git pull alias (gp => gpull) 2025-05-14 15:56:18 -04:00
Peter Wood
5084b8c9ee Merge branch 'main' of https://github.com/acedanger/shell 2025-05-14 15:52:37 -04:00
Peter Wood
734dedb58b added alias for fzf with preview using batcat 2025-05-14 15:52:30 -04:00
Peter Wood
43be94c141 added fd-find 2025-05-14 15:38:52 -04:00
Peter Wood
d0cd55b1fb restored contents I inadvertantly removed. oopsy 2025-05-14 15:14:53 -04:00
Peter Wood
f78dbdab44 added fd-find and set alias fd 2025-05-14 14:49:51 -04:00
Peter Wood
d7a15cf11d refactor: update startup script path and remove legacy file 2025-05-12 15:25:53 -04:00
Peter Wood
7d3d225b0a renamed 'shell-setup' to 'setup' 2025-05-12 15:16:35 -04:00
Peter Wood
52492f9218 Add Docker test scripts for setup validation
- Created run-docker-tests.sh to execute setup tests in isolated Docker containers (Ubuntu and Debian).
- Implemented logging functionality to track test results and errors.
- Added startup.sh to ensure proper permissions and run tests within Docker containers.
- Developed test-setup.sh to validate bootstrap.sh and setup.sh scripts, including package availability checks.
- Enhanced error handling and reporting for package installations and missing dependencies.
- Included detailed logging for system information and test results.
2025-05-12 14:16:03 -04:00
Peter Wood
9a941d1752 Enhance setup and testing scripts for improved package management and logging
- Updated setup.sh to check for Nala installation and provide alternative installation methods based on Ubuntu version.
- Added error handling for package installation, allowing fallback to apt if Nala fails.
- Introduced startup.sh to perform container startup checks, including system info and permissions for logs directory.
- Created test-setup.sh to validate bootstrap and setup scripts, including detailed logging of package availability and installation results.
- Implemented checks for missing packages and provided recommendations for manual installation.
- Enhanced logging for better traceability of actions and errors during setup and testing processes.
2025-05-12 13:59:15 -04:00
Peter Wood
78d64d5ee5 fix: add logs directory to .gitignore 2025-05-12 13:24:17 -04:00
Peter Wood
3c7307ed48 Fix Nala repository setup in setup.sh
- Changed Nala installation approach to use more reliable methods
- First try to use Nala from standard repositories if available
- Fall back to Ubuntu PPA if not available in standard repos
- Removed reliance on the Volian repository key that was causing 404 errors
2025-05-12 07:08:48 -04:00
Peter Wood
0cd9c5219d Refactor repository structure and add new features
- Reorganized repository structure by moving dotfiles into a dedicated subdirectory
- Updated bootstrap.sh and setup.sh scripts to reference the new file paths
- Fixed Nala repository GPG key setup to use gpg --dearmor for proper key format
- Added Lazydocker installation to the setup script for Docker management
- Updated README.md with references to new paths and additional features
- Added documentation for Lazydocker in the dotfiles README.md
- Updated all symlink paths to point to the new dotfiles location
2025-05-12 07:02:14 -04:00