Added initial backup class for handling database backup interactions.
Fixup for backup failing with empty switch.