Open steveiliop56 opened 9 months ago
The codebase now includes a new backup feature. It introduces a command to back up a specified directory, halt the "Tipi" service, and ensure its data is preserved using Docker and tar
. The changes integrate this functionality into the system, including updates to the command handling and system utilities to support backup creation and storage.
Files | Change Summary |
---|---|
src/args.rs |
Added Backup variant to RuntipiMainCommand enum. |
src/commands/backup.rs |
Created to handle backup creation and "Tipi" service. |
src/commands/mod.rs |
Included backup module in public interface. |
src/main.rs |
Implemented Backup command handling. |
src/utils/system.rs |
Added "backups" directory creation in "media" directory. |
🐇✨ In the burrow of the code, a backup's now in store, A hop, a skip, a service stop, and
tar
does seal the lore. Tipi's data safe and sound, in Docker's gentle keep, CodeRabbit leaps with joy, as systems rest in sleep. 🌙💾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit