Docker image to mount a HubiC data store (using hubicfuse)
1.4K
This Docker image aims to mount a HubiC data store to backup/restore files. It uses hubicfuse.
The idea is to mount, backup or restore datas and then exits.
Storage of datas into HubiC is in :
A Dockerfile is also available for the Raspberry Pi since there are specifics rules on this platform (Automated builds fail since Docker Hub currently doesn't support ARM platforms). You can grab that image or build it yourself from Github.
arm (raspberry PI)
x86_64
docker run -ti --rm flem/hubicfuse --help
First, you need to retrieve the token to make /root/.hubicfuse file
docker run -ti --rm flem/hubicfuse --get_token
docker run -ti --rm \
--cap-add SYS_ADMIN \
--device /dev/fuse \
flem/hubicfuse --mount --id XXXX --secret XXXX --token XXXX
docker run --rm \
--cap-add SYS_ADMIN \
--device /dev/fuse \
--volume /path/to/mydatas:/mydatas:ro \
flem/hubicfuse --backup --id XXXX --secret XXXX --token XXXX --hubic_dir default/path/to/backup
docker run --rm \
--cap-add SYS_ADMIN \
--device /dev/fuse \
--volume /path/to/mydatas:/mydatas \
flem/hubicfuse --restore --id XXXX --secret XXXX --token XXXX --hubic_dir default/path/to/backup
docker run --rm \
--cap-add SYS_ADMIN \
--device /dev/fuse \
--volume /path/to/mydatas:/mydatas:ro \
--hostname MYHOST \
flem/hubicfuse --backup --id XXXX --secret XXXX --token XXXX --hubic_dir default/path/to/backup \
--crypt --passphrase "XXXX" --mode full --retention 2
docker run --rm \
--cap-add SYS_ADMIN \
--device /dev/fuse \
--volume /path/to/mydatas:/mydatas:ro \
--hostname MYHOST \
flem/hubicfuse --backup --id XXXX --secret XXXX --token XXXX --hubic_dir default/path/to/backup \
--crypt --passphrase "XXXX" --mode incr --retention 2
docker run --rm \
--cap-add SYS_ADMIN \
--device /dev/fuse \
--volume /path/to/mydatas:/mydatas:ro \
--hostname MYHOST \
flem/hubicfuse --backup --id XXXX --secret XXXX --token XXXX --hubic_dir default/path/to/backup \
--crypt --passphrase "XXXX"
Content type
Image
Digest
Size
74.8 MB
Last updated
over 9 years ago
docker pull flem/hubicfuse