search for: rsyncfiles

Displaying 3 results from an estimated 3 matches for "rsyncfiles".

Did you mean: rsyncfile
2003 Jun 27
2
Using include/exclude options
Hello everyone. I have a question about using the include/exclude function for rsync. What I am trying to do is backup specific directories and their corresponding data, while at the same time, excluding other directories. Specifically, I have a backup server with the follow setup: /backupstorage/D/...all the directories are here...there are roughly 18 directories. So what I was trying to do
2004 Mar 24
1
rsync --files-from with symlink in path
...R=/home/vmladmin/rolllists/ ROLLFILE=${ROLLLISTDIR}rollfile.${CELERITYID} EXCLUDEFILE=${ROLLLISTDIR}rollfile.exclude RSYNC_OPT="-zrc --delete" EXCLUDE="--exclude-from=${EXCLUDEFILE}" BACKUP="--backup-dir=/opt/staging/rollbackup/${CELERITYID}-`date +%Y%m%d%H%M`" rsyncfiles () { SERVER=${1} SRCDIR=${2} DESTDIR=${3} for FILES in `cat ${ROLLFILE} | sed 's~ $~~g' | tr " " "@"` do FNAME=`echo ${FILES} | ${SED} 's~@~\ ~g'` ${RSYNC} -e "${SSH}" -nv ${RSYNC_OPT} ${EXCLUDE} ${BAKCUP} "${SRCDIR}${FNAME}" ${U...
2009 Mar 19
2
Problem with exclude folders
...rs. My folder structure are: /products/ANYNAME/pictures/EU /products/ANYNAME/pictures/HK /products/ANYNAME/texts ... my include-from file: */ *.JPG *.jpg my exclude-from file: */HK/ */texts * my rsync command: rsync -rvz -W --force --size-only --delete --delete-excluded --include-from=/etc/rsyncfiles.txt --exclude-from=/etc/rsyncexcludes.txt -e 'ssh -C -p 1000' '/srv/fileserver/products/current product range' IP:/var/products Problem 1) all jpeg are copied to the external server - also the jpegs from HK folders. But I only want jpegs from the EU and other folders. Problem...