Skip to content

Creates a backup using bup and saves it encrypted via FTP (using curlftpfs and EncFS).

Notifications You must be signed in to change notification settings

rankenstein/docker-bup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Creates a backup using bup.

Usage

There are two modes. When passing a volume to be mounted in /data, the index/save mechanism of bup is used to create the backup:

docker create \
	--name "backup" \
	-e "BUP_NAME=backup"
	-v /directory/to/backup:/data
	rankenstein/bup

docker start -a backup

Otherwise, the split mechanism is used, which requires the data be be sent to stdin:

docker create -i \
	--name "backup" \
	-e "BUP_NAME=backup"
	rankenstein/bup

cat /file/to/backup | docker start -ai backup

Environment variables

  • BUP_NAME: The branch name to use for the bup backup (default: backup)

Volumes

  • /data: The data that should be backed up
  • /backup: The backup will be saved here

About

Creates a backup using bup and saves it encrypted via FTP (using curlftpfs and EncFS).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages