-
Create repository for client on Hetzener Storage Box "client_repository".
-
Create username for "client_repository" and attach "client_repository" to it in the Hetzener Storage Box console.
-
Create the directory .ssh in the "client_repository" with the file rights chmod 0700 (rwx------)
-
Create the file .ssh/authorized_keys with the client public SSH keys and the file rights chmod 0600 (rw-------).
-
Create repository for client server "client_repository/client_server_repository"
-
Initialize repository : borg init -e none ssh://username@username.your-storagebox.de:23/./client_server_repository
-
Download borg on to client server in /root directory
-
Edit .env file:
-
user=username - username for "client_repository"
-
repo=repository - "client_server_repository"
-
archive=Archive - name for archive in the "client_server_repository"
-
-
run: docker-compose up -d
-
Create crontab -e for borg, examle: 0 2 * * 6 docker start "borgbackup_container_name"
GAS373/borgbackup
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|