Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.databases.ms-sqlserver > #2144

Re: How to backup SQL Express 13

From Tim Ritberg <tim@server.invalid>
Newsgroups comp.databases.ms-sqlserver
Subject Re: How to backup SQL Express 13
Date 2022-05-11 22:34 +0200
Message-ID <t5h6le$cqrc$1@tota-refugium.de> (permalink)
References (7 earlier) <XnsAE93A4F762B01Yazorman@127.0.0.1> <t5e2s3$c27b$1@tota-refugium.de> <XnsAE93E956C2678Yazorman@127.0.0.1> <t5fp3b$bvra$1@tota-refugium.de> <XnsAE94CB772A261Yazorman@127.0.0.1>

Show all headers | View raw


Am 11.05.22 um 20:00 schrieb Erland Sommarskog:
> 
> And where do you get this name "user" from? I mean, since the server
> apparently is a user, there ia a user that can log in. Why not use that one?
Now I got it.
I startet Server Manager Studio as local admin and created a user for sql.

This is my backup command:
sqlcmd -U remotebackup -P foobar -S tcp:office2,49762 -Q "BACKUP 
DATABASE [contura] TO DISK = 'testback' WITH NOFORMAT, NOINIT, NAME = 
'demodb-full', SKIP, NOREWIND, NOUNLOAD, STATS = 10"

Strange that port 49762 and backup went into a sqlserver subfolder. I 
guess sql server can't write directly to net shares.

> 
> It seems that you are running SQLCMD from a Linux box. On what OS does
> SQL Server Express run?
Windows 10


Tim

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-09 12:38 +0200
  Re: How to backup SQL Express 13 Erland Sommarskog <esquel@sommarskog.se> - 2022-05-09 14:40 +0200
    Re: How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-09 18:41 +0200
      Re: How to backup SQL Express 13 Erland Sommarskog <esquel@sommarskog.se> - 2022-05-09 22:59 +0200
        Re: How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-10 09:15 +0200
          Re: How to backup SQL Express 13 Erland Sommarskog <esquel@sommarskog.se> - 2022-05-10 09:41 +0200
            Re: How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-10 09:52 +0200
              Re: How to backup SQL Express 13 Erland Sommarskog <esquel@sommarskog.se> - 2022-05-10 16:13 +0200
                Re: How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-10 18:11 +0200
                Re: How to backup SQL Express 13 Erland Sommarskog <esquel@sommarskog.se> - 2022-05-10 22:56 +0200
                Re: How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-11 09:37 +0200
                Re: How to backup SQL Express 13 Anton Shepelev <anton.txt@g{oogle}mail.com> - 2022-05-11 12:54 +0300
                Re: How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-11 12:21 +0200
                Re: How to backup SQL Express 13 Anton Shepelev <anton.txt@g{oogle}mail.com> - 2022-05-11 13:40 +0300
                Re: How to backup SQL Express 13 Erland Sommarskog <esquel@sommarskog.se> - 2022-05-11 20:00 +0200
                Re: How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-11 22:34 +0200
                Re: How to backup SQL Express 13 Erland Sommarskog <esquel@sommarskog.se> - 2022-05-11 22:42 +0200
                Re: How to backup SQL Express 13 Tim Ritberg <tim@server.invalid> - 2022-05-11 23:02 +0200
              Re: How to backup SQL Express 13 Anton Shepelev <anton.txt@g{oogle}mail.com> - 2022-05-11 15:28 +0300

csiph-web