[SERVER-62607] Create the renameDatabaseForRestore command Created: 13/Jan/22 Updated: 06/Dec/22 Resolved: 03/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
This command can only be used during a restore after all of the desired oplog entries have been replayed. This is to avoid having to rewrite any oplog entries with the new database names. The command will have two parameters, from: <string> and to: <string>. from and to will be validated to ensure they are valid database names. An internal database (admin, local or config) cannot be renamed. |