List the restic snapshots, choose the ID for the revision you need, and inspect that snapshot to find the file’s stored path. Restore only that path into a new empty folder on your Mac. Open the locally recovered file and verify its revision before putting it into any working project.
Prepare the existing repository and the restore destination
Use a restic repository that you already have permission to read, a version of restic that can open it, and an available way to authenticate. The examples access a local repository on an attached drive. Use your own trusted repository path and approved password method. Avoid placing a real password in a copied Terminal command or a screenshot. If your backup uses a separately configured credential source, keep it limited to the repository you intend to open.
Describe the version you need before choosing a snapshot. Suppose a project contains Workshop Plan.pdf and the needed revision begins with Cedar Revision B and gives a print count of 16. The current working version might say Cedar Revision C and have a different print count. The intended handoff is the earlier B version. Write down one exact marker and the current file path. The stored backup path may differ if the file lived in another folder when it was backed up.
Make a local restore destination that contains no existing work. Use a folder such as Cedar restore first try in an area where you have write access. Restic can recreate paths below this folder. That is useful for checking which source location was selected. The example uses an absolute destination path so you can confirm the output without relying on Terminal’s current directory. Create it yourself and verify that it is empty before restoring.
Identify the snapshot by ID
List the repository snapshots in Terminal. Substitute the actual repository path, including quotes when its name contains spaces:
restic -r '/Volumes/Workshop Backups/restic-repo' snapshots
Compare the IDs, dates, host names and backed-up paths with your notes. A repository may contain backups from several computers. A snapshot made after the date you want can contain a different revision even if the filename is the same. Look for an entry associated with the expected source computer and path. If two snapshots are plausible, write both IDs down and use separate restore destinations for them. Keep those trial outputs separate until you can tell which file meets your acceptance check. restic snapshot listings
For the worked example, imagine a candidate ID e4a2b193 came from the repository listing. This is a fictional ID. Replace it with the one you observed. Use that ID for the rest of the check. A moving selection such as latest can point to a new snapshot after another job runs. An explicit ID gives you a stable reference that another reader can check. If a short ID is ambiguous, use the complete value shown by the repository’s listing tools.
The date identifies the saved snapshot, not when the document’s text was last changed. A file may have been written earlier and copied in several scheduled backups. Once you know which dates and hosts are plausible, open the file after a staged restore and check the contents. A date remains supporting evidence. The revision label or expected content establishes the match.
Read the stored path before running restore
Use the selected ID to inspect its files:
restic -r '/Volumes/Workshop Backups/restic-repo' ls e4a2b193
Look for the exact stored path. For the example it could be /Users/mara/Work/Cedar/Workshop Plan.pdf. Use the path as listed, including the leading slash, capitalization and spaces. A file name that appears in several folders is a poor substitute for the stored path. If the output is lengthy, search within a saved listing or use the command’s supported filtering features. Return to the original row and verify the full path when selecting it.
Confirm that the item is the regular file you intended. A shortcut or link can point somewhere else, and restoring it does not necessarily give you the linked contents. If the listing shows a different item type or you cannot identify a precise path, inspect more of that snapshot before proceeding. For this guide, select one ordinary document with a predictable path.
Restic’s include filter uses matching patterns. Quoting a path keeps the shell from treating spaces or characters as arguments, but the filter can still interpret its own pattern characters. The simple path in the example has no wildcard characters. If a real path includes pattern syntax, consult the matcher rules and verify the planned selection with a supported dry run before restoring. Avoid widening the selection to an ambiguous filename.
Restore the selected file into your empty folder
For the example, use the observed ID, actual local destination and literal stored path:
restic -r '/Volumes/Workshop Backups/restic-repo' restore e4a2b193 \
--target '/Users/mara/Restores/Cedar restore first try' \
--include '/Users/mara/Work/Cedar/Workshop Plan.pdf'
Use a full snapshot ID with the stored full path as shown. Restic also documents a subfolder form for selecting part of a snapshot. That form changes the base relative to which filters are matched. Choose one approach and keep its path convention consistent. The command here uses a full snapshot and a full stored path. Inspect the quoted arguments before executing it so an extra space in the filename does not make it a different selection. restic’s single-file restore instructions
If your installed version supports a restore dry run, consider running it with the same ID, include and target before the real operation. Check the local restore help or the relevant version of the upstream documentation first. Review the reported paths and check that the selected document is the item you expect. A dry run describes a plan. The real acceptance check starts after a completed restore creates a file you can open. Leave out any separate option that deletes or reconciles files in the destination. The empty target does not need one.
Inspect the command’s outcome before opening the destination. If it reports an error, write down whether authentication, path selection or writing the target failed. Check only the condition indicated by that outcome. A repository refusal occurs before a file can be verified. A file-path mismatch may allow the operation to finish without yielding the particular item you intended. Observe both the process result and the actual local file.
Compare the restored document with known evidence
Open the destination in Finder. Follow its nested directories to the restored path. Restic can reconstruct the stored path underneath the chosen target. Find the document through the newly named restore folder rather than searching all of the Mac by filename. Check Get Info if you need help distinguishing the two same-name documents. Verify the first page says Cedar Revision B and the print count is 16. Open a later page or attachment if that is part of what the recipient needs.
For a file whose original bytes were recorded, compare its SHA-256 digest with that known record. A digest from a different revision would be the wrong reference. Without a known digest, verify only what you can observe, such as the revision line, page count and readable content. Keep the restore ID, stored path, local path and the checks in a note. This allows somebody else to reproduce the selection. A link to a catalog entry is useful evidence, while a reconstructed file that opens proves the delivery.
Check the restored copy and current working file separately before deciding what to keep. If you need to use the older version under the working name, first preserve the current working file in a dated location. Place the recovered version where it will be used, then reopen it there. It may be simpler to give the restored file a clear independent name and leave the working project alone. Choose the route that suits the actual handoff.
Compare two snapshot versions with separate targets
An earlier backup can hold the same filename you have now and a completely different state. If two snapshots are plausible, restore each observed ID using its own empty folder and the path listed for that snapshot. For example, call the two destinations Cedar try from earlier snapshot and Cedar try from later snapshot. Keep a note beside each with the selected ID and stored path. Do not just swap the ID while retaining a guessed include value. An earlier file may have lived under a previous folder name.
Open the files from those two locations and record the exact revision and print count you see. A difference in length or date helps you locate the right candidate. The decisive evidence remains Cedar Revision B and 16 in this example. If one snapshot lacks the path, record that failure alongside the ID instead of creating an empty placeholder and calling it a result. If both show the same revision but one is incomplete, verify the page and section that actually matters. Keep the other result until you can explain why the verified copy is the one to use.
Check the restored file’s usable permissions if someone else will receive it. Files recovered into a private directory can open normally for the restoring account and still require a separate copy through the team’s approved location. A backup can also carry metadata that you need to retain for a special file. Verify the requirement and which application needs it before moving the object. For an ordinary PDF, reopening it under the intended workflow and confirming its visible contents will settle the main question.
Recover from a missing, incomplete or incorrect copy
If the selection finds nothing, check the ID and stored path from the same snapshot. Copy its exact path out of the listing rather than relying on the file’s current path. Check whether the file was moved between backups. When a path contains special characters, review the include matcher before retrying. Give the next attempt a distinct destination so the old result cannot be mistaken for a successful new restore.
If the process stops midway, keep the partial destination separate. Check any error and reopen only those files you can identify. Use another empty folder for the next attempt, particularly when you are testing a different snapshot ID. A partial file with the right name does not establish that the correct data was saved. If the repository is unreadable or credentials are missing, obtain those through the owner rather than changing unrelated backup settings.
If the item restores and opens but it contains Revision A, that is useful evidence about this snapshot. Keep it under its own dated folder and try the other observed ID in a fresh directory. Record the result so you do not recheck the same wrong snapshot later. If the file depends on other assets, identify and restore those separately through their own stored paths. The single-file check should not be interpreted as completeness for a project bundle.
The job passes when the expected revision opens from a local path associated with a specific snapshot ID. Keep the working original and any review notes until the recipient confirms which recovered version meets the request.