Consolidate common logic for backup site operations

- not unlike what we already do for metrics.