Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.ms-sqlserver    |    Notorious Rube Goldberg contraption    |    19,505 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 19,337 of 19,505    |
|    Erland Sommarskog to Tim Ritberg    |
|    Re: Easy way to copy database from MsSQL    |
|    19 Apr 21 22:53:57    |
      From: esquel@sommarskog.se              Tim Ritberg (tim@server.invalid) writes:       > Can't login today. The server instance is a Linux MsSQL 15.       > On Desktop is a (Express) SQL Server 2016 SP1.       >              So the server is of a later version that the the Express instance. That's       good, because then you can use BACKUP/RESTORE.              BACKUP DATABASE db TO DISK = 'C:\temp\backup.bak' WITH INIT              And then on the server:              RESTORE DATABASE db FROM DISK = '/path/backup.bak'       WITH MOVE 'db' TO ' |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca