N
N
Nikolai Savelyev2022-04-15 13:21:52
SQL Server
Nikolai Savelyev, 2022-04-15 13:21:52

How to export MS SQL database?

There is a VDS 40 Gb HDD, on which the database occupies 20 Gb.
How can I export it to my local machine, given that on the very server with the database less than 5 Gb is free? The option with a temporary dump on the server is excluded for this reason

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Slava Rozhnev, 2022-04-15
@rozhnev

Connect to a remote server and dump locally

K
Konstantin Tsvetkov, 2022-04-15
@tsklab

First, check the available space in the database itself. If there is a lot of it, compress it with file reorganization.
If it was not possible to reduce the base, then detach it, copy the files to yourself and attach.

H
hint000, 2022-04-16
@hint000

You can make a backup with compression (MS SQL itself will compress on the fly).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question