File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ A cli to pull all your git repositories for backup purposes. It is completely st
6
6
7
7
The latest version can be downloaded from the [ releases page] ( https://github.com/ChappIO/git-backup/releases ) .
8
8
9
- ## Configuration
9
+ ## Configuration File
10
10
11
- Example Configuration:
11
+ Example yaml Configuration:
12
12
``` yaml
13
13
# The github section contains backup jobs for
14
14
# GitHub and GitHub Enterprise
@@ -66,7 +66,7 @@ gitlab:
66
66
url : https://gitlab.mydomain.com
67
67
` ` `
68
68
69
- ## Usage
69
+ ## Usage: CLI
70
70
71
71
` ` ` asciidoc
72
72
Usage : git-backup
@@ -77,3 +77,13 @@ Options:
77
77
-config.file string
78
78
The path to your config file. (default "git-backup.yml")
79
79
```
80
+
81
+ ## Usage: Docker
82
+
83
+ First, create your [ git-backup.yml file] ( #configuration-file ) at ` /path/to/your/backups ` .
84
+
85
+ Then update your backups using the mounted volume.
86
+
87
+ ``` bash
88
+ docker run --volume /path/to/backups:/backups ghcr.io/chappio/git-backup:latest
89
+ ```
You can’t perform that action at this time.
0 commit comments