NAUbackup / VmBackup

XenServer simple backup script
228 stars 61 forks source link

Feature requests for script #50

Open ghost opened 7 years ago

ghost commented 7 years ago

Have two request for the script:

  1. Would rather have the full stdout log available for emailing instead of the terse status.log.
  2. Give option to not allow a vdi-export to override a vm-export. In some cases you want both.
  3. Add the ability to perform a host-backup in addition to the pool backup.

Thanks for your consideration

NAUbackup commented 7 years ago

Hi, gh-user-7392: Currently, the code is convoluted enough so that an override of a VDI vs. VM or vice versa would be hard to do easily; it also would conflict with the directory associated with the VM being the same. I also am very short-handed right now, so cannot put in much time right now. I do plan to release a bug fix soon that been long overdue. As to a workaround, I'd suggest simply creating a separate configuration file and running that as a separate backup process, however, you'd also need to define a different storage directory area or otherwise the one will overwrite the other. The host backup/restore idea is something we can certainly consider as an option; this would leverage the xe host-backup/host-restore options. I will have to take a close look at the log output; perhaps there might be a way to set a flag depending on the verbosity of the log output desired. Regards, --Tobias