8c6256e94cde296f4f36126709f6e4041d89a4c0
This commit refactors the encrypted container management to significantly improve usability and robustness. - **Reduced Password Prompts:** The entire resize operation (unmount, truncate, check, resize, mount) is now consolidated into a single script. This reduces the maximum number of password prompts during a backup with resize from four down to two. - **Fix "No Space Left" Error:** The resize script is now more robust, including a filesystem check (`e2fsck`) before resizing to prevent the filesystem from failing to expand. This resolves the critical "No space left on device" error. - **Session-wide Password Cache:** A simple in-memory cache for the LUKS password has been introduced. This prevents further password prompts when unmounting containers, for example, when the application is closed. - **Improved Logging:** Privileged script execution now logs stderr output even on success, aiding future diagnostics.
Py-Backup
Screenshots
Instruction
Languages
Python
97.8%
Shell
2.2%