All languages

Docker

You're viewing a free preview. Sign in free to read every script.

Why this exists Everything you must not lose in a Docker setup lives in volumes : databases, uploaded files, certificates, application state. Containers and images can be rebuilt from code; a volume cannot. Yet a volume…

Named Volume Backup & Restore Script

A script that backs up a Docker named volume as a verified, checksummed archive that preserves owners and permissions, warns or stops containers that are writing to it, rotates old archives, and restores only into an empty volume from an archive that passes its checksum, tested with a real data loss and a deliberately damaged file.

Sign in free to read this script, along with the rest of the library.

Sign in free