Fossil SCM
Fixed the scp command in the new backup.md doc
Commit
e3e4bec36092f91d5706d5433c569bc9e49427d86fc7401fcc3c920b99d304e7
Parent
eb34dd52e2422f8…
1 file changed
+1
-4
+1
-4
| --- www/backup.md | ||
| +++ www/backup.md | ||
| @@ -16,13 +16,10 @@ | ||
| 16 | 16 | you’re logged in with [setup] capability. As an example, a local clone |
| 17 | 17 | may have a different `user` table than the remote, because only the |
| 18 | 18 | Setup user is allowed to see the full version for privacy and security |
| 19 | 19 | reasons. |
| 20 | 20 | |
| 21 | -Even with setup capability, though, you may not get updates to the | |
| 22 | -remote configuration, which brings us to... | |
| 23 | - | |
| 24 | 21 | |
| 25 | 22 | ## Configuration Drift |
| 26 | 23 | |
| 27 | 24 | Fossil allows the local configuration in certain areas to differ from |
| 28 | 25 | that of the remote. With the exception of the prior item, you get a copy |
| @@ -130,11 +127,11 @@ | ||
| 130 | 127 | |
| 131 | 128 | ``` shell |
| 132 | 129 | #!/bin/bash |
| 133 | 130 | bf=repo-$(date +%Y-%m-%d).fossil |
| 134 | 131 | 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 | |
| 136 | 133 | ``` |
| 137 | 134 | |
| 138 | 135 | |
| 139 | 136 | ## Encrypted Off-Site Backups |
| 140 | 137 | |
| 141 | 138 |
| --- 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 |