我有一个数据库,它有两个文件组(都是 r/w),每个文件组有两个文件。备份顺序是:
我在网上找到的指导是,要恢复file1,我需要恢复file1备份,然后前滚tlog集1-5和尾日志。
但是,假设我需要在最短的时间内恢复整个数据库,我可以使用以下序列:
Restore file1 filegroup1
restore tlog set2 --roll forward to file 2 backup
restore file2 filegroup1
restore tlog set3
restore file1 filegroup2
restore tlog set4
restore file2 filegroup2
restore tlog set5
restore tail
Run Code Online (Sandbox Code Playgroud)
我必须做吗
Restore file1 filegroup1
Restore tlog set2 -- roll forward to current …Run Code Online (Sandbox Code Playgroud)