Skip to content

Commit c848f65

Browse files
authored
fix(docs): adjust command for transferring backup data (#435)
1 parent 59fbeae commit c848f65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/migration-recipe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ index 68387c9..7a8ace1 100644
163163
5. If the service has pillar data for backups (see `pillar/prod/backup/$service.sls`),
164164
run `rsync` once to move the bulk of data and as necessary to watch for changes:
165165
```console
166-
sudo -E -s rsync -av --rsync-path="sudo rsync" username@hostname: /pathname/ /pathname/
166+
sudo -E -s rsync -av --rsync-path="sudo rsync" username@hostname:/pathname/ /pathname/
167167
```
168168
- The `/pathname/` can be determined by looking at the pillar data for backups, `pillar/prod/backup` using the
169169
`source_directory` path for the given host (example: the `downloads` host uses `/srv/`)
@@ -188,7 +188,7 @@ index 68387c9..7a8ace1 100644
188188
1. If the service has pillar data for backups (see `pillar/prod/backup/$service.sls`),
189189
run `rsync` once more to finalize data migration:
190190
```console
191-
sudo -E -s rsync -av --rsync-path="sudo rsync" username@hostname: /pathname/ /pathname/
191+
sudo -E -s rsync -av --rsync-path="sudo rsync" username@hostname:/pathname/ /pathname/
192192
```
193193
2. Start cron jobs:
194194
```console

0 commit comments

Comments
 (0)