Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


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

Re: How to backup SQL Express 13

Path csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From Tim Ritberg <tim@server.invalid>
Newsgroups comp.databases.ms-sqlserver
Subject Re: How to backup SQL Express 13
Date Wed, 11 May 2022 22:34:53 +0200
Message-ID <t5h6le$cqrc$1@tota-refugium.de> (permalink)
References <t5aqus$9v2d$1@tota-refugium.de> <XnsAE929550276E3Yazorman@127.0.0.1> <t5bg88$aehe$1@tota-refugium.de> <XnsAE92E9E405CFEYazorman@127.0.0.1> <t5d3ds$bbi0$1@tota-refugium.de> <XnsAE93629CB7D32Yazorman@127.0.0.1> <t5d5k0$bd48$1@tota-refugium.de> <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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 11 May 2022 20:34:54 -0000 (UTC)
Injection-Info tota-refugium.de; logging-data="420716"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1
Cancel-Lock sha1:CVKLFrkmj2vrZTQDF5nRlOAoWmQ=
X-User-ID eJwFwYEBACAEBMCV5HkaR8n+I3Tn4OINo9N8fCZM3iN1qi0k6Q3k3rqQCCnTfCJ1BXGaPB8IuBBD
Content-Language de-DE
In-Reply-To <XnsAE94CB772A261Yazorman@127.0.0.1>
Xref csiph.com comp.databases.ms-sqlserver:2144

Show key headers only | 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