-
Notifications
You must be signed in to change notification settings - Fork 7
Feature .qcow2 file #6
Comments
Hi @servebeer. I currently don't own any Unraid servers, so I don't have the option of testing the script if I make any changes. The modification to rename files is quite simple, so I'll add it as soon as I have a moment. On the other hand, the modification to manage qcow2 images is perhaps a little more complex. The simplest thing would be for you to modify the condition in the script to add, accept .qcow2 and if your restore works well, then I'll add this possibility to the script.
|
Thanks for the quick response! I have verified that simply changing .img to .qcow2 works in my environment.v/rJonOn Aug 14, 2023, at 14:08, Emilien Lambert ***@***.***> wrote:
Hi @servebeer.
I currently don't own any Unraid servers, so I don't have the option of testing the script if I make any changes.
The modification to rename files is quite simple, so I'll add it as soon as I have a moment.
On the other hand, the modification to manage qcow2 images is perhaps a little more complex.
I have no idea whether the restoration process is the same for qcow2 images.
The simplest thing would be for you to modify the condition in the script to add, accept .qcow2 and if your restore works well, then I'll add this possibility to the script.
https://github.com/Emilien-Lambert/Unraid-VM-Backup-Plugin-Restoration-Script/blob/c88eee15866a5d8cf8b36372f8f2878adf474ece/vm_backup_restoration.sh#L107
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I've added the 2 improvements, but I can't test it. Please try the script from this branch: If you confirm that it restores "-tpm" files without errors and that it works correctly with ".qcow2" files, I'll put the improvement on the main branch. |
Hi @servebeer did you have time to try the modification I made for you? |
@Emilien-Lambert , sorry for the delay. I have been battling AT&T over Internet issues recently. They are supposed to come on-prem today and fix it. If so, I will look into this tomorrow and let you know how it works out. |
I believe that it is now working. Here are the latest logs... 2023-09-10 04:33:48 information: skip_vm_shutdown is false and use_snapshots is 1. skipping vm shutdown procedure. OpenManage is shut off. can_backup_vm set to y. |
Uh, what are the logs for? Because my script doesn't write those kind of logs. |
The logs came from here: /SETTINGS/VM Backup/SHOW LOG. Am I confusing a built-in feature with your script? |
I think I have. In fact, I'm not the author of the plugin that lets you create backups from the Unraid interface. In fact, the person(s) who made the backup plugin created the tools that allow you to back up, but not to restore the backup. (No idea why this wasn't done.) Anyway, the normal way to restore a backup is to execute a number of commands and move, rename etc, the backup files manualy. I simply created a script that automates this. Now, it seems that your backup isn't working for a configuration reason unknown to me. If you didn't get an error log in the terminal or you ran ./vm_backup_restoration.sh This means that the backup files have been correctly moved. Now if the VM etc doesn't start, the problem is probably with the plugin itself. To do this, I suggest you ask your question in the forum dedicated to the plugin. The people in charge of the plugin will certainly have some solutions to suggest, concerning your configuration with .qcow2 files. Here |
Thanks for the follow-up. I was afraid that I had confused two different things :-( As soon as I get back home (I am traveling on business right now), I will look at this some more.
V/r
Jon
… On Sep 19, 2023, at 11:36, Emilien Lambert ***@***.***> wrote:
I think I have. In fact, I'm not the author of the plugin that lets you create backups from the Unraid interface. In fact, the person(s) who made the backup plugin created the tools that allow you to back up, but not to restore the backup. (No idea why this wasn't done.) Anyway, the normal way to restore a backup is to execute a number of commands and move, rename etc, the backup files manualy.
I simply created a script that automates this. Now, it seems that your backup isn't working for a configuration reason unknown to me.
If you didn't get an error log in the terminal or you ran ./vm_backup_restoration.sh <https://github.com/Emilien-Lambert/Unraid-VM-Backup-Plugin-Restoration-Script/blob/main/vm_backup_restoration.sh>
This means that the backup files have been correctly moved. Now if the VM etc doesn't start, the problem is probably with the plugin itself.
To do this, I suggest you ask your question in the forum dedicated to the plugin. The people in charge of the plugin will certainly have some solutions to suggest, concerning your configuration with .qcow2 files. Here <https://forums.unraid.net/topic/86303-vm-backup-plugin/page/17/#comment-1277331>
—
Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACA6WJPD4IL6BTEJNPREWODX3HCZ7ANCNFSM6AAAAAA3QA7V24>.
You are receiving this because you were mentioned.
|
Thanks for the script as this saved me a lot of time! There are two features that I would like to see added:
Thanks!
Jon
The text was updated successfully, but these errors were encountered: