muesli / docker-backup

A tool to create & restore complete, self-contained backups of Docker containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different snapshot for the same container

mcollado opened this issue · comments

Creates a different snapshot of the same container if invoked by specifying the container short IDs or --all:

docker-backup backup e45b4d61b2c9
[...]
docker-backup backup --all

You got

10291 25 mar 16:45 mariadb-10.5.8-e45b4d61b2c9.backup.files
 2179 25 mar 16:45 mariadb-10.5.8-e45b4d61b2c9.backup.json
10343 25 mar 17:42 mariadb-10.5.8-e45b4d61b2c9b5de6c973d873bdfea38224e9420bf659d7a55f8f274b11d9081.backup.files
 2179 25 mar 17:42 mariadb-10.5.8-e45b4d61b2c9b5de6c973d873bdfea38224e9420bf659d7a55f8f274b11d9081.backup.json

Restic snapshots

ID        Time                 Host          Tags
------------------------------------------------------------------------------------------------------------------------------------

12f4fdb8  2021-03-25 16:45:44  xxx.local  mariadb-10.5.8-e45b4d61b2c9
2a064352  2021-03-25 17:41:39  xxx.local  mariadb-10.5.8-e45b4d61b2c9b5de6c973d873bdfea38224e9420bf659d7a55f8f274b11d9081

It works OK if I specify the long ID.

I'm not sure if is a bug or can be addressed. On the other hand, the program is amazing.