Refactor AutoBackup