This docker container used as a server-side to sync backups to backupfriend-client
It is also the base or the RaspsberryPi dedicated distro
Pick your desired setup below
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
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
cd src
docker-compose build
docker-compose up -d
-
Web server uses rdiffweb
- Default user and password is user:
admin
, password:admin123
like in the demo of rdiffweb
- Default user and password is user:
-
rdiffweb instance is at port 8082 eg: http://backupfriend.local:8082
-
ssh to sync rdiff-backup is at port at 8022 eg: http://backupfriend.local:8022