-
Notifications
You must be signed in to change notification settings - Fork 34
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
add support for backup and restore in proxmox-ve gui #45
Conversation
@@ -145,6 +145,15 @@ lib.mkIf config.services.proxmox-ve.enable { | |||
}; | |||
}; | |||
|
|||
qmeventd = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can probably be removed once #41 is merged...
@@ -108,7 +113,9 @@ perl536.pkgs.toPerlModule ( | |||
-e "s|/usr/share/zoneinfo|${tzdata}/share/zoneinfo|" \ | |||
-e "s|/usr/share/pve-xtermjs|${pve-xtermjs}/share/pve-xtermjs|" \ | |||
-Ee "s|(/usr)?/s?bin/||" \ | |||
-e "s|/usr/share/novnc-pve|${pve-novnc}/share/webapps/novnc|" | |||
-e "s|/usr/share/novnc-pve|${pve-novnc}/share/webapps/novnc|" \ | |||
-e "s|/usr/share/perl5/.plug|${pve-qemu-server}/${perl536.libPrefix}/${perl536.version}/\$plug|" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably better to patch the plugin-logic (PVE/VZDump.pm:45) instead, as this currently wont support lxc containers.
This looks good thanks ! If you could rebase to fix conflicts that'd great. |
sha256 = "sha256-a8BtfEOG+5jTqRcTQ0wxXZ5tQlyRyIYoG+qiVMDgluM="; | ||
}; | ||
|
||
buildInputs = [ stdenv.cc ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want to use nativeBuildInputs
as cc
will not be needed during runtime?
Anything I can do to help get this merged in? Having a fix for backups would be great, even if there are caveats. |
@greg-hellings If you could test it and confirm it works it would already go a long way :) |
@JulienMalka Previously it immediately died without the ability to find I believe comments above mention the missing service is addressed in a still Draft PR. |
Looks like that might have been a false negative. Since I already had pve-guests running, it wasn't auto-started when I did a rebuild and switch. Doing a rebuild and reboot gives me a successful backup run. It still outputs an error at the end trying to send emails, but the backup does run successfully. |
I tried to rebase this PR and try it out but I have that problem:
|
Sorry for not getting back on this earlier. I just got a new mainboard for the server today, as that nix-system had a hardware failure. Will hopefully be able to retest over the next few days. #113 seems to be the updated PR. so I am closing this one. |
I made backup work. I am quite new to nix, so not sure I did everything correctly.
Backup and restore requires quite the dependencies, and patching ... but this PR might be a starting point.