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

Ensure qvm-backup-restore creates proper .conf files #103

Closed
marmarek opened this Issue Mar 8, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 15 Mar 2011 11:46 UTC
After we moved to snapshot/origin block devices for VMs, we must ensure that after migration to Beta 1 all the AppVMs will have proper .conf files.

Migrated-From: https://wiki.qubes-os.org/ticket/103

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 16 Mar 2011 15:12 UTC
I think we should add a --recreate-conf-files switch to the qvm-backup-restore tool, in which case the original conf files (saved into the backup) will be discarded, and new files (from new template) will be used:

qvm-backup-restore /mnt/backup/XXX --recreate-conf-files

Additionally we should add a switch --replace-template=old-templ-name:new-templ-name, to allow for easy migration to Beta 1 where the default template will have a new name (fedora-14-x64 instead of linux-x64):

qvm-backup-restore /mnt/backup/XXX --replace-template=linux-x64:fedora-x64

The --replace-template switch should imply the --recreate-conf-files switch for obvious reasons.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 16 Mar 2011 15:12 UTC
I think we should add a --recreate-conf-files switch to the qvm-backup-restore tool, in which case the original conf files (saved into the backup) will be discarded, and new files (from new template) will be used:

qvm-backup-restore /mnt/backup/XXX --recreate-conf-files

Additionally we should add a switch --replace-template=old-templ-name:new-templ-name, to allow for easy migration to Beta 1 where the default template will have a new name (fedora-14-x64 instead of linux-x64):

qvm-backup-restore /mnt/backup/XXX --replace-template=linux-x64:fedora-x64

The --replace-template switch should imply the --recreate-conf-files switch for obvious reasons.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 24 Mar 2011 17:18 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 24 Mar 2011 17:18 UTC

@marmarek marmarek assigned marmarek and unassigned rootkovska Mar 8, 2015

@marmarek marmarek added P: critical and removed P: major labels Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 25 Mar 2011 01:48 UTC
The --replace-template switch forces recreate config files only on VMs affected by it. If you wish to recreate all configs, you can use --recreate-conf-files.

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 25 Mar 2011 01:48 UTC
The --replace-template switch forces recreate config files only on VMs affected by it. If you wish to recreate all configs, you can use --recreate-conf-files.

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment