Commit Graph

93 Commits (main)

Author SHA1 Message Date
Anthony b139fa16a3 Added full restore button 2025-06-19 18:12:45 +08:00
Anthony d95792d5a3 Add full restore button 2025-06-19 18:00:57 +08:00
Anthony b61d38b946 added full backup restore 2025-06-19 17:48:37 +08:00
Anthony 0b3465f79e check_repo_stats update 2025-06-03 02:15:49 +08:00
Anthony b4b2240fac check_repo_stats 2025-06-03 02:11:11 +08:00
Anthony 3c87bbd882 Fix directories and restic installation 2025-06-03 02:03:06 +08:00
Anthony dfb4bf0349 Fixed restic initialization upon installation 2025-06-03 01:54:07 +08:00
Anthony da6f8574ed Fix restic password permission issue 2025-06-03 01:51:32 +08:00
Anthony 741ab55f05 Fix restic password permission issue 2025-06-03 01:37:10 +08:00
Anthony dab59943c9 Fix uninstallation errors 2025-03-20 00:21:51 +08:00
Anthony 3a9be0d5b6 Updated db backup shell script to fix error 2025-03-20 00:19:19 +08:00
Anthony a597b01b0b Update viewSnapshots 2025-02-07 21:38:11 +08:00
Anthony 1e3cb351e8 Fix Repo Permission issues when viewing snapshots 2025-01-08 01:56:46 +08:00
Anthony 0b83b37a02 Fix view all backup tag 2025-01-08 01:46:48 +08:00
Anthony 96aa4e1e5b Added uninstall script 2025-01-08 01:24:44 +08:00
Anthony 594bef7381 Updated readme 2025-01-08 01:18:36 +08:00
Anthony dc085515a5 Ver 1.8 Improved Snapshot Display 2025-01-08 01:15:11 +08:00
Anthony a36be25ae9 Ver 1.7 Improved restoration script, Automatic Backup Tagging, Resolved issues with incorrect handling of database restoration paths 2025-01-08 00:46:12 +08:00
Anthony a2f0cf6634 Ver 1.6 added repo check and restic stats 2025-01-07 23:28:14 +08:00
Anthony 3736c02560 Ver 1.5 updated backup all logic with current server time and date 2025-01-07 23:01:14 +08:00
Anthony 64fe7bd34f Ver 1.4 efficient lock management global lock mechanism Restic password handling 2025-01-07 22:48:04 +08:00
Anthony 2965665f38 Restic Locks 2025-01-07 22:31:03 +08:00
Anthony eaad9a63f2 Updated backup commands 2025-01-07 01:22:25 +08:00
Anthony 6ca34bbe18 Updated commands 2025-01-07 01:18:17 +08:00
Anthony f4b5dcd9ae Added import backup-logic.sh to mb-backups folder 2025-01-07 00:30:34 +08:00
Anthony bca47a3616 Update backup main logic 2025-01-07 00:19:53 +08:00
Anthony 398076b656 Update backup logic 2025-01-06 23:54:25 +08:00
Anthony c6aa1a191a More improvements and fixes 2025-01-06 23:48:39 +08:00
Anthony 1291e4a255 improvements 2025-01-06 23:33:56 +08:00
Anthony 716fcce79c Fix trap error 2025-01-06 23:18:14 +08:00
Anthony 1642074673 Update commands 2025-01-06 23:13:20 +08:00
Anthony 6fb6805f6f feat: Enhance Restic password management and directory permissions
- Updated \manifest.jps\ to generate a random password for the Restic password file during installation, enhancing security by avoiding static passwords.
- Ensured the Restic password file is created with appropriate permissions and ownership (\litespeed:litespeed\) to ensure accessibility by the \litespeed\ user.
- Adjusted the \importScripts\ section in \manifest.jps\ to set the correct ownership for all backup-related directories to \litespeed:litespeed\, ensuring proper access rights.
- Modified \ackup-logic.sh\ to load the Restic password from the \/etc/restic-password\ file, ensuring consistent password usage across scripts.
- Updated \manage_backup_schedule.sh\ to verify that a Restic password is provided, preventing schedule updates without a valid password.
- Ensured \ackup_database.sh\ and \ackup_media.sh\ scripts read and verify the Restic password from the file, maintaining consistency and security.
- Added logging to track password creation and usage, aiding in debugging and audit trails.
- Improved error handling in scripts to provide clear feedback when password mismatches occur, enhancing user experience and troubleshooting.

These changes collectively improve the security and reliability of the backup system by ensuring that sensitive credentials are managed securely and consistently across the codebase.
2025-01-04 01:11:34 +08:00
Anthony c41466de6e Updated to version 1.3: Switched Restic installation to use precompiled binary for reduced memory usage. Added logic to create Restic password file if missing. Updated manifest.jps for versioning and log rotation setup. 2025-01-04 00:56:17 +08:00
Anthony 4fb8eef23b Switched Restic installation to use precompiled binary for reduced memory usage 2025-01-04 00:48:58 +08:00
Anthony df8ab1cce8 Enhanced logging in backup-logic.sh for better debugging, updated documentation in readme.md, and ensured log rotation in manifest.jps. 2025-01-04 00:39:04 +08:00
Anthony aa7c89d3c9 Updated manage_backup_schedule.sh to include cron installation and status checks, improved error handling, and enhanced logging for backup schedule management. 2025-01-04 00:14:30 +08:00
Anthony 17414609db Fix Enable Auto Backup 2024-11-14 00:52:16 +08:00
Anthony 662621143c manage backup shell upadte 2024-11-13 03:18:30 +08:00
Anthony 3d8b13e1bb manage backup shell upadte 2024-11-13 03:15:30 +08:00
Anthony f830e4de69 Simplified Daily Backup Enable 2024-11-13 02:58:17 +08:00
Anthony df5b7acf3e JPS error fixes 2024-11-13 02:29:16 +08:00
Anthony 12226390a7 Fix JPS errors 2024-11-13 02:21:11 +08:00
Anthony 301d5dceda New updates and fail safe mechanism 2024-11-13 02:15:11 +08:00
Anthony 2a3c7341f0 Updated password checks and reinitiate restic 2024-11-13 01:23:39 +08:00
Anthony ac5187845d Update logging 2024-11-13 01:21:04 +08:00
Anthony 6a19fda7f5 Update logging 2024-11-13 01:18:35 +08:00
Anthony 9879f18833 Updated restic password 2024-11-13 01:13:53 +08:00
Anthony 3b5ab6e98b Update Check Backup Repo 2024-11-13 01:00:19 +08:00
Anthony 9a46217227 Fix imports 2024-09-19 01:14:47 +08:00
Anthony 15087e1bdf Added Shell Scripts 2024-09-19 00:53:20 +08:00