search for: rsyncfil

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

Did you mean: rsyncfile
2003 Jun 27
2
Using include/exclude options
...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 was create a file that I can point to specify what directories I want backed up. Here is what I was attempting: rsync -avn --include-file=/home/rsyncfile /backupstorage/D/ /home/rsyncbak It is a dry run of course. However, it still wants to backup everything in the /backupstorage/D/. Here is a quick snip of what is in my rsyncfile: /backupstorage/D/1999 TaxReturns/ /backupstorage/D/Appraisals/ /backupstorage/D/CLOSED00/ /backupstorage/D/CLOSED0...
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}" $...
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. Probl...