yachub / thespain-veeamagent

A Puppet module that manages the Veeam Backup Agent.
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

veeamconfig config import fails #5

Open splummer opened 7 years ago

splummer commented 7 years ago

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.

yachub commented 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:

splummer commented 7 years ago

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.

splummer commented 7 years ago

I also have submitted a support ticket to veeam. I will be sure to report anything I discover from them here.

genebean commented 5 years ago

@splummer did you ever get this worked out?