i think not, but u can script all the backups and restores. put output to text (not grid) and execute these scripts. then copy/paste results for executing.backup all user dbs and msdbSELECT 'Backup Database ' + name + 'TO Disk = ''f:\backups\' + name + '.bak' + char(13) + 'GO' + char(13)FROM sys.databasesWHERE database_id > 3
Restore dbs -- this will check for correct physical file names, and uses with move option in case you have different drives/directories on target than source. Again, this does nothing other than print the scripts. Copy into SSMS to executeuse mastergoCreate Table #t ( dbid int, name varchar(64), datafile varchar(64), datapages int, logfile varchar(64), logpages int)Declare c CursorRead_OnlyFor SELECT dbid, name FROM sysdatabases where dbid > 3Declare @dbid intDeclare @name varchar(60)Open cFetch Next From c into @dbid, @nameWhile (@@fetch_status <> -1)Begin IF (@@fetch_status <> -2) Begin exec(' INSERT #t (dbid, name, datafile, datapages) SELECT ' + @dbid + ', ''' + @name + ''', Reverse(left(ltrim(reverse(filename)), charindex(''\'', ltrim(reverse(filename)))-1)), size from [' + @name + ']..sysfiles WHERE fileid = 1 ') exec (' UPDATE #t Set logfile = (select Reverse(left(ltrim(reverse(filename)), charindex(''\'', ltrim(reverse(filename)))-1)) from [' + @name + ']..sysfiles where fileid = 2), logpages = (select size from [' + @name + ']..sysfiles where fileid = 2) where dbid = ' + @dbid ) End Fetch Next From c into @dbid, @nameEndclose cdeallocate cselect 'EXEC sp_addumpdevice ''disk'', ''rdvc_1'', ''F:\bkp\' + name + '.BAK''' + char(10) + 'GO' + char(10) + 'RESTORE DATABASE '+ name + char(10) + 'FROM rdvc_1' + char(10) + 'with' + char(10) + ' Move ''' + left(datafile, len(datafile)-4) + ''' TO ''F:\MSSQL\' + left(datafile, len(datafile)-4) + '.MDF'',' + char(10) + ' Move ''' + left(logfile, len(logfile)-4) + ''' TO ''E:\MSSQL\' + left(logfile, len(logfile)-4) + '.LDF''' + char(10) + 'GO' + char(10) + 'sp_dropdevice ''rdvc_1''' + char(10) + 'GO' + char(10) + char(13)from #t--select * from #tdrop table #tthis assumes, of course, only one mdf and ldf per database.