search for: rsync_dir

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

Did you mean: sync_dir
2009 Oct 03
1
Filter file: selected directories only
Hi! I'm trying to create a filter file for rsync what saying which dirs to copy. For example i need only /lib and /var/lib dirs from remote server. I say: rsync -f ". /tmp/rsync_dirs" --dry-run --verbose "remote:/" "/local_dir/". File /tmp/rsync_dirs looks like: + /lib/ + /var/ -! /var/lib/* - /* This doesnt work: it copies all /var/ dir except contents of /var/lib/. What's wrong?
2003 Dec 04
0
rsync exclude file template - directory name without directory contents
...from LAN clients but any model should work. To test, add '-n -vv' to your rsync command and grep for exclude and include statements. Feedback: rsync at nsr500 dot net. Remote client example: rsync -nvva --stats --delete --exclude-from=<file> -e ssh \ <client>:/ /<rsync_dir>/<client>/ | egrep '^excl|^incl' The following rsync exclude file works on my RH 7.3 (2.4.23) and RH 6.2 (2.2.25) based systems for rsync 2.5.4. You may have to edit for other distributions, especially non-linux or non-standard file system layouts. --- rsync exclude file start -...
2004 Feb 04
2
excludes
Hi i tried to use rsync to backup my remote server.I want to exclude folder like /var /proc ... .I use --exlude-from=/etc/rsync/excludes the file looks like this: - */var/* - */proc/* etc. My problem is that i run vservers on this machine and i don't want that the folder like /proc in this vservers are backuped how can i exclude all paths wich contain such foldernames? Please help me