https://bugs.kde.org/show_bug.cgi?id=525582

            Bug ID: 525582
           Summary: KCM Backups does not write Backup type, paths
                    included, or destination path to kuprc
    Classification: Applications
           Product: kup
      Version First 0.10.0
       Reported In:
          Platform: KDE Linux
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Ultimately, the backup doesn't save properly and there's no way to run it.

The problem is the KCM module, where it saves drive identity, exclusions, and
schedule type to `~/.config/kuprc`, but for me it's not writing `Backup type`,
`Paths included`, `Destination type`, or `External drive destination path`. 

The resulting plan is incomplete and the daemon silently ignores it. Which
means there's no way to run a  backup, if the button on the notification tray
is there "Save new backup" - clicking it does literally nothing and no error.

## Steps to reproduce

1. System Settings → Backups → enable, create a plan.
2. Schedule: Manual only.
3. Destination: external USB drive.
4. Backup type: Versioned (or Synchronized).
5. Sources: select directories under `/home`.
6. Apply.
7. Tray icon → Save new backup.

## Expected

Backup runs, or an error is shown.

## Actual

Nothing happens. Status stays at "This backup plan has never been run." No
error anywhere.

## Analysis

`~/.config/kuprc` after step 6:

```ini
[Plan/1]
Check backups=true
Description=Backup
External device description=Netac MobileDataStar
External drive UUID=08e1e612-fdff-4907-92e3-a5d006a447dd
External partition number=1
External partitions count=1
External volume capacity=250042572800
External volume label=CachyBackupLuks
Paths
excluded=/home/pedro/.cache,/home/pedro/.local/share/Trash,/home/pedro/.local/share/baloo
Schedule type=0
```

Keys required by `backupplan.cpp` but missing from the file:

- `Backup type`
- `Paths included`
- `Destination type`
- `External drive destination path`

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to