Skip to content

Mireiawen/borg-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BorgBackup

Docker Container for the BorgBackup to be used as backup server

Dockerfile contains the following

Running

Run this container with the following options to run container with specified SSH key

docker run \
	--detach \
	--env "SSH_KEY=<ssh public key>"
	--publish "22:22" \
	"mireiawen/borg-backup"

Run this container by using a volume mount of the local directory to store the backups on local disk, the disk may already contain .ssh folder with keys and such

docker run \
	--detach \
	--publish "22:22" \
	--volume "/path/to/backups:/home/borgbackup"
	"mireiawen/borg-backup"