software/borg.md
... ...
@@ -0,0 +1,24 @@
1
+# borg
2
+
3
+* create repo
4
+```
5
+borg init -e repokey /path/to/repo
6
+```
7
+* create archive
8
+```
9
+borg create /path/to/repo::archive /path/to/backup
10
+```
11
+* or over ssh
12
+```
13
+borg create ssh://user@host/path/to/repo::archive /path/to/backup
14
+```
15
+
16
+## my procedure
17
+```
18
+borg init -e repokey /media/backup/borg-hostname
19
+borg create /media/backup/borg-hostname::$(date +%Y%m%d) ${HOME}
20
+borg list /media/backup/borg-hostname
21
+sudo borg mount /media/backup/borg-hostname::$(date +%Y%m%d) /media/recover
22
+sudo umount /media/recover
23
+rclone sync /media/backup <cloud_storage>:<bucket>
24
+```
tech-index.md
... ...
@@ -79,6 +79,7 @@
79 79
* [nginx](/software/nginx)
80 80
* [peertube](/software/peertube)
81 81
* [wagtail](/software/wagtail)
82
+* [borg](/software/borg)
82 83
83 84
iwgetid wlp6s0 -r
84 85