Shorten snapshot IDs in backup snapshots output? #63

Closed
opened 2024-10-29 09:57:18 +00:00 by decentral1se · 0 comments
Owner

🌻 ./abra app backup snapshots gitea.test.foo.org
2024-10-28T14:34:51.769935461Z 1550b37d0e270fa22725f19d0e17adf5ca519b1f1cb55d73078e5e5c793d8f13 2.10.1+1.22.2-rootless
2024-10-28T14:41:01.457448186Z 347a121c3157282c341eee3f1980f60f2c44019d732e03e9035cd0a9c2b75b8e 2.10.1+1.22.2-rootless
2024-10-29T03:30:08.241267308Z b93a6685f5625740991b0b5b1005a463dcbc6ce1d5a564af6f22ce82957cdbf9 2.10.1+1.22.2-rootless

Could we get e.g. 1550b37d0e270fa22725f19d0e17adf5ca519b1f1cb55d73078e5e5c793d8f13 as a shorter hash? I'm not sure what is the shortest version that we can use as a snapshot ID but I think it would be nice to shorten in terms of UI/UX.

update: like in backup download: e.g. Dumping /var/lib/docker/volumes from snapshot 'b93a6685'`

> 🌻 ./abra app backup snapshots gitea.test.foo.org > 2024-10-28T14:34:51.769935461Z 1550b37d0e270fa22725f19d0e17adf5ca519b1f1cb55d73078e5e5c793d8f13 2.10.1+1.22.2-rootless > 2024-10-28T14:41:01.457448186Z 347a121c3157282c341eee3f1980f60f2c44019d732e03e9035cd0a9c2b75b8e 2.10.1+1.22.2-rootless > 2024-10-29T03:30:08.241267308Z b93a6685f5625740991b0b5b1005a463dcbc6ce1d5a564af6f22ce82957cdbf9 2.10.1+1.22.2-rootless Could we get e.g. `1550b37d0e270fa22725f19d0e17adf5ca519b1f1cb55d73078e5e5c793d8f13` as a shorter hash? I'm not sure what is the shortest version that we can use as a snapshot ID but I think it would be nice to shorten in terms of UI/UX. **update**: like in `backup download: e.g. `Dumping /var/lib/docker/volumes from snapshot 'b93a6685'`
decentral1se changed title from Shorten snapshot IDs in the output? to Shorten snapshot IDs in `backup snapshots` output? 2024-10-29 10:08:02 +00:00
Sign in to join this conversation.
No description provided.