Free Tools Pricing
Log in Sign up →
Docs Backup CLI Offline Mode

Offline Mode

No WiFi. Still protected. DevSafe queues encrypted backups locally when you are offline and ships them automatically when your connection returns.

What it does

When DevSafe detects no network connectivity, it continues creating encrypted backups and stores them in a local queue. Nothing changes about how your backups are created or encrypted. The only difference is where they wait.

When connectivity returns, queued backups upload automatically in the order they were created. There is no gap in coverage. Every backup that would have gone to the cloud is preserved locally until it can be delivered.

Usage

Offline Mode is automatic. There is no special command to enable it. DevSafe detects connectivity on its own and switches between local queuing and cloud upload transparently.

Two commands are useful when you are offline:

Check queue status

Use devsafe status to see how many backups are queued locally and waiting for upload.

terminal
$ devsafe status
Status:        offline
Queued:        3 backups pending upload
Last backup:   2 minutes ago (local)
Repos tracked: 4

Force a local backup

Use devsafe backup --force to trigger an immediate local backup, even when offline. Useful before shutting your laptop down on a long flight.

terminal
$ devsafe backup --force
 backup created (queued locally, will upload when online)

When it matters

Offline Mode exists for the real-world moments when connectivity disappears but your work does not stop:

In every case, your backup schedule continues uninterrupted. You do not need to remember to "sync" when you get back online. DevSafe handles it.

Storage

Queued backups use the same encryption as cloud-bound backups. A backup sitting in the local queue is encrypted with the same key, the same nonce-unique AEAD, and the same envelope format as one that uploads immediately. Queued backups are indistinguishable from cloud backups in every way except location.

Once a queued backup uploads successfully, it is removed from the local queue automatically. There is nothing to clean up manually.

Offline Mode is available on Pro and above.

Free-tier users receive cloud backups when online. Offline queuing and automatic sync require a Pro, Team, or Enterprise plan.