We have several gateways that backup to network drives with different servers and paths depending on the region or facility. Most of the time it works great but sometimes it fails for various reasons.
I’m writing a utility to run once per day to check and see if the nightly backup succeeded or failed.
I’m using system.file.fileExists [with system.date.format(system.date.now(),‘YYYYMMdd’) and .gwbk] to see if the file is present.
It works great if the backup file path is known but I would like to have a single program for all gateways regardless of region or facility.
I can create a memory tag or use a database lookup to store the backup file path for each server but it would be better if I could read the current backup location from a tag or from the internal database.
TIA for any ideas or better methods.