Backup command hook