Created
August 22, 2012 17:23
-
-
Save kirkch/3427722 to your computer and use it in GitHub Desktop.
rsync notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- RSync server config ( /etc/zeebox/rsync.conf | |
lock file = /var/run/rsync.lock | |
log file = /var/log/rsyncd.log | |
pid file = /var/run/rsyncd.pid | |
[cache] | |
path = /mnt/cache | |
uid = tomcat | |
gid = tomcat | |
read only = yes | |
list = yes | |
-- Start rsync | |
rsync --daemon --config=/etc/zeebox/rsync.conf | |
--no-detach -v | |
-- Client rsync | |
rsync -rhtv --size-only --progress --delete --exclude="*" --include="*.gz" rsync://perftest-ue1a-tmsexport2/cache /mnt/cache | |
-- Zip all files | |
sudo gzip -rv /mnt/cache/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment