Forget without hostname given

hi and happy to be here … great software.
i have an understanding problem.

we backup multiple hosts and used the forget parameter without the “–host”.
if i set --keep-daily 365, does that mean 365 daily per host or in the sum of all backups.

i was blind to found the definition. is the default group-by the host?

should be easy to answer, is see only tomatoes.

so, many thanks,
ronny

It is per host and backup path. So if you backup the same path on a host, it is effectively per host, yes.

From the command line help restic forget -h:
-g, --group-by group group snapshots by host, paths and/or tags, separated by comma (disable grouping with '') (default host,paths)

many thanks, looks like my version is to old, had no default comment

anyway … thank you very much and have a great day

It is a bit hidden, but you can find it on this page of the documentation (about restic forget) when searching for “groups them by their host name and paths”:

https://restic.readthedocs.io/en/v0.17.1/060_forget.html#removing-snapshots-according-to-a-policy