Hi, I'm trying to restore all backups from a folder. it worked fine but I need to restore with NORECOVERY, Please review my command and give me a solution for this.
Restore-SqlDatabase -ServerInstance $server -Database $databaseName -BackupFile $backupFile.FullName -RelocateFile @($RelocateData,$RelocateLog) -ReplaceDatabase
↧
PowerShell - restore with Norecovery
↧