Kopia snaphot list for a specific repo

I am a Kopia newbie. I have setup Kopia for two repos. One is internal filesystem and the other backblaze b2.

I have created a test run with a few directories along with a few forced snapshots.

When I run “kopia snapshot list” it replies:

kopia snapshot list
root@servermattervm:/SM_DATA/working/toast
  2024-07-14 21:45:50 PDT k125805cbb8d546977ad495aaf31fc579 64 MB drwxr-xr-x files:4410 dirs:574 (hourly-1..2,daily-1..2)
  + 1 identical snapshots until 2024-07-15 18:46:47 PDT

root@servermattervm:/SM_DATA/working/web_chat
  2024-07-14 21:45:14 PDT k202110104da230f7d5f34ecf0abdc444 669.3 MB drwxr-xr-x files:239 dirs:27 (hourly-1..2,daily-1..2)
  + 1 identical snapshots until 2024-07-15 18:46:42 PDT

However, because I am using two repositories I have no idea which one I am seeing there.

How can I ask for a list referencing a specific repo?

What sayeth the group?

Thanks.

Jay

It implies that you are using repo defined in repository.config file. If you want to use another (already connected) repo you have to explicitly specify config file by using --config-file flag.

Thank you. I am just starting to understand how that --config-file works. Seems it needs to be set once the repos is created / instantiated and anytime forward.

Worked…

kopia snapshot list --config-file=$config_file -p $password