Re: [qubes-users] How to recover VMs copied before reinstall?
On 09/26/2017 09:36 AM, Ron Hunter-Duvar wrote: On September 26, 2017 9:20:57 AM MDT, 'One7two99' via qubes-users <qubes-users@googlegroups.com> wrote: Hello Ron, Original Message Subject: Re: [qubes-users] How to recover VMs copied before reinstall? Local Time: 26 September 2017 4:58 PM From: ro...@shaw.ca [...] I want to access my existing ones from the previous install, not create new ones. I put a lot of hours into getting them set up the way I wanted them, and they contain important data I don"t want to lose. [...] I am also building all sys- / template- and App-VMs based on the available templates in Qubes. As I would like to rollout Qubes for friends and maybe also co-workers I have documented each step when configuring/provisioning new AppVMs or templates. I've written a handful scripts which will take the default qubes-templates and apply all updates / packe installation and post-configuration tasks without user interaction. This reduces time rebuilding the system but also allows another backup policy where I only store the data and reinstall everything else from my scripts. If you're interested I can forward them to you. [799] I'm not sure if that will help, but I'll take a look. If I can at least get my files into new appvms of the same name, it would do the trick. Thanks, Ron Turns out there's an easy way to restore my files and firewall settings. Here's what I did for each VM: 1. Create a new appvm of the same name and type as the old one (with the old ones in a different location of course). 2. Start then stop the appvm (to ensure it's properly initialized). 3. Copy the firewall.xml, private.img and volatile.img files from the old one to the new one. 4. Start the appvm, and everything's back where it should be (other than menu customizations, and possibly previously installed apps). I don't know if all these steps are required (particularly #2, and both img files in #3), but the recipe works, so I'm sticking with it. The hardest part was actually restoring the old appvm files, given the deliberate roadblocks to moving files into dom0. Thanks, Ron -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/7f668487-dfa8-7fef-26be-6f3604912ed0%40shaw.ca. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] How to recover VMs copied before reinstall?
On September 26, 2017 9:20:57 AM MDT, 'One7two99' via qubes-users <qubes-users@googlegroups.com> wrote: >Hello Ron, > >> Original Message -------- >> Subject: Re: [qubes-users] How to recover VMs copied before >reinstall? >> Local Time: 26 September 2017 4:58 PM >> From: ro...@shaw.ca >> >> [...] I want to access my existing ones from the previous install, >not create new ones. I put a lot of hours into getting them set up the >way I wanted them, and they contain important data I don"t want to >lose. [...] > >I am also building all sys- / template- and App-VMs based on the >available templates in Qubes. As I would like to rollout Qubes for >friends and maybe also co-workers I have documented each step when >configuring/provisioning new AppVMs or templates. > >I've written a handful scripts which will take the default >qubes-templates and apply all updates / packe installation and >post-configuration tasks without user interaction. >This reduces time rebuilding the system but also allows another backup >policy where I only store the data and reinstall everything else from >my scripts. > >If you're interested I can forward them to you. > >[799] I'm not sure if that will help, but I'll take a look. If I can at least get my files into new appvms of the same name, it would do the trick. Thanks, Ron -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/60E8F6C5-38BA-43DA-8B4F-319D038140CE%40shaw.ca. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] How to recover VMs copied before reinstall?
Hello Ron, > Original Message > Subject: Re: [qubes-users] How to recover VMs copied before reinstall? > Local Time: 26 September 2017 4:58 PM > From: ro...@shaw.ca > > [...] I want to access my existing ones from the previous install, not create > new ones. I put a lot of hours into getting them set up the way I wanted > them, and they contain important data I don"t want to lose. [...] I am also building all sys- / template- and App-VMs based on the available templates in Qubes. As I would like to rollout Qubes for friends and maybe also co-workers I have documented each step when configuring/provisioning new AppVMs or templates. I've written a handful scripts which will take the default qubes-templates and apply all updates / packe installation and post-configuration tasks without user interaction. This reduces time rebuilding the system but also allows another backup policy where I only store the data and reinstall everything else from my scripts. If you're interested I can forward them to you. [799] -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/jJXR49ffEpPWVgTLq0Opt79wCxiTBLu-gdalVusIXziThGVEqjIbjOnSbKTbT4raMtEs743LAvQdjHnF1jaMUAO3ohdUBlHH5cBAIygDc1E%3D%40protonmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] How to recover VMs copied before reinstall?
On September 26, 2017 4:20:34 AM MDT, Chris Laprisewrote: >On 09/25/2017 07:12 PM, Ron Hunter-Duvar wrote: >> Hi, >> >> My first Qubes install ended up unbootable, and I didn't have a >recent enough backup of my VMs. So I booted from a Ubuntu live cd, >mounted the partitions, and copied everything off to a backup drive and >did a clean reinstall. >> >> Now I've copied my appvms back to /var/lib/qubes/appvms/, but they >don't show up in the VM Manager. >> >> Can anyone tell me how to get these appvms useable again? >> >> Thanks, >> Ron >> > >Try using `qvm-add-appvm vmname templatename`. Doesn't that just create a new appvm? I want to access my existing ones from the previous install, not create new ones. I put a lot of hours into getting them set up the way I wanted them, and they contain important data I don't want to lose. I am wondering if creating new ones of the same name, then overwriting the img files with the old ones would work. Thanks, Ron -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/EAA26BF9-CB89-4F54-A754-A7B2BB36B630%40shaw.ca. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] How to recover VMs copied before reinstall?
On 09/25/2017 07:12 PM, Ron Hunter-Duvar wrote: Hi, My first Qubes install ended up unbootable, and I didn't have a recent enough backup of my VMs. So I booted from a Ubuntu live cd, mounted the partitions, and copied everything off to a backup drive and did a clean reinstall. Now I've copied my appvms back to /var/lib/qubes/appvms/, but they don't show up in the VM Manager. Can anyone tell me how to get these appvms useable again? Thanks, Ron Try using `qvm-add-appvm vmname templatename`. -- Chris Laprise, tas...@posteo.net https://twitter.com/ttaskett PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886 -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/9d07c73b-df84-cf14-e0ec-e6f21034a269%40posteo.net. For more options, visit https://groups.google.com/d/optout.