THOSTHelp guides

Storage Box

Copy files with rsync and restore from nightly snapshots

Mirror folders to your Storage Box with rsync over SSH, and get deleted or changed files back from the seven nightly read-only snapshots.

Checked against the live THOST dashboard on

rsync mirrors a folder and only sends what changed. It does not encrypt files at rest or keep old versions by itself, but every Storage Box keeps seven nightly read-only snapshots, which gives you a week of history on top.

Steps: copy a folder with rsync

  1. Run rsync with your port and username (the Overview tab has this command ready): With the thost-box entry in ~/.ssh/config: rsync -avz ~/Documents/ thost-box:documents/
    rsync -avz -e 'ssh -p 21234' ./backup/ bx1a2b3@storage.t-host.co.uk:backup/
  2. Keep an exact mirror by adding --delete (files you deleted locally are deleted on the box too; the snapshots still have them for seven nights).
  3. Schedule it with cron or a systemd timer once it works, using an SSH key.

Steps: restore from a snapshot

Every night THOST takes a read-only copy of your whole box and keeps the last seven. Nothing in them can be changed or deleted, even by you.

  1. See the snapshots. On your Storage Box open the Snapshots tab. Each one has a folder /.zfs/snapshot/<name>/data/.
  2. In an SFTP app (FileZilla, WinSCP, Cyberduck): the folder is hidden, so type /.zfs/snapshot/ into the path box after connecting, open a snapshot, then its data folder, and download what you need.
  3. From the command line, connect with SFTP and cd /.zfs/snapshot, or copy a folder straight out of a snapshot with rsync (change the snapshot name and backup/ to yours):
    rsync -avz -e 'ssh -p 21234' bx1a2b3@storage.t-host.co.uk:/.zfs/snapshot/SNAPSHOT/data/backup/ ./restored/

Questions

Does restoring overwrite my current files?

No. Snapshots are read-only. Nothing is overwritten until you copy files back yourself.

Are snapshots counted in my space?

The Snapshots tab shows each snapshot's size where available. Snapshots of files you later delete keep that space in use until the snapshot ages out after seven nights.

Did this not solve it? Open a support ticket and tell us which guide you followed. We answer every ticket ourselves.