From 8d78fe5186801fee0d0cd390657e853f3b90d2af Mon Sep 17 00:00:00 2001 From: Daniel Dolezal <40464775+daniel156161@users.noreply.github.com> Date: Fri, 1 Jul 2022 18:01:23 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c3f1bc1..a07cf5f 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,22 @@ -## SSH Keys +## Use after setup +``` +export BORG_REPO='ssh://borg@localhost:3000/backups' +borg init -e none +# any borg command you like +``` +## SSH Keys they are into the Container Folder /sshkeys - **Client Keys** /sshkeys/clients: add the Public Key with the Hostname.pub - **Server Keys** /sshkeys/host: will be here after Server generate them + ## BorgBackup Repo borgBackup Repo can be into any Folder you like but i put it into /backups :3 + ## Example docker code run this docker command to get up and running: @@ -21,21 +29,21 @@ docker run -dp 3000:22 \ -v "$PWD"/backups:/backups \ daniel156161/borgbackup-ssh:tagname ``` -## Maintain Borg Repo - Only in lastest +## Maintain Borg Repo - not into 1.1.17 Use ENV MAINTENANCE_ENABLE="true" and bind your contab file into /crontab.txt and bind your script to / too its easier with the Crontab file -## Logs - Only in lastest -Create New Volumen into /logs if you like to log anything +## Logs - not into 1.1.17 +Create New Volumen into /logs if you like to log anything or get the logs -## Set Timezone - Only in lastest +## Set Timezone - not into 1.1.17 Use ENV TZ="Your time zone" if not set will use UTC ## borgbackup Version into Tags | TAG | Borg Backup Version | Alpine Version | | ----------- | ----------- | ----------- | -| lastest | 1.2.1 | latest | -| 1.2.0 | 1.2.0 | 3.16 | +| lastest | 1.2.1 | edge | +| stable | 1.2.0 | latest | | 1.1.17 | 1.1.17 | not know any more | -more will be come \ No newline at end of file +more will be come From 0ccb08049998da8ed47724c67f6c64b9e54772f3 Mon Sep 17 00:00:00 2001 From: Daniel Dolezal <40464775+daniel156161@users.noreply.github.com> Date: Fri, 1 Jul 2022 18:02:19 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index a07cf5f..0aca85c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ +## Example docker code +run this docker command to get up and running: + +``` +docker run -dp 3000:22 \ + -e UID=$(id -u) \ + -e GID=$(id -g) \ + -v "$PWD"/sshkeys:/sshkeys \ + -v "$PWD"/backups:/backups \ + daniel156161/borgbackup-ssh:tagname +``` + ## Use after setup ``` export BORG_REPO='ssh://borg@localhost:3000/backups' @@ -5,6 +17,7 @@ borg init -e none # any borg command you like ``` + ## SSH Keys they are into the Container Folder /sshkeys @@ -16,19 +29,6 @@ they are into the Container Folder /sshkeys borgBackup Repo can be into any Folder you like but i put it into /backups :3 - -## Example docker code - -run this docker command to get up and running: - -``` -docker run -dp 3000:22 \ - -e UID=$(id -u) \ - -e GID=$(id -g) \ - -v "$PWD"/sshkeys:/sshkeys \ - -v "$PWD"/backups:/backups \ - daniel156161/borgbackup-ssh:tagname -``` ## Maintain Borg Repo - not into 1.1.17 Use ENV MAINTENANCE_ENABLE="true" and bind your contab file into /crontab.txt and bind your script to / too its easier with the Crontab file