Hi,
I am trying to create Full and Differential backups using SSIS/T-SQL (Execute SQL Task). I have one pkg for Full backup and 1 pkg for Differential backup.
For FullDB Backup pkg, I am using the following query.
BACKUP DATABASE MyDB
TO DISK = 'C:\Folder1\FB\FB_MyDB_DATE.bak'
WITH INIT;
GO
For DifferentialDB Backup pkg, I am using the following query.
BACKUP DATABASE MyDB
TO DISK = 'C:\Folder1\DB\DB_MyDB_DATE.bak'
WITH Differential;
GO
Is this right? According to the followingdocument, do I need to run both queries together or the above scenario works?
I will need to run Full Backup pkg on Mon/Wed/Fri and Differential pkg on Tue/Thur/Sat/Sun.
I noticed that Differential.bak is much greater in size than Full.bak.
Am I doing this properly? (I need to have two different pkgs for both types of backups).
Thank You