Commit Graph

45 Commits (3c87bbd8826b1df9b39f778ab5dc71f65e653941)

Author SHA1 Message Date
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 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 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 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 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 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 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 f830e4de69 Simplified Daily Backup Enable 2024-11-13 02:58:17 +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 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
Anthony b6aab4e747 Added create-backup-main-script.js 2024-03-14 18:46:58 +08:00
Anthony 71b172aeac Revised backup logic 2024-03-13 21:25:45 +08:00
Anthony e1bb7fced5 more changes 2024-03-12 23:45:00 +08:00
Anthony 62160dea12 Update for loop 2024-03-08 23:39:45 +08:00
Anthony a7d481e5a0 Updates get nodes 2024-03-08 02:13:34 +08:00
Anthony c9126a710e test placeholder 2024-03-08 01:54:32 +08:00
tony 3a62a4683e Update baseUrl 2024-03-07 15:23:59 +00:00
tony ddbe75e752 change baseUrl 2024-03-07 15:19:32 +00:00
Anthony 96daaa5956 Test fix 2024-03-07 22:55:48 +08:00
Anthony 0f1181e236 Test fix 2024-03-07 22:53:12 +08:00
Anthony d1ff5804f1 Update JPS 2024-03-07 22:52:13 +08:00
Anthony b0d329fa90 Added jpsVersion 2024-03-07 22:40:30 +08:00
Anthony 69fa97a133 Update targetNodes 2024-03-07 22:39:23 +08:00
Anthony 924c48a8b1 Updated base URL 2024-03-07 22:34:59 +08:00
Anthony 49fe5d56f0 rename 2024-03-07 22:29:18 +08:00
tony 2b68915209 Updates 2024-03-07 14:15:44 +00:00
tony b92d90c54b renamed to manifest.jps 2024-03-07 14:10:23 +00:00