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

Automatic restore script #1

Open
3 of 12 tasks
milkey-mouse opened this issue Oct 20, 2017 · 0 comments
Open
3 of 12 tasks

Automatic restore script #1

milkey-mouse opened this issue Oct 20, 2017 · 0 comments
Milestone

Comments

@milkey-mouse
Copy link
Owner

milkey-mouse commented Oct 20, 2017

  • Refactor single file into module (e1b1519)
  • Basic restore functionality (aae2c0e)
  • Create non-dummy implementation of DiskLock (see libvirt source, it doesn't look like this stuff is in the Python wrapper)
    • Submit patch to that file to mailing list: s/A lock driver which locks nothing/A lock driver for virtlockd/
    • Add capability to "hotplug" disks out while being restored and back in afterwards (ask user first) (perhaps make a new issue, this isn't necessarily an 0.2 blocker)
  • Handle differences between backed up domain & current domain
    • Warn if disk sizes change
      • Logical size (what the VM sees)
      • Physical size (space on disk)?
    • Attach new disks if explicitly requested (disk removed from domain but later selected for restore)
  • Add backup-vm usage to README (6f6f54c)
@milkey-mouse milkey-mouse added this to the 0.2 milestone Nov 30, 2017
milkey-mouse added a commit that referenced this issue Dec 17, 2017
The parser for restore-vm is a bit simpler because it only has positional
arguments and flags at the beginning like a normal program (no --borg-args
shenanigans). It can actually reuse the ArchiveBuilder class for the restore
because the bind mounts are not read-only, but this doesn't work if the
format of the disk changes.
milkey-mouse added a commit that referenced this issue Dec 18, 2017
The parser for restore-vm is a bit simpler because it only has positional
arguments and flags at the beginning like a normal program (no --borg-args
shenanigans). It can actually reuse the ArchiveBuilder class for the restore
because the bind mounts are not read-only, but this doesn't work if the
format of the disk changes.
milkey-mouse added a commit that referenced this issue Dec 18, 2017
The parser for restore-vm is a bit simpler because it only has positional
arguments and flags at the beginning like a normal program (no --borg-args
shenanigans). It can actually reuse the ArchiveBuilder class for the restore
because the bind mounts are not read-only, but this doesn't work if the
format of the disk changes.
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

1 participant