The ssgbackup tool is (in general) used for planned and scheduled backups, if you're wanting to take backups for unplanned outages we suggest using mysqldump instead. The issue is caused because of the node.properties file on both Gateways points to the same Primary and then Secondary DB's for both, hence in normal conditions, the DB on the slave is actually on the master gateway and not local.