Answered by:
database back up file is not creating

Question
-
Hi ,
I am doing back up for my database but back file is not creating in folder location.
I done back up through GUI and command also both getting successful message but file is not creating.
I have given full access to folder location and by using query i can see back file is created in history.
can you please guide me how to troubleshoot ?
Regards,
Kapil.
Friday, August 2, 2013 7:22 AM
Answers
-
you can backup to a shared network location
BACKUP DATABASE EsbExceptionDb TO DISK='<<network drive>>'
Satheesh
- Proposed as answer by SQL_Learn Saturday, August 3, 2013 12:56 PM
- Marked as answer by Allen Li - MSFT Wednesday, August 14, 2013 2:31 PM
Friday, August 2, 2013 9:07 AM -
yes it is possible to , but create a mapped drive to your local drive in your SQL server machine and do.
Thanks and Regards, Prajesh Please use Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful.
- Proposed as answer by Allen Li - MSFT Monday, August 5, 2013 1:35 AM
- Marked as answer by Allen Li - MSFT Wednesday, August 14, 2013 2:31 PM
Friday, August 2, 2013 9:07 AM -
The back up files are creating in server location
is it possible to change to local drive ?
Make sure the account with which ur logging has read ,write, modify permission on drive where you are taking backup.You can also add your Account in security folder of drive and give permission.RK on drive go to security tab and add the account.If you are not able to do ask you windows admin to give you required rights
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
- Edited by Shanky_621MVP Friday, August 2, 2013 9:07 AM typo
- Marked as answer by Allen Li - MSFT Wednesday, August 14, 2013 2:31 PM
Friday, August 2, 2013 9:07 AM
All replies
-
-
Are you doing backup to a network location or a local drive on the server?
Satheesh
Friday, August 2, 2013 7:30 AM -
Its highly unlikely that you give backup comamnd ,it completes successfully and you dont see backup file.
1.In backup coammand check for Didc'location' ,this location.Iassume it will be NAS (network storage).Some shared location
2. It is not permission issue, i hink you are giving wrong location.
Can you post your query here and also confirm the location your are giving is not some TAPE or NAS but local drive
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
Friday, August 2, 2013 7:35 AM -
Do you mean the command is completed successfully but file is not created?
Best Regards,Uri Dimant SQL Server MVP, http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Blog: Large scale of database and data cleansing
Remote DBA Services: Improves MS SQL Database Performance
- Proposed as answer by SQL_Learn Saturday, August 3, 2013 12:56 PM
Friday, August 2, 2013 7:45 AMAnswerer -
i am doing back up in my location machine and successfully message is coming but file is not creatingFriday, August 2, 2013 8:20 AM
-
Hi,
You have to look on the machine where the SQL Sever is running.
Satheesh
Friday, August 2, 2013 8:23 AM -
I have ran this command.
BACKUP DATABASE EsbExceptionDb TO DISK='E:\SQLBackups\D1\DATA\MyDatabase.bak'
Processed 256 pages for database 'EsbExceptionDb', file 'EsbExceptionDb_SysData' on file 3.
Processed 1 pages for database 'EsbExceptionDb', file 'EsbExceptionDb_Log' on file 3.
BACKUP DATABASE successfully processed 257 pages in 0.139 seconds (14.444 MB/sec).Friday, August 2, 2013 8:26 AM -
Could you try a different location?
Satheesh
Friday, August 2, 2013 8:31 AM -
Trying this location will be even more better..I gave you location for 2008 R2..Just browse to folder backup for any version of sql server
%System drive%:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
Friday, August 2, 2013 8:35 AM -
The back up files are creating in server location
is it possible to change to local drive ?
Friday, August 2, 2013 9:02 AM -
yes it is possible to , but create a mapped drive to your local drive in your SQL server machine and do.
Thanks and Regards, Prajesh Please use Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful.
- Proposed as answer by Allen Li - MSFT Monday, August 5, 2013 1:35 AM
- Marked as answer by Allen Li - MSFT Wednesday, August 14, 2013 2:31 PM
Friday, August 2, 2013 9:07 AM -
The back up files are creating in server location
is it possible to change to local drive ?
Make sure the account with which ur logging has read ,write, modify permission on drive where you are taking backup.You can also add your Account in security folder of drive and give permission.RK on drive go to security tab and add the account.If you are not able to do ask you windows admin to give you required rights
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
- Edited by Shanky_621MVP Friday, August 2, 2013 9:07 AM typo
- Marked as answer by Allen Li - MSFT Wednesday, August 14, 2013 2:31 PM
Friday, August 2, 2013 9:07 AM -
you can backup to a shared network location
BACKUP DATABASE EsbExceptionDb TO DISK='<<network drive>>'
Satheesh
- Proposed as answer by SQL_Learn Saturday, August 3, 2013 12:56 PM
- Marked as answer by Allen Li - MSFT Wednesday, August 14, 2013 2:31 PM
Friday, August 2, 2013 9:07 AM