Sign inSign up

webvariants/restic-rclone

By webvariants

Updated over 7 years ago

docker based restic & rclone setup

Image
0

2.4K

webvariants/restic-rclone repository overview

restic/rclone backup client/server


# steps to run on server (backup target)

# build image
./bin/build-image

# create certs directory with right permissions
./bin/create-certs-dir

# create configuration for host
./bin/add-host
# follow interactive steps
# you need a server with domain name and open ports

NAME=... # use name from interactive steps

# rclone config to setup storage system (https://rclone.org/overview/)
./bin/rclone-config $NAME

# run server
./bin/restic-server $NAME

# follow https://restic.net/#installation

# init repository
./bin/restic-client $NAME init

# copy needed files to client (host with files to backup)
./bin/tar-client $NAME
scp $NAME-client.tar.gz YOUR-HOST:
ssh YOUR-HOST
tar xzvf $NAME-client.tar.gz

# follow https://restic.net/#installation

# test connection
./bin/restic-client $NAME snapshots

Tag summary

Content type

Image

Digest

Size

73.5 MB

Last updated

over 7 years ago

docker pull webvariants/restic-rclone