Docs/Getting started
Getting started

Get your files out of a rented Spark

By Samuel Seidel · Updated November 12, 2026 · 4 min read

GPUwerk keeps no backup of /workspace. Terminating an instance deletes it, and so does a failed drive. Copy anything you want to keep to your own machine or to Hugging Face before you terminate, and from time to time during a long run.

You need: a running or stopped instance. For scp and rsync, an SSH key added to the instance (SSH guide). The examples use spark-abcd.gpuwerk.com; the console's instance page shows your hostname and SSH command.

On this page
  1. When your files are deleted
  2. Copy a folder with scp
  3. Sync large or changing folders with rsync
  4. Push models and datasets to Hugging Face
  5. Check before you terminate

When your files are deleted

Copy a folder with scp

Run this on your own computer, not on the instance. It copies /workspace/results into the current folder:

scp -r root@spark-abcd.gpuwerk.com:/workspace/results ./

To pack many small files first, which is faster over the network:

ssh root@spark-abcd.gpuwerk.com 'tar -C /workspace -czf - results' > results.tar.gz

Sync large or changing folders with rsync

rsync copies only what changed and can resume after a dropped connection, so it suits checkpoints and long runs. It has to be installed on both ends. On the instance:

apt-get update && apt-get install -y rsync

Then, on your own computer:

rsync -avz --partial --progress \
    root@spark-abcd.gpuwerk.com:/workspace/checkpoints/ ./checkpoints/

Run it again later and it fetches only new or changed files. Leave out -z for files that are already compressed, such as .safetensors or .gguf.

Push models and datasets to Hugging Face

For a fine-tuned model or a large dataset, uploading straight from the instance to a private Hugging Face repository is usually faster than downloading to a laptop. On the instance:

pip install -U huggingface_hub
hf auth login                      # paste a token with write access
hf upload your-name/my-finetune /workspace/out . --private

For a dataset, add --repo-type dataset. The token is stored under ~/.cache/huggingface on the instance; log out with hf auth logout before you hand the machine back, or create a token you can revoke afterwards.

Check before you terminate

RelatedWhat persists across a restart Back toAll docs
First top-up: pay $20, get $30 in credit

Ready for a run you can take with you?

A dedicated DGX Spark in Europe, North America or East Asia, through the console.

Create account