i just upgraded my test environment to vCenter 6.7 and tested the new Backup Task, but it don't work.
In /var/log/vmware/applmgmt/backup.log i found:
ERROR: BackupManager encountered an exception: While reading from '/etc/systemd/network/10-eth0.network' [line 7]: option 'gateway' in section 'Network' already exists
And the file looks like that:
root@srv10 [ /var/log/vmware/applmgmt ]# cat /etc/systemd/network/10-eth0.network
It must be a bug in the backup function...
And in the case of multiple static routes as well:
2019-01-02T21:18:42.750 [MainProcess:PID-44597] ERROR: BackupManager encountered an exception: While reading from '/etc/systemd/network/10-eth0.network' [line 17]: section 'Route' already exists
This issue is because backup reads line by line and if it found anything duplicate it will give an error.
For get this resolved comment the line [Route] -> #[Route] and change gateway and destination to Gateway0, Destination0 and so on.
The /etc/systemd/network/10-eth0.network file should look like
Note: If gateway does not provide proper connectivity, replace GatewayX with GATEWAY X=0.0.0.0
Hi Raudi, I was able to get it to work with a clever use of the [Address] and [Route] sections; here's my /etc/systemd/network/10-eth0.network. Yes, I rebooted after I made the changes, yes, I was able to ping6 2600:: and ping 220.127.116.11 after reboot. Yes I was able to successfully kick off a completed backup. Here's a good source for the layout of the file: https://wiki.archlinux.org/index.php/Systemd-networkd#network_files