Decide what must survive the session
Start with what would be hard to recreate: unique originals, annotations, approved choices, settings, and accepted results. Add the files needed to understand and resume the work. Caches can be large without being essential; conversely, a small forgotten setting can make a large archive unusable.
Separate delivery from the resume archive. The recipient needs the accepted outputs and a short explanation. You also need the inputs, versions, trials, and useful intermediate states. A client folder that mixes rejected variants, technical logs, and final files increases the risk of using the wrong output.
| Usage | À conserver pour la reprise | À remettre au destinataire |
|---|---|---|
| Images | Originals, correspondence, settings, useful versions. | Accepted visuals and delivery list. |
| Assistant | Authorized documents, model/version, instructions, questions, and evaluations. | Reviewed results and usage limits. |
| Computation or training | Required data, program, configuration, and suitable resume state. | Interpretable results and how to read them. |
Build an inventory that doesn't depend on your memory
Give each file a stable place and keep the link between input and output. A list can include the relative path, the file's role, its size, and its status: kept, to be revised, or retained only to understand a trial. Using relative paths lets you move the folder without keeping a particular machine's name.
Add a resume note with the objective, the software version, the essential components, the order of operations, and the control input. Note the public files you plan to retrieve later with their exact version. Since their future availability is not guaranteed, keep locally what is irreplaceable and that you are authorized to keep.
Review configuration exports and logs before sharing them. Remove passwords, keys, and access links that don't belong in the archive. The note should explain how to restore authorized access without itself containing the secret.
For a model, distinguish inference from training resumption
A model's weights and a complete working state don't serve the same purpose. In PyTorch, the model's state_dict preserves its parameters and certain states. Resuming training also requires the elements used by the loop, including the optimizer state and progress. The exact requirements depend on your program: scheduler, mixed precision, or random draws may also matter.
Choose the checkpoint based on the question you need to answer: "make a prediction again" or "continue from this step." Document the expected structure and try reloading your own file. A name like checkpoint-final doesn't guarantee that all the resumption elements were saved.
Plan the copy before time runs short
Prepare a location whose access you control and check its capacity. Make a small copy at the start of the project, then an intermediate copy of the elements that are already stable. Keep an identifiable version of the archive: if outputs change during the final transfer, you won't know which state you recovered.
Before the final copy, finish the planned writes or use the consistent backup method offered by the software. A file being written can change between the inventory and the copy. For ongoing training, rely on an explicitly completed resumption point rather than a temporary file that's simply visible in the folder.
Data volume, small files, and interruptions all affect recovery. Build this step into the 3, 7, or 30-day schedule. Don't infer a certain timeframe for the whole archive from a short transfer test; also allow time for extraction and opening.
Check the content, then the integrity of the copy
First compare the expected paths and the number of files. Size helps spot an empty or truncated file, but two different files can have the same size. To check the bytes, compute a SHA-256 hash of each stable source file, then the same hash on its copy. Python documents this computation in hashlib; other tools offer the same algorithm.
Keep the hash inventory separate from the files it describes, without trying to make it contain its own hash. A difference can come from an incorrect copy, but also from a source file modified between the two computations. Identify the cause before replacing anything.
An identical hash doesn't judge the business result and doesn't by itself prove who authored the file. A blurry image or a bad model can be copied without alteration. So pair integrity checks with opening representative outputs and verifying your criteria.
Example: one hundred images, two hundred and two useful files
Let's imagine a delivery of one hundred visuals. The resumption archive contains one hundred originals, one hundred accepted images, a settings file, and a resumption note: 100 + 100 + 1 + 1 = 202 files. A separate inventory describes these 202 items; with that inventory, the folder contains 203 files. This is an example of organization, with no processing stated.
After copying, the count finds the 202 described items, but one hash differs. So you have 201 matching files and one file to examine: the correct total number isn't enough. If the source file has stayed stable, recopy that item, then recompute its hash. If the source has changed, first choose which version to keep and update the inventory consistently.
Next, open from the copy a large image, an image with transparency, and an image containing text. Also check that the hundred expected names are included in the delivery. These three openings illustrate a targeted check; they do not certify the quality of all the other visual assets. Cases flagged during processing must be reviewed individually.
Repeat a resumption without using the old paths
Open the project from the backup location or a separate test folder. Follow the note in order, without secretly reaching for a dependency in the original environment. Missing linked files, fonts, extension versions, or absolute paths then become visible.
For images, resume an entry with the saved settings and open the export. For an assistant, reload the configuration and replay a control question with its documents. For a computation, verify that the state loads and a small expected step. The verification must go all the way to the useful result; seeing a folder in the file explorer does not test its resumption.
Note the scope of the check. You may have verified that the deliverables open without having the software needed to rerun the computation on your computer. In that case, describe precisely what is verified and what remains to be tried in a compatible environment.
Recognize the errors that give false confidence
A single archive on the working drive can disappear along with that drive. A synced copy can reproduce an accidental deletion. Two folders visible in the same place therefore do not prove two independent ways to recover the data. Choose a storage arrangement suited to their importance, then test the intended recovery path.
The other pitfalls are more ordinary: missing final export, archive copied before it finished writing, unversioned settings, or a file protected by access that the recipient does not have. Do a final pass with the list, from the actual destination. As long as an issue remains open, keep the elements needed to fix it.
- The expected deliverables are present and identified.
- The inventory matches the copy that was kept.
- The control files open from the destination.
- The resumption note describes the remaining dependencies and limitations.
- The necessary accesses are handled separately from the shared files.