# Three sample files restored into an empty folder

Editorial trial protocol. Not a completed test report. Use fictional data.

## Prepare
- A folder 'restore-demo' with invoice-demo.pdf (invented, addressed to Demo Tester), photo-demo.jpg and note-café.txt containing 'Restore test 2026-12-02'.
- Untouched reference copies of the three files outside the backup source, with their sizes and, if you can, SHA-256 hashes.
- An authorized test backup job or repository that includes restore-demo, with no change to production retention.
- A new empty folder 'restore-target' and the passphrase or repository password available through your protected recovery arrangement.

## Steps
1. Run the test backup once so the three samples end up in a new snapshot or version.
2. restic: run restic snapshots, write down the ID, date and host, and list the samples with restic ls and that ID. Duplicati: open Restore, choose the backup and select the version in the dropdown.
3. restic: run restore with that ID, --target pointing to restore-target and --include for the sample folder. Add --dry-run first and read the output before the real run.
4. Duplicati: select the three files, choose another location (restore-target) instead of the original, and click Submit.
5. Open each restored file. Compare the name, the readable content and the size with the references, and the hashes if you made them.
6. Record the snapshot ID or version, the destination, the elapsed time and anything missing, such as permissions.

## Checks
- The chosen snapshot or version demonstrably contains the three samples.
- The restore went into the empty restore-target folder, not the original location.
- All three files open, and note-café.txt kept its accented name.
- Sizes, and hashes if available, match the references.
- No overwrite prompt or unexpected file appeared during the restore.

## Stop rules
- Stop if the restore points to the original location or asks to overwrite files. Change the target before you continue.
- Do not use restic's --delete option in this trial. It removes files in the target that are not in the snapshot.
- Stop if the passphrase is not available. Duplicati states that nothing can be recovered without it, so fix the recovery arrangement first.

## Your observations

### Samples and references
File names, sizes and hashes of the three references.

…

### Recovery point
Snapshot ID or version date, repository or backup name, host.

…

### Unlock material
Where the passphrase or password is kept. Never the secret itself.

…

### Restore target
Path of the empty folder and the options you used.

…

### Comparison result
Per file: opened, name, size and hash match.

…

### Time and gaps
Elapsed time and anything missing, such as permissions.

…

## Sources
- restic: restoring from backup: https://restic.readthedocs.io/en/stable/050_restore.html (2026-12-02)
- restic: working with repositories: https://restic.readthedocs.io/en/stable/045_working_with_repos.html (2026-12-02)
- Duplicati: restoring files: https://docs.duplicati.com/getting-started/restoring-files (2026-12-02)
- Duplicati: set up a backup in the UI: https://docs.duplicati.com/getting-started/set-up-a-backup-in-the-ui (2026-12-02)
