Open splummer opened 7 years ago
Hi @splummer, I would be happy to help out. It could be a Veeam agent issue, but either way, it may be worth documenting.
A few questions to get us going in the right direction:
repo_name
parameter for your backup_job
resource match the the exact Name of the backup repository in Veeam B&R located in the "Backup Infrastructure --> Backup Repositories" section?vbrserver_
* parameters for your backup_job
resource?Thanks for helping out!
Interestingly if I create a job in the interface, export it, delete it, then try to import it I get the same error.
I also have submitted a support ticket to veeam. I will be sure to report anything I discover from them here.
@splummer did you ever get this worked out?
The step where jobs are imported fails.
Notice: /Stage[main]/Profile::Veeam_linux_client/Veeamagent::Backup_job[Morning Backup]/Exec[Import Backup Job - Morning Backup]/returns: Unable to import file [/etc/veeam/Morning Backup.xml]. Error: /Stage[main]/Profile::Veeam_linux_client/Veeamagent::Backup_job[Morning Backup]/Exec[Import Backup Job - Morning Backup]: Failed to call refresh: 'veeamconfig config import --file "/etc/veeam/Morning Backup.xml"' returned 255 instead of one of [0] Error: /Stage[main]/Profile::Veeam_linux_client/Veeamagent::Backup_job[Morning Backup]/Exec[Import Backup Job - Morning Backup]: 'veeamconfig config import --file "/etc/veeam/Morning Backup.xml"' returned 255 instead of one of [0]
veeamconfig job list shows no jobs.
running the command outside of puppet returns this error.
[root@plummertest1 etc]# veeamconfig config import --file "/etc/veeam/Morning Backup.xml" Error: No VBR server with id[{06cd0498-77f6-4e47-919f-6f764e5b1833}] found. Unable to update db. Unable to import file [/etc/veeam/Morning Backup.xml].
Maybe this is a veeam agent issue not an issue with the way the module works. either way it seems very odd.