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.

đź“š Learn more about Rsync action features, integrations and alternatives.

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.

Pipeline example using Rsynch actionPipeline example using Rsynch action

Configure rsync deployment

  1. Create a new project, select your Git provider and choose the repository with your project
  2. Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy
  3. Look up and click Rsync on the action list: Rsynch action locationRsynch action location
  4. Configure action details:
    • select authentication mode and provide the details to your server Configuring Rsync actionConfiguring Rsync action
  5. When ready, click Add this action to finish configuration.

Click the Test button to verify connection details before saving the action.

Extra options

Click More options to reveal additional Rsync parameters:

Compress file data during the transfer-z, --compressRsync compresses the file data, which reduces the size of transmitted data
Archive mode-a, --archivePreserves all information about the file, such as timestamps and permissions
Delete extraneous files--deleteTells rsync to delete extraneous files from the receiving side
Recurse into directories-r, --recursiveTells rsync to copy directories recursively
Transfer directories without recursing-d, --dirsTransfers 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.

Last modified on April 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.