Assume I've backed up a SQL Server database with Management Studio, and that database have some encrypted columns. Now I want to restore this database into another fresh-enrolled MSSQL server. To use encrypted columns I had to:
- Create database master key;
- Create certificate;
- Create symmetric key.
Which of those are stored along with backup, and which I should backup manually and restore on the other server manually as well? I see there is SQL statements backup master key, restore master key, backup certificate, create certificate ... from file. So, along with database itself, there are:
- Master key;
- Master key password;
- Certificate;
- Certificate private key;
- Symmetric key.
So what (and how) should I deal with when I restore my database on a fresh server? Thank you!