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

Restore is not working and giving token is 0 error #61

Open
symmcom opened this issue Jun 15, 2020 · 12 comments
Open

Restore is not working and giving token is 0 error #61

symmcom opened this issue Jun 15, 2020 · 12 comments

Comments

@symmcom
Copy link

symmcom commented Jun 15, 2020

I am trying to restore a VM that was backed up with eve4pve-barc. Whenever I try to restore it ends up with following error:

rbd: error opening image vm-104000031-disk-0: (2) No such file or directory
/usr/sbin/eve4pve-barc: line 1258: local: 0/0: division by 0 (error token is "0")

I did the delete the VM from Proxmox. Does the VM need to be present for me to restore?

@MRLOLKOPF
Copy link

Hi, looks like the same problem like I have: #54

@symmcom
Copy link
Author

symmcom commented Jun 15, 2020

Hi, looks like the same problem like I have: #54

Yep, looks like exact issue. I am not seeing any work around to manually restore this VMs till a fix is in the code. Anyone any idea how to restore?

@lephisto
Copy link
Contributor

How are you trying to restore it?

@symmcom
Copy link
Author

symmcom commented Jun 16, 2020

How are you trying to restore it?

Yes I am. I also tried to assemble, neither worked. Version 0.21 however works as it always had been. For the time being I am backing up everything again from scratch using ver 0.2.1. At this moment the backup done with 0.2.5 is no good if i cannot restore it.

@symmcom
Copy link
Author

symmcom commented Jun 29, 2020

Not trying to pester or anything, but any update on this issue? Restoring backups still remained impossible.

@alyarb
Copy link

alyarb commented Aug 13, 2020

update the regex on lines 1168 and 1194 with this

regex='^([0-9]+)([a-zA-Z0-9_-]+).(.).(diff|img).?(.)?'

@franklupo
Copy link
Member

which version?

@alyarb
Copy link

alyarb commented Aug 13, 2020 via email

@franklupo
Copy link
Member

Please test new version

@mrtwister76
Copy link
Contributor

mrtwister76 commented Sep 26, 2020

I'm having this issue on version 0.2.6 too.
Tried restoring the backup to another PVE cluster & it doesn't seem to work.

I've tried without recreating a VM of the same ID & with creating a VM of the same ID.
Each time I get the following output:

ACTION: Restore image
Start restore 2020-09-26 13:10:33 20200926100716ceph_vm_pool.vm-2014-disk-0.img.zz
Remove all snapshots
rbd: error opening image vm-2014-disk-0: (2) No such file or directory
ERROR: rbd snap purge ceph_vm_pool/vm-2014-disk-0
Backup 20200926100716ceph_vm_pool.vm-2014-disk-0.img.zz restored in ceph_vm_pool/vm-2014-disk-0 with success!
Consider to manually create VM/CT and change config file from backup adapting restored image.
End restore 2020-09-26 13:10:33
/mnt/backups/barc/cv4pve-barc/eve4pve-barc: line 1256: local: 0/0: division by 0 (error token is "0")

No disk image is restored to the Ceph storage in any case.

Any help appreciated!
At present it's impossible to restore with version 0.2.6 for me, thus the backups are useless :(

@mrtwister76
Copy link
Contributor

This should be fixed in #73

@alyarb
Copy link

alyarb commented Sep 26, 2020 via email

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

6 participants