Re: Include / exclude patterns

2002-11-28 Thread Max Bowsher
Carlos Molina <[EMAIL PROTECTED]> wrote: > Nope, isn't works, because rsync only fetchs /etc directory. > On the output, you could see that /home nad /var is excluded (I > suppose that is excluded by /* pattern) Blah. Your right. This will work: + /etc + /home + /home/cmolina - /home/* + /var +

Re: Include / exclude patterns

2002-11-28 Thread Max Bowsher
Carlos Molina <[EMAIL PROTECTED]> wrote: > + /etc > + /home/cmolina > + /var/log > - - /* Huh? "- -" ? Mistake again? > rsync isn't include directories under /home and /var, because it > exclude recursively on /* Well sure, but it would have included dirs under /home/cmolina and /var/log. The

Include / exclude patterns.

2002-11-28 Thread Carlos Molina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 |Carlos Molina <[EMAIL PROTECTED]> wrote: | |>-BEGIN PGP SIGNED MESSAGE- |>Hash: SHA1 |> |>Greetings. |> |>I'm trying to make some backups using rsync, but I have some questions |>about it. |> |>First, on the receiving side, i make a test with

Re: rsync as a bakcup tool and the case of rotated logs

2002-11-28 Thread Craig Barratt
hoice is to rename the syslog files with a date, and don't repeatedly rename them, eg: syslog.MMDD.gz (eg: syslog.20021128.gz). Pruning old ones isn't too hard: simply reverse sort the names and remove everything after the first 213. It also makes it easier to find a particular log

Re: Include / exclude patterns

2002-11-28 Thread Max Bowsher
Carlos Molina <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Greetings. > > I'm trying to make some backups using rsync, but I have some questions > about it. > > First, on the receiving side, i make a test with this line. > > rsync -vv -e ssh --recursive --includ

Include / exclude patterns

2002-11-28 Thread Carlos Molina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings. I'm trying to make some backups using rsync, but I have some questions about it. First, on the receiving side, i make a test with this line. rsync -vv -e ssh --recursive --include-from=include.txt cmolina@www-01:/ /tmp/cmolina On incl

rsync as a bakcup tool and the case of rotated logs

2002-11-28 Thread Louis-David Mitterrand
Hello, I use rsync (among many other things) as an incremental backup tool. Every night I save /{home,etc,var} from several servers. On one of them we keep 52 weeks of system logs, so each time syslog is rotated all old syslog.x.gz (where x is between 1 and 213) change names. This impacts our bac

List of rsync service hosts?

2002-11-28 Thread Michael Schmidt
Hello, somewhere on one of the rsync webpages I have seen a list of hosts which have running public rsync services, at least I think it has been on the rsync webpages, but I can't find it there anymore. Or is it anywhere else? Where can this list of rsync hosts be placed? I appreciate your