Skip to content

A container that can limit network bandwidth. Originally written for restic but restic now contains the functionality.

License

Notifications You must be signed in to change notification settings

deweysasser/docker-restic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

A downstream version of restic/restic that adds bandwith control.

Set environment variable BANDWITH_LIMIT to a limit suitable for qc and the container will be limited to that bandwith. Your container must have NET_ADMIN priviledges to work.

Example:

 docker run --rm -e BANDWIDTH_LIMIT=2000Mbits -e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} -e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}  -e RESTIC_PASSWORD=${PASSWORD} -h ${hostname} --cap-add NET_ADMIN -v ${DIR}:${DIR} deweysasser/restic -r s3:s3.amazonaws.com/${BUCKET}/restic backup ${DIR}

About

A container that can limit network bandwidth. Originally written for restic but restic now contains the functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages