Server: XenServer 7.1
Management: XenCenter
Goal: Have a Scheduled Snapshot saved to an external drive connected to the server via USB
Issue: The server recognizes the external drive as a removable storage repository but I'm unable to find where to set it as a default location for snapshots.
So here is the code I've created. This runs every day at 4am via the cron of the SUDO
Enjoy! :)