I run in the “after snapshot” section a script which should send me the list of snapshots of a source.
To get this list I ran within the script this command:
kopia snapshot list <source>
The problem with this is that
snapshot list is only up-to-date when the “after snapshost” script has already run. I therefore always get an outdated list from
snapshot list in my script.
What can I do so that I get the up-to-date
snapshot list immediately after a snapshot, within my “after snapshost” script?