Harry Putnam <reader < at > newsguy.com> writes:
What gets created at the destination can NOT be seen using the -t
flag:
/usr/bin/rsnapshot -c /etc/rsnapshot_News.conf -t hourly
/bin/cp -al /anex2/news/hourly.0/ /anex2/news/hourly.1/
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
--stats --exclude-from=/mnt/pack/rc/rsnapshot_News_exclude \
/anex2/reader/no_bak/News/agent/nntp/ /anex2/news/hourly.0/nntp/
touch /anex2/news/hourly.0/
However something seemingly crazy happens at the destination. Instead
of the expected /anex2/news/nntp/<news.servers.here>/ blah
I get:
ls /anex2/news/hourly.0/nntp/anex2/reader/no_bak/News/agent/nntp/<newsservers>
The whole SOURCE path is mirrored in there where it should not be.
And I can NOT spot why?
As Gilda Radner would say.... never mind. This was solved by a
carefull reading of the example *.conf and removing `--relative' from
the rsync long_args.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
