rustic: `check`: Error message is unclear when hot repo is referencing unindexed packs of different type

I’m using rustic 0.8.0 on both FreeBSD 14 and macOS 14, and in both cases, I’m seeing a number of things like this show up:

[WARN] pack d4f30393 not referenced in index. Can be a parallel backup job. To repair: 'rustic repair index'.

The thing is, running a prune or a repair index doesn’t seem to fix those warnings. However, running restic check on the same repo doesn’t report the unindexed packs that rustic check does. Instead, it reports a clean repository.

Is there something I’m doing wrong here? This is using Wasabi S3 for a backend.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Sure. Here you go:

$ rustic check
[INFO] using config /Users/myuser/Library/Application Support/rustic/rustic.toml
[INFO] repository opendal:rustic-mac#opendal:rustic-mac: password is correct.
[INFO] using cache at /Users/myuser/Library/Caches/rustic/2b531df565410f7772e1fd9450cab4b09aef746218035d588be9f531c9d2622e
[00:00:00] checking Snapshot in cache...  ████████████████████████████████████████   1.06 KiB/1.06 KiB   828.85 KiB/s (ETA -)[00:00:00] checking Index in cache.[00:00:00] checking Index in cache...     ████████████████████████████████████████  65.24 MiB/65.24 MiB  4.63 GiB/s   (ETA -)[00:00:00] checking Snapshot in hot[00:00:00] checking Snapshot in hot repo...                                     [00:00:00] checking Index in hot repo...                                        [00:00:00] reading index...               ████████████████████████████████████████         29/29        [00:00:00] listing packs in hot repo...   ⠁                
...clipping a bunch of unindexed pack warnings...
[WARN] pack ffebbfc0 not referenced in index. Can be a parallel backup job. To repair: 'rustic repair index'.
[00:00:00] listing packs in hot repo...                                         [00:00:00] listing packs...                                                     [00:00:00] cleaning up packs from cache...                                      [00:00:52] checking packs in cache...     ██████████████████████████████████████[00:00:00] reading snapshots...           ██████████████████████████████████████[00:00:07] checking trees...              ████████████████████████████████████████          2/2         

$ rustic list packs | grep ffebbfc0
[INFO] using config /Users/myuser/Library/Application Support/rustic/rustic.toml
[INFO] repository opendal:rustic-mac#opendal:rustic-mac: password is correct.
[INFO] using cache at /Users/myuser/Library/Caches/rustic/2b531df565410f7772e1fd9450cab4b09aef746218035d588be9f531c9d2622e
PackId(ffebbfc0c10d29addaad5ebbc63f93d9e582bea8013a982dd7f6d9e54f57ca3e)

$ rustic list indexpacks | grep ffebbfc0
[INFO] using config /Users/myuser/Library/Application Support/rustic/rustic.toml
[INFO] repository opendal:rustic-mac#opendal:rustic-mac: password is correct.
[INFO] using cache at /Users/myuser/Library/Caches/rustic/2b531df565410f7772e1fd9450cab4b09aef746218035d588be9f531c9d2622e
Data PackId(ffebbfc0c10d29addaad5ebbc63f93d9e582bea8013a982dd7f6d9e54f57ca3e) 42979514 

$