Hi, all experts here,
Thank you very much for your kind attention.
I am wondering if we could back up the databases to any place outside of the local server system? As I found, we can only back up the database to the local server system, so we have needs to share databases on network places. Is there any method to back up the database on network place rather than first of all I have to back up the database on a local server system, then copy it to the network place, that just sounds really inconvenient.
Thanks a lot in advance for your help and I am looking forward to hearing from you shortly.
With best regards,
Yours sincerely,
Yes, you can use script
Code Snippet
BACKUP DATABASE [DB_NAME]
TO DISK = '\\FileServer\Backups\file_name.bak'
WITH INIT -- overwrite anything
GO
I think in SQL2005 SP2, you can specify Network Path for backup as well
Otherwise, try Maintainence Plan/Wizard as well (that's what we use)
SSMS -> Management -> create a plan -> Add "Back Up Database Task", and put the network path manually under "Folder" , under "Create a backup file for every database"
|||You'll need to make sure the service that runs mssql has access to the network drive where you are going to be placing the backup files.|||Hi, thank you all very much for your very kind advices and help. It's been very helpful.
With best regards,
Yours sincerely,
|||No problem at all, we are all here to help
don't forget to mark the answer to your question, so the thread is considered "resolved"
No comments:
Post a Comment