Synchronize files with rsync
If you are new to Buddy, check out our quickstart guides that will tell you how to create build, test and deploy your type of application.
Buddy turns deployments into a breeze, allowing you to remotely synchronize files on your servers on every push to branch. You can also sync manually on click, or recurrently on time intervals.
Configure rsync deployment
- Create a new project, select your Git provider and choose the repository with your project
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy
- Look up and click Rsync on the action list:
- Configure action details:
- select authentication mode and provide the details to your server
- When ready, click Add this action to finish configuration.
Click the Test button to verify connection details before saving the action.
Click More options to reveal additional Rsync parameters:
|Compress file data during the transfer||Rsync compresses the file data, which reduces the size of transmitted data|
|Archive mode||Preserves all information about the file, such as timestamps and permissions|
|Delete extraneous files||Tells rsync to delete extraneous files from the receiving side|
|Recurse into directories||Tells rsync to copy directories recursively|
|Transfer directories without recursing||Transfers directories without recursing|
What you need to know
- You can use environment variables to store authentication details to your servers.
- You can use Ignore paths to exclude files for deployment in More Options.