SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Re: Too crazy to understand - destinatio
Author Message
Post Re: Too crazy to understand - destinatio 
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

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB