Path: csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail From: Tim Ritberg Newsgroups: comp.databases.ms-sqlserver Subject: Re: How to backup SQL Express 13 Date: Wed, 11 May 2022 22:34:53 +0200 Message-ID: References: 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: Xref: csiph.com comp.databases.ms-sqlserver:2144 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