Restore a volume container directory from Rackspace Cloud Files.
494
This image will download (restore) a Cloud Files container to a local directory once, using rack.
Building the image:
docker build -t carinamarina/cf-restore cf-restore
Example run with bash:
docker run \
--name restore \
--rm \
--env RS_USERNAME='[redacted]' \
--env RS_API_KEY='[redacted]' \
--env RS_REGION_NAME='DFW' \
--env DIRECTORY='/config' \
--env CONTAINER='quassel-backup' \
--volumes-from quassel-data \
carinamarina/cf-restore
PowerShell:
docker run `
--name restore `
--rm `
--env RS_USERNAME='[redacted]' `
--env RS_API_KEY='[redacted]' `
--env RS_REGION_NAME='DFW' `
--env DIRECTORY='/config' `
--env CONTAINER='quassel-backup' `
--volumes-from quassel-data `
carinamarina/cf-restore
RS_USERNAME - Rackspace username
RS_API_KEY - Rackspace API key
RS_REGION_NAME - Rackspace region
DIRECTORY - Directory to restore to from the container
CONTAINER - The container name to download from
--volumes-from - the data volume container to mount
NOCOMPRESSION - set this to download full files instead of a compressed archive. Use the same setting as your backup setting, if using the cf-backup image. Does not work with hidden files.
Content type
Image
Digest
Size
71 MB
Last updated
over 10 years ago
docker pull carinamarina/cf-restore