capistrano_rsync_with_remote_cache icon indicating copy to clipboard operation
capistrano_rsync_with_remote_cache copied to clipboard

rsync --linkdest to speed up deployment and reduce disk usage

Open cwarden opened this issue 13 years ago • 1 comments

We've been using this patch to rsync_with_remote_cache for a couple years. It speeds up deployment and reduces disk usage by hardlinking files in each release to the previous release.

cwarden avatar Dec 17 '10 06:12 cwarden

Because we hardlink to files in from the previous deployment, a separate folder containing a remote cache is no longer needed. The only files that are transfered are the ones that differ between the current release and the new one.

cwarden avatar Jul 24 '11 17:07 cwarden