Skip to content

guysoft/BackupFriend-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

BackupFriend-docker

This docker container used as a server-side to sync backups to backupfriend-client

It is also the base or the RaspsberryPi dedicated distro

House to use

Pick your desired setup below

RaspberryPi

It is recommended to use the pre-built RaspsberryPi image available at BackupFriendPi. It comes with extra stuff such as automatic mounting of hard drives and an nginx-proxy and has been tested by people.

However, if you really want to set this up on an existing Pi, where you have docker and docker-compose already installed, this is how to do it:

mkdir backupfriend-server
cd backupfriend-server
wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/docker-compose.yml
wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/env_raspberrypi
wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/rdw.conf
mv env_server .env
touch rdw.db
sudo docker network create nginx-proxy
sudo docker-compose up -d

Cloud server

mkdir backupfriend-server
cd backupfriend-server
wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/docker-compose.yml
wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/env_server
wget https://raw.githubusercontent.com/guysoft/BackupFriend-docker/master/src/rdw.conf
mv env_server .env
touch rdw.db
sudo docker network create nginx-proxy
sudo docker-compose up -d

Build and run

cd src
docker-compose build
docker-compose up -d

Containers on docker hub:

About

Docker for RaspberryPi distro that lets backup your stuff to a friend

Resources

License

Stars

Watchers

Forks

Packages

No packages published