Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have to create a daily back up in which i also have to make copy of back up so that other user can access that data at the deadlock situation
Posted

Let's see if there is any documentation..."Backup Overview (SQL Server)"[^].
 
Share this answer
 
There are multiple ways to take backup of SQL Server. Please go through below link that will help you:

https://sqlbak.com/blog/scheduling-backups/[^]

How-to-take-backup-of-SQL-Server-database-schedule-wise[^]
 
Share this answer
 
Comments
Krunal Rohit 7-Oct-15 3:55am    
5!
-KR
If you want to do a full database backup, this might help.

https://msdn.microsoft.com/en-us/library/ms187510%28v=sql.120%29.aspx[^]
 
Share this answer
 
C#
BACKUP DATABASE Database_name TO DISK = 'D:\Database_name.Bak'


(or)

C#
BACKUP DATABASE Database_name TO DISK = 'D:\filename.Bak'

filename=your Desired Name To Store

'D:\filename.Bak' (or) The Disk You Desired


https://msdn.microsoft.com/en-us/library/ms187510%28v=sql.120%29.aspx[^][^]
https://msdn.microsoft.com/en-us/library/ms175477(v=sql.120).aspx[^]
How-to-take-backup-of-SQL-Server-database-schedule-wise[^]
SQL Server Database Backup and Restore in C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900