About 103,000 results
Open links in new tab
  1. t sql - Fully automated SQL Server Restore - Stack Overflow

    Mar 25, 2010 · I'm not very fluent with SQL Server commands. I need a script to restore a database from a .bak file and move the logical_data and logical_log files to a specific path. I can do: restore filelis...

  2. sql - Restore database from database using script - Stack Overflow

    3 if you want to restore database from a generated script file you can use windows command line. open CDM and run the below command (database=NorthWind, script file C:\MyScript.sql)

  3. script to restore database sql server from bak file, doesn't work

    Nov 18, 2015 · RESTORE DATABASE DB_Clients FROM DISK = 'C:\OldDBClients.bak' WITH REPLACE, MOVE 'YourMDFLogicalName' TO '<MDF file path>', MOVE 'YourLDFLogicalName' TO …

  4. SQL-Server: Is there a SQL script that I can use to determine the ...

    Script to check the Backup and Restore progress in SQL Server: Many times it happens that your backup (or restore) activity has been started by another Database Administrator or by a job, and you …

  5. How to restore to a different database in SQL Server?

    Jun 7, 2011 · To restore a database to a new location, and optionally rename the database Connect to the appropriate instance of the SQL Server Database Engine, and then in Object Explorer, click the …

  6. Best script to restore multiple databases with SQL Server 2012?

    GO -- To update the currently configured value for this feature. RECONFIGURE; GO Next, update the script below to restore the databases from the backup files. Replace C:\Backup\ with your local …

  7. Microsoft SQL Server, restore a backup of a database with one command

    Aug 3, 2012 · Here is a SQL script that will restore a database with no interaction required. Just enter your "Source Database" & your "Destination Database" - the script will do the rest :)

  8. sql server - Restore All Databases Script - Database Administrators ...

    Jul 31, 2014 · I am migrating SQL Server DBs to a new instance. I have been told that it is possible to dynamically build a RESTORE script from available backups in the system catalog. Does anyone …

  9. sql server - How to restore database (daily) with multiple bak files ...

    Aug 16, 2024 · How to restore database (daily) with multiple bak files using a T-SQL script? Ask Question Asked 1 year, 3 months ago Modified 1 year, 3 months ago

  10. sql server - Restore Database script - Database Administrators Stack ...

    I have a live database which i would like to create a backup and restore script that will take the "live" database every night, create a back, then drop the existing "testing" database (if any) and restore the …