weak-head / nimbus

Nimbus is engineered to optimize data backup processes and efficiently orchestrate service deployments for homelabs and dev environments.
MIT License
1 stars 0 forks source link

Support default profiles #20

Closed weak-head closed 3 months ago

weak-head commented 3 months ago

Description

The application configuration file has a profiles section as an optional entry. The default profiles are supported for the following archivers:

Archiver Default Profile
rar compress: xz
tar compress: xz
zip compress: 3, recovery: 3

Configuration changes

Both profiles and archive are optional.

# Profiles Collection (Optional)
profiles:
  # Archival Profiles (Optional)
  archive:
    - name: rar_protected
      provider: rar
      password: SecretPwd  # Optional: Archive password
      recovery: 3  # Optional: Recovery data percentage (0-1000)
      compress: 1  # Optional: Compression level (0-5)

Related issues

Closes #17

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 88.88889% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 55.72%. Comparing base (69f3617) to head (7015bba).

Files Patch % Lines
src/nimbuscli/cmd/factory.py 0.00% 10 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #20 +/- ## ========================================== + Coverage 54.00% 55.72% +1.71% ========================================== Files 40 42 +2 Lines 1459 1486 +27 Branches 306 309 +3 ========================================== + Hits 788 828 +40 + Misses 656 645 -11 + Partials 15 13 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.