pschiffe / docker-borg

Docker image with BorgBackup client utility and sshfs support
https://hub.docker.com/r/pschiffe/borg/
MIT License
51 stars 18 forks source link

borg compact executed with -e PRUNE=1? #27

Closed cortlieb closed 1 month ago

cortlieb commented 1 month ago

I'm using your docker-image to do a backup with -e PRUNE=1

In the borg docs one can read:

Important: Repository disk space is not freed until you run borg compact.

Does your container automatically execute borg compact or do i Have to do that manually, probably by using the -e BORG_PARAMS='compact' parameter?

Thanks Christian

pschiffe commented 1 month ago

Nice find! I've added the borg compact command to be run after prune. Updated image should be already available in the docker hub. Cheers.

cortlieb commented 1 month ago

grafik Great! Thank you very much for the extremely quick response!