Used GUI - but, this is in the Activity Log - db name changed for forum posts.
SQL Backup log file 7.0.5.1
-SQL "RESTORE DATABASE [ABC_ARCHIVE]
FROM DISK = '\\servername\foldername\foldername\ABCPROD_FULL_20130109.bak'
WITH NORECOVERY, DISCONNECT_EXISTING,
MOVE 'ABCPROD_Data.MDF' TO 'F:\Datafiles\ABC_ARCHIVE_Data.MDF',
MOVE 'ABCPROD_Log.LDF' TO 'F:\Logfiles\ABC_ARCHIVE_Log.LDF',
REPLACE "
SQL Backup log file 7.0.5.1
-SQL "RESTORE DATABASE [ABC_ARCHIVE]
FROM DISK = '\\servername\foldername\foldername\ABCPROD_FULL_20130109.bak'
WITH NORECOVERY, DISCONNECT_EXISTING,
MOVE 'ABCPROD_Data.MDF' TO 'F:\Datafiles\ABC_ARCHIVE_Data.MDF',
MOVE 'ABCPROD_Log.LDF' TO 'F:\Logfiles\ABC_ARCHIVE_Log.LDF',
REPLACE "