Hi Matthias, I guess, you are the first, who tried to use D$ for backup :).
As you report, that the backup to user-created shares are working, I assume, that your database service is not running under the system account but as a real user. Can that user access \\SERVER2\D$, e.g. via the Windows-Explorer? If not the user can not access D$ at all. But if he can, his permissions on D$ are obviously not sufficient for the database and as you can not change permissions for D$, you can not use it for backup in this case. By the way, a local backup to \\<dbserver>\D$\test should work. And what is wrong with a normal share? Best regards, Tilo Heinrich SAP Labs Berlin > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Freitag, 5. April 2002 11:28 > To: [EMAIL PROTECTED] > Subject: Shares C$ and D$ doesn't work f�r backup > > > I want to backup my SAPDB on to another server, so I use > instead of a local > directory a network shared directory. The User-created shares works > allright but the C$ and D$ don't. > I have administrative rights on both servers so that can't the problem > cause the "MD" command creates successfully my specified > subdirectory . > > Is there a solution? > > -------------------------------------------------------------- > --------------------------------- > > That's the script: > > SET SAPDB.BACKUP.DIR=\\SERVER2\D$\SapDB\AutoBackup > > MD %SAPDB.BACKUP.DIR%\DATA_1 > NUL > > ECHO backup_media_put everyDaySave > %SAPDB.BACKUP.DIR%\DATA_1\DATA_1.backup > FILE DATA 0 8 YES > %TEMP%\~SAPDB_param.tmp > ECHO util_connect user,password > >> %TEMP%\~SAPDB_param.tmp > ECHO backup_save everyDaySave > >> %TEMP%\~SAPDB_param.tmp > > TYPE %TEMP%\~SAPDB_param.tmp | dbmcli -d %1 -u %2,%3 > > -------------------------------------------------------------- > --------------------------------- > > That's the dump: > > dbmcli on DATA_1>OK > > --- > dbmcli on DATA_1>OK > > --- > dbmcli on DATA_1>ERR > -24988,ERR_SQL: sql error > -903,Host file I/O error,access denied [5] > > --- > -------------------------------------------------------------- > --------------------------------- > > > Matthias Suttner > Systemadministrator > -- > MultiVisual GmbH > Kohlenhofstra�e 60 > D-90443 N�rnberg > Tel. +49 (0) 9 11. 20 01 - 8 00 > Fax +49 (0) 9 11. 20 01 - 8 88 > http://www.multivisual.de > > > _______________________________________________ > sapdb.general mailing list > [EMAIL PROTECTED] > http://listserv.sap.com/mailman/listinfo/sapdb.general > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
