More backup-work. Implemented BackupAgent again.