Hi Experts,
Please guide me for the given requirement below :
We have a FTP location which stores the backup of DB's on daily basis. I need to copy the backup restored on the prior date to a new ftp location and also ensure the count before copying the DB's to new location. The backup file could be any naming convention
but will contain the valid date format for prior date like . DBName_Backup_2016-01-12_2r3fwe.Bak
So in total 20 different backup files are expected if the count is less then that we shouldnt copy the backups to other ftp location.
So let me express in steps below.
1.Check just for the prior day backup file in the ftp location.
2.If they exist check for the count it need to be 20 if less send email with the count and the name of the available backups.
3.If the backups are found move to a different ftp location and remove the existing backups from that folder .
4.Rename the backups (DBName_Backup_20160112.bak) same prior date but alter the format as in the braces and send an email when copied.
5.Next check for existence of a text file with prior date in 2 different folders and in 2 other folders in which the file can be prior date or 2 dates old.
6. If the files are not found send an email with the details of the folder in which the file was missing the file is in text format for which we need to check the existence.
7.If all the above is satisfied run a ssis job.
8. Send an email the SSIS job has started.
9.When the SSIS job completes send another email about the competition.
Sorry for the lengthy requirement it will really help me and my team .
We have both SSIS 08/12
Thanks in advance
Priya