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 when CTID contains "-" #19

Open
ISSchuster opened this issue Aug 27, 2017 · 3 comments
Open

Restore is not working when CTID contains "-" #19

ISSchuster opened this issue Aug 27, 2017 · 3 comments

Comments

@ISSchuster
Copy link

Backup works fine with a CTID like "33509944-2961-4ed3-a51e-8496805f75fd"

Restore doesn't work...

If I change the CTID to e.g. 901 the restore works and the machine can be started is running without problem.

It would be great if I could use the original CTID "33509944-2961-4ed3-a51e-8496805f75fd" in the restore process.

Thanks

@ISSchuster
Copy link
Author

After removing the following lines from vzprestore.sh it works... But I dont know if this is a good idea or if it can cause any other problems....

if [[ ! $CONTAINER =~ ^[0-9]+$ ]]; then
show_usage;
exit 0;
fi

@makss
Copy link
Contributor

makss commented Aug 28, 2017

@ISSchuster, As I understand it, you use the script on OpenVZ 7 or Virtuozzo 7. Unfortunately I do not have these versions and I can not test and fix the script.

I will be grateful if you tell me how to install OpenVZ 7 with minimal effort. Will there be enough KVM and iso file from here?

@ISSchuster
Copy link
Author

Hi makss, I don't know if it's working on KVM but i think it should work if KVM supports hardware virtualization... I know that ESXi 6.0 supports hardware virtualization and I can confirm that the ISO files works fine on ESXi...

Perhaps this will help: https://fedoraproject.org/wiki/How_to_enable_nested_virtualization_in_KVM

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

2 participants