Hello,
You are right about the need or not to backup the passive node but yes in our configuration we need to save it too. Sorry but what is VAL? Veeam Agent for Linux ? It's already install on both, yes.
The workaround I use now is to backup as "complete machine" the active node and use "Volume level Backup " for the passive node and exclude the INACTIVE VG.
I tried to identify where is the backup policy configuration file but without success (not even sure it works like that) it is probably in a Veeam database I guess.
I launch this:
Code: Select all
veeamconfig config export --file test
Like this I can see in xml format the policy details:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><Config Version="1" /><Repositories><Repository Name="Imported" Type="LocalDrive"><LocalRepoOptions Version="1" Location="/" DeviceMountPoint="" /></Repository></Repositories><Jobs><Job Name="Linux_Physical_SERVER01" creation_time="2017-03-17 15:00:42" RepoName="[SERVER00]Veeam_Data03"><JobOptions Compression="Lz4" BlockSize="KbBlockSize1024" PrefreezeCommand="" PostthawCommand="" PrejobCommand="" PostjobCommand="" MaxPoints="14" IsDedupEnabled="true" Schedule="true" RetryCount="3"><Schedule Hours="6" Minutes="20"><WeekMask Sunday="true" Monday="true" Tuesday="true" Wednesday="true" Thursday="true" Friday="true" Saturday="true" /></Schedule></JobOptions><ObjectsForBackup><Object ObjectType="SimpleDisk" RecordType="Include" Value="vg00" /><Object ObjectType="SimpleDisk" RecordType="Include" Value="vgDEV12U03" /></ObjectsForBackup></Job></Jobs><VbrServers><VbrServer Name="SERVER00" login="account_svc" domain="europe" fqdn="SSERVER00" password="" Endpoint="SERVER00:10002" /></VbrServers>
I could create two export files:
One with the exclusion of "vgDEV12U03"
One without exclusion of "vgDEV12U03"
The perfect solution would be to create a script running every 5 minutes for example on both node (I can do it easily in python for example) to detect if the VG ressource has been moved and automaticly change the policy configuration as command line and script the import of the xml file if needed
Thanks