Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 38722

Forum Post: RE: GP Database Restore

$
0
0
Hi Richard, These what I got from running this script: RESTORE DATABASE [TEST2] FILE = N'GPSGDSIDat.mdf', FILE = N'GPSGDSILog.ldf' FROM DISK = N'G:\GDS\IT\Backup\Database Backup\2015\GDSI_db_201512130000.BAK' WITH FILE = 1, MOVE N'GPSGDSIDat.mdf' TO N'C:\GPSGDSIDat.mdf', MOVE N'GPSGDSILog.ldf' TO N'C:\GPSGDSILog.ldf', NOUNLOAD, REPLACE, STATS = 10 GO Results: Msg 3102, Level 16, State 1, Line 1 RESTORE cannot process database 'TEST2' because it is in use by this session. It is recommended that the master database be used when performing this operation. Msg 3013, Level 16, State 1, Line 1 RESTORE DATABASE is terminating abnormally. Many thanks, Rotchine

Viewing all articles
Browse latest Browse all 38722

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>