sqldatabase-backupssql-server-2005-express

Export SQL database (all tables) from remote server


I'm current using a 3rd party product, which uses an SQL Server database. I've been asked to take a copy of the database for our own backup/security purposes, but I'm having trouble.

To access the database I'm currently logging into one of my companies servers using remote desktop, where SQL Server 2005 Express is installed. Using that instance of SQL Server I then connect to the 3rd party's SQL server.

when I execute Tasks -> Back Up..., it appears to work, but the files are stored locally on the remote SQL Databases server, which my IT teams tells me is expected.

I tried using Tasks -> Generate Scripts... but the option to "Script Data" isn't available, either because it's SQL Server 2005 Express, or because the database is remote (not sure which, but probably one of those).

I've tried other things that I can't recall at the moment, and I'm out of ideas.

Can anyone suggest something that will let me get a 'local' copy of the remote databases table structure AND data?


Solution

  • The Generate Scripts wizard is unavailable because you are using a very old version of Management Studio Express. The 2012 version will work just fine against 2005 instances, but there is no longer an Express edition anyway, because all of the SSMS features are now available without any license.

    Download the latest versions here:

    https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms

    I list downloads for the older versions at the bottom of this post:

    https://blogs.sentryone.com/team-posts/latest-builds-management-studio/