Skip to content

Comments

Update 03.deploy-git-rsync.md to fix rsync down command#5

Open
cy-by wants to merge 1 commit intofortrabbit:mainfrom
cy-by:patch-1
Open

Update 03.deploy-git-rsync.md to fix rsync down command#5
cy-by wants to merge 1 commit intofortrabbit:mainfrom
cy-by:patch-1

Conversation

@cy-by
Copy link

@cy-by cy-by commented Feb 4, 2026

Hey folks, I ran through these docs recently and noticed I had to change the rsync command to properly pull changes from remote into the right place locally, they were previously all going into the root of the directory.

No pressure on merging, cheers!

Fixed rsync sync down from remote to local that was placing all content in root
Copy link
Member

@pheeque1 pheeque1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Looks like an oversight on our part that needs to be fixed.
I however have a follow up question if you don't mind.

Comment on lines 76 to +86

```shell
# SYNC DOWN: from remote to local
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/content ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/users ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/resources/blueprints ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/resources/fieldsets ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/resources/forms ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/resources/users ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/storage/forms ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/public/assets' ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/content' ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/users' ./
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/resources/blueprints' ./resources/
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/resources/fieldsets' ./resources/
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/resources/forms' ./resources/
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/resources/users' ./resources/
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/storage/forms' ./storage/
$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/public/assets' ./public/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that I still needed to include a /data/www prefix to the remote path to get it to work. Does it work without it for you?

$ rsync -av '{{app-env-id}}@ssh.{{region}}.frbit.app:/data/www/content' ./

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants