C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » SQL Server »

SQL server backup files


Posted Date: 30 Sep 2008      Posted By: pallavi satish punekar      Member Level: Gold     Points: 1   Responses: 1



I have set up a jobs for backup
1)Job which runs weekly takes the full backup
2)Job runs daily which takes the differential backup
3)job runs every 2 hrs takes transaction log

stmt for that are

1) For full database backup
BACKUP DATABASE [SLR] TO DISK = N'E:\Backup\SLRFullBackUp' WITH NOFORMAT, NOINIT, NAME = N'SLR-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10

2)For differential backup
BACKUP DATABASE [SLR] TO DISK = N'F:\SLRBackupFiles\SLRDiffDatabase' WITH NOFORMAT, INIT, NAME = N'SLR-Full Database Backup',
NOSKIP, NOREWIND,RETAINDAYS = 7, NOUNLOAD, STATS = 10

3)For transaction log
BACKUP LOG [SLR] TO DISK = N'F:\SLRBackupFiles\SLRLogBackUp' WITH NOFORMAT, NOINIT, NAME = N'SLR-Transaction Log Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10


nw the thing the differential backup which shoul run daily should append the file for 7 days i.e until i take full backup and then it should overwrite it after seven days

bt this is nt happening


What code i shoul change in the diffetentialbackup






Responses

Author: ashfaqq    04 Oct 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 1

sql server backup
visit link:http://www.ashfk.blogspot.com



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : SqlServer
Previous : Count the Number of Actual rejections
Return to Discussion Forum
Post New Message
Category: SQL Server

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use