restore database TSQL

por | 17 agosto, 2020
1> RESTORE DATABASE dbc
2> from disk = '/hd/bak/dbc.bak'
3> WITH
4> MOVE 'dbc' TO '/hd/mssql/data/dbc.mdf',
5> MOVE 'dbc_log' TO '/hd/mssql/data/dbc_log.ldf',
6> RECOVERY, REPLACE, STATS=10;
7> go