Skip to content

NPBackup sets wrong (and incorrect) path #167

@Gaibhne

Description

@Gaibhne

I set up my first repo to back up C:\ through Folder / file list, which NPBackup shows as C:/. Backing up results in a snapshot with metadata like this:

  {
    "time": "2025-07-24T12:28:34.7196972+02:00",
    "parent": "f0eedeb27d2fed97fd141ec16f1d7fecd2c7e9443a7f84e828d79c3f10692853",
    "tree": "8c6ea5924ff5b71f938fb7222bace1cb434d7206891595abae9a8a4afee174d1",
    "paths": [
      "C:\\Users\\me\\Downloads\\npbackup-windows-x64-gui-public\\npbackup-gui"
    ],
    "hostname": "myhost",
    "username": "me",
    "tags": [
      "C:\\"
    ],
    "program_version": "restic 0.18.0",
    "summary": {
      "backup_start": "2025-07-24T12:28:34.7196972+02:00",
      "backup_end": "2025-07-24T12:32:31.0690101+02:00",
      "files_new": 92,
      "files_changed": 192,
      "files_unmodified": 272332,
      "dirs_new": 49,
      "dirs_changed": 138,
      "dirs_unmodified": 38984,
      "data_blobs": 1100,
      "tree_blobs": 165,
      "data_added": 557524614,
      "data_added_packed": 104849415,
      "total_files_processed": 272616,
      "total_bytes_processed": 125928401789
    },
    "id": "8b996a2b678edae8cdfa00602bbdc01125e3856b25f17995fff78ee108bcd507",
    "short_id": "8b996a2b"
  }

The snapshot does in fact contain my C:\ as it should, but the path incorrectly claims it contains only the folder from which I started NPBackup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions