You've stored the backup file in a safe place, but what kind of info do you store with it?
- database type (SQL Server)
- compatibility level (SQL Server 2008)
- application name
- application owner
- application version
And ...?
You've stored the backup file in a safe place, but what kind of info do you store with it?
And ...?
I have designed a database archiving process - which is a semi automated process.
Below are my thoughts :
Note that you have to develop your custom solution based on your organizational needs
DROP database
activity and log that activity in a table. Now if you are talking about only backup files, then you can do the same without a trigger once the backup is finished to update the table with relevant info.Below is the possible table structure with columns
DROP_DATABASE
@@version
drop database test_drop
The key here is EVENTDATA()
which has a lot of information.
Remember that triggers (whatsoever) cannot be used for backups. For backups, you have to tailor your own custom solution, but the idea remains the same.