November 19, 2020 at 8:37 pm
Hello All,
Facing a problem backing up a database. When i click on backup database in the select backup destination i do not see the Drive Z that has been setup where it has to backup. It shows only the C & D drive but when i try to locate then on the server it says path cannot be found. Not sure where these C & D drive are and its not showing the C drive on the server. Please help me on how can i find the Z drive & backup to this location. Thank you
NJPA
November 20, 2020 at 1:25 pm
What is the goal here? To backup the database to the O drive? If so you cannot. SQL can only backup to drives which are local to the SQL server not remote drives unless you use UNC paths etc to provide backups to network locations.
The local drives to SQL are the local C drive and the local D drive. NOT your devices C or O drive.
You will need to backup to D, then use UNC to move the backup where it needs to be.
Just remember GDPR/HIPPA/SOX etc as moving databases around can have significant headaches for data breaches especially when moving data to end user devices and data breaches etc.
November 20, 2020 at 8:12 pm
SQL can only backup to drives which are local to the SQL server not remote drives unless you use UNC paths etc to provide backups to network locations.
IIRC, you can cheat. If you want something mostly brainless, you can add an xp_CmdShell call in the SQL Server Startup to do a NET USE and Bob's your uncle.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy