I have designing a desktop application with SQL SERVER 2005. I have one form where user can take a full backup of SQL Database in one File. I have following controls :
When user process the backup, it should take a backup in specified location. The backup file should be like "BKP_F_YYYYMMDDHHMMSEC" e.g. "BKP_F_20100406131523.BAK" (where 2010 = Year, 04 = Month, 06 = Date, 13 = HOur, 15 = Minute, 23 = Second). When user process a backup on next day the backup file name should be same as the above with the different date and time. And i want this backup should be encrypted with password so that other person cannot restore my database.
DOES ANYONE HAS A IDEA HOW TO DO SO..?