https://github.com/jordanwalster/borgbackup
This repository contains the Dockerfile and docker-compose.yml files for running borg in a docker container.
https://github.com/jordanwalster/borgbackup
borgbackup docker docker-compose
Last synced: 3 months ago
JSON representation
This repository contains the Dockerfile and docker-compose.yml files for running borg in a docker container.
- Host: GitHub
- URL: https://github.com/jordanwalster/borgbackup
- Owner: jordanwalster
- Created: 2025-02-10T04:00:17.000Z (over 1 year ago)
- Default Branch: github
- Last Pushed: 2025-02-20T14:18:12.000Z (over 1 year ago)
- Last Synced: 2025-07-09T16:09:49.032Z (12 months ago)
- Topics: borgbackup, docker, docker-compose
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# borgbackup
This repository contains the `Dockerfile` and `docker-compose.yml` files for running borg in a docker container.
## Usage
To use this container, run the supplied `docker-compose.yml` and substitute the `SSH_PASSWORD` environment variable for one of your choice (This is not your borg passphrase that is used to encrypt your backup).
### Create your first repository
Create your first repository against the container using:
```
borg init -e repokey borg@[IP]:/opt/borg/
```
If you have selected another port other than 22, you can change the port used by borg by running `export BORG_RSH="ssh -p "` on the client running the backup command.
From here you should follow the usage documentation provided on [borgbackup.readthedocs.io](https://borgbackup.readthedocs.io/en/stable/usage/general.html).
### DISCLAIMER: MAKE SURE TO STORE YOUR PASSPHRASE IN A SECURE LOCATION. IF IT IS LOST, YOUR BACKUPS WILL BECOME UNRECOVERABLE.