Fossil SCM

Fixed the scp command in the new backup.md doc

wyoung 2020-10-05 13:59 trunk
Commit e3e4bec36092f91d5706d5433c569bc9e49427d86fc7401fcc3c920b99d304e7
1 file changed +1 -4
+1 -4
--- www/backup.md
+++ www/backup.md
@@ -16,13 +16,10 @@
1616
you’re logged in with [setup] capability. As an example, a local clone
1717
may have a different `user` table than the remote, because only the
1818
Setup user is allowed to see the full version for privacy and security
1919
reasons.
2020
21
-Even with setup capability, though, you may not get updates to the
22
-remote configuration, which brings us to...
23
-
2421
2522
## Configuration Drift
2623
2724
Fossil allows the local configuration in certain areas to differ from
2825
that of the remote. With the exception of the prior item, you get a copy
@@ -130,11 +127,11 @@
130127
131128
``` shell
132129
#!/bin/bash
133130
bf=repo-$(date +%Y-%m-%d).fossil
134131
ssh example.com "cd museum ; fossil backup -R repo.fossil backups/$bf" &&
135
- scp example.com/museum/backups/$bf ~/museum/backups
132
+ scp example.com:museum/backups/$bf ~/museum/backups
136133
```
137134
138135
139136
## Encrypted Off-Site Backups
140137
141138
--- www/backup.md
+++ www/backup.md
@@ -16,13 +16,10 @@
16 you’re logged in with [setup] capability. As an example, a local clone
17 may have a different `user` table than the remote, because only the
18 Setup user is allowed to see the full version for privacy and security
19 reasons.
20
21 Even with setup capability, though, you may not get updates to the
22 remote configuration, which brings us to...
23
24
25 ## Configuration Drift
26
27 Fossil allows the local configuration in certain areas to differ from
28 that of the remote. With the exception of the prior item, you get a copy
@@ -130,11 +127,11 @@
130
131 ``` shell
132 #!/bin/bash
133 bf=repo-$(date +%Y-%m-%d).fossil
134 ssh example.com "cd museum ; fossil backup -R repo.fossil backups/$bf" &&
135 scp example.com/museum/backups/$bf ~/museum/backups
136 ```
137
138
139 ## Encrypted Off-Site Backups
140
141
--- www/backup.md
+++ www/backup.md
@@ -16,13 +16,10 @@
16 you’re logged in with [setup] capability. As an example, a local clone
17 may have a different `user` table than the remote, because only the
18 Setup user is allowed to see the full version for privacy and security
19 reasons.
20
 
 
 
21
22 ## Configuration Drift
23
24 Fossil allows the local configuration in certain areas to differ from
25 that of the remote. With the exception of the prior item, you get a copy
@@ -130,11 +127,11 @@
127
128 ``` shell
129 #!/bin/bash
130 bf=repo-$(date +%Y-%m-%d).fossil
131 ssh example.com "cd museum ; fossil backup -R repo.fossil backups/$bf" &&
132 scp example.com:museum/backups/$bf ~/museum/backups
133 ```
134
135
136 ## Encrypted Off-Site Backups
137
138

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button