No configuration file support for backup settings #14

Open
opened 2025-11-15 03:44:16 +00:00 by snegov · 0 comments
Owner

No configuration file support for backup settings

Priority: Medium
Component: cli.py
Type: Feature

Description

All backup settings (retention policies, external tools, verbosity) must be specified on the command line every time or use defaults. There's no support for a configuration file.

Current Limitation

Users who want custom retention policies must either:

  1. Remember and type long command lines every time
  2. Create wrapper scripts
  3. Use cron with hardcoded parameters

Proposed Solution

Add support for a configuration file (e.g., .curateipsumrc or backup.conf) that can specify:

  • Default backups directory
  • Default source directories
  • Retention policies (keep_all, keep_daily, etc.)
  • External tool preferences (rsync, hardlink)
  • Logging preferences
  • Notification settings (future feature)

Example format (YAML or INI):

backups_dir: /backups
sources:
  - /home/user/documents
  - /home/user/photos

retention:
  keep_all: 7
  keep_daily: 30
  keep_weekly: 52

options:
  external_rsync: false
  verbose: false

Impact

Medium - Quality of life improvement for regular users.

# No configuration file support for backup settings **Priority:** Medium **Component:** cli.py **Type:** Feature ## Description All backup settings (retention policies, external tools, verbosity) must be specified on the command line every time or use defaults. There's no support for a configuration file. ## Current Limitation Users who want custom retention policies must either: 1. Remember and type long command lines every time 2. Create wrapper scripts 3. Use cron with hardcoded parameters ## Proposed Solution Add support for a configuration file (e.g., `.curateipsumrc` or `backup.conf`) that can specify: - Default backups directory - Default source directories - Retention policies (keep_all, keep_daily, etc.) - External tool preferences (rsync, hardlink) - Logging preferences - Notification settings (future feature) Example format (YAML or INI): ```yaml backups_dir: /backups sources: - /home/user/documents - /home/user/photos retention: keep_all: 7 keep_daily: 30 keep_weekly: 52 options: external_rsync: false verbose: false ``` ## Impact **Medium** - Quality of life improvement for regular users.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: snegov/cura-te-ipsum#14
No description provided.