Public | Automated Build

Last pushed: a year ago
Short Description
Attic backup in a lightweight image.
Full Description

Attic for docker

This is a lightweight image for running attic. This image is based on the lightweight Alpine Linux.

Usage

Initialize a repository

docker run -v /var/repository/location:/repository waldher/attic attic init /repository

Create a backup

docker run -v /var/repository/location:/repository \
           -v /var/directory/to/be/backed/up:/backup waldher/attic attic create /repository::`date -Iseconds` /backup

Extract a backup

docker run -v /var/repository/location:/repository \
           -v /var/destination:/destination waldher/attic attic extract /repository::2016-02-19T16:44:10+00:00 /destination

Notes

Unknown repositories

If you run into issues with unknown repositories, rather than use ATTIC_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK it's recommended that you add -v /var/attic-cache:/root/.cache/attic to preserve attic's cache of repositories.

Docker Pull Command
Owner
waldher
Source Repository