# Dummy restore

The dummy restore is a method of validating that the save-type
(account-save, file-save, and
so on) backup are restored.

There are three methods to validate backup media:

Using the t-chk command, which looks for parity
errors, but does not actually verify data.

Issuing a dummy restore,
using the sel-restore command with the n option, without actually writing any items back to disk.
This not only checks for parity errors, but also validates the *logical* format of the tape. If the media cannot be restored,
another backup can be made.

Using the t-verify command, which has the ability to not only do the same as the first
two methods, but also can compare each record from the media with
its counterpart on disk to verify that they match. This is the most
reliable way to check tape integrity.

## Example(s)

Restore from Full, incremental,
transaction log (f/i/t):f file#:99999

Reads every file in every
account on the full save tape, looking for file number 99999 and in
the process, reads the entire tape.

```
sel-restore md * (n
```

## See also

- [account-restore command](https://d3codex.com/tcl/account-restore-command/)
- [file-save command](https://d3codex.com/tcl/file-save-command/)
- [sel-restore command](https://d3codex.com/tcl/sel-restore-command/)
- [set-floppy command](https://d3codex.com/tcl/set-floppy-command/)
- [set-half command](https://d3codex.com/tcl/set-half-command/)
- [set-sct command](https://d3codex.com/tcl/set-sct-command/)
- [t-att command](https://d3codex.com/tcl/t-att-command/)
- [t-chk command](https://d3codex.com/tcl/t-chk-command/)
- [t-verify command](https://d3codex.com/tcl/t-verify-command/)

---
Source: https://d3codex.com/tcl/dummy-restore/ - part of the D3Codex reference.
