added detection for full vs incremental backup and deprecated mode flags