Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug-0.2.5-renew] Status display bug due to date format change of the year #56

Open
MRLOLKOPF opened this issue Apr 6, 2020 · 3 comments

Comments

@MRLOLKOPF
Copy link

MRLOLKOPF commented Apr 6, 2020

Hi,

I just tested the new version (0.2.5-renew) on my test Proxmox environment, unfortunately I found some bugs. I might try to fix them myself and make a pull request, but due to the corona situation I'm quite busy now. Just want to report those bugs, so that others might be aware of it. But really nice improvements with fsfreeze, checksum check, etc.!!

This bug is just a cosmetic issue, this does not have any functional impact! At least I didn't recognized any.

As far as I saw, the date format for the year was changed from "20" to "2020" in the new version. As you can see the year is splitted "20-20" and the seconds moved into the name of the image.

root@pve03:~# eve4pve-barc status --vmid=102 --label='daily' --path=/mnt/pve/bak2hetznerCeph
VM  TYPE SIZE  BACKUP            IMAGE
102 img    15G 20-20-04 05:11:22 37RBD01.vm-102-disk-0 
102 sha1    44 20-20-04 05:11:22 37RBD01.vm-102-disk-0.img 
102 size    12 20-20-04 05:11:22 37RBD01.vm-102-disk-0.img.sha1 

Stay healthy!
Greetings from Germany!
Andy

@franklupo
Copy link
Member

@lephisto do you have any idea?

@lephisto
Copy link
Contributor

lephisto commented Apr 10, 2020

@MRLOLKOPF Hi Andy,

yes I changed the Dateformat, and there might be some formatting issues. I will dig into it. By the way, it's more a cosmetic issue.

This is how it should look like with the most recent version.

VM   TYPE COMP        SIZE UNCOMP       BACKUP           IMAGE
1337 diff zz    20.35 MiB 180.28 MiB    20200410170002 ssd-pool:vm-1337-disk-0
                                  sha1: 4a534298c3a2e7dbd41371df834bb1c5e37c9815
1337 diff zz   777.10 MiB 776.86 MiB    20200410170002 hdd-pool:vm-1337-disk-3
                                  sha1: e213aea9d7def20e595365918a4786f1bd633386
1337 diff zz     74 Bytes 78 Bytes      20200410170002 hdd-pool:vm-1337-disk-0
                                  sha1: 71e52f3da00365f32d09e3139bfbd022186b1aaa
1337 img  zz     9.17 GiB 40.00 GiB     20200410070001 ssd-pool:vm-1337-disk-0
                                  sha1: 217336e0bc51f77a6ff8d0c905ba73db19b7ec43
1337 img  zz   221.86 GiB 250.00 GiB    20200410070001 hdd-pool:vm-1337-disk-3
                                  sha1: 2fdc36c6b38a55dc3649dcf6569ef43baa666e22
1337 img  zz     6.31 GiB 25.00 GiB     20200410070001 hdd-pool:vm-1337-disk-0
                                  sha1: f144d0850683e0d5e003d94a540c1f2b85abd078

@franklupo
Copy link
Member

HI,
I fixed it using a single regex for everyone. and to be verified by downloading the code

Best greards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants