[Csync2] Problem with csync2 for a single file/directory
Sean Fulton
sean at gcnpublishing.com
Mon Feb 25 17:42:59 CET 2013
I think there is a problem with csync2 or at least with my reading of it.
It apperas that running:
cscyn2 -u file
Would UPDATE that file on the remote hosts. But it doesn't. I get this
(csync2 -uvv /exports/test/logfile):
csync2 -uvv /exports/test/logfile
My hostname is chicago-nfs1.
Database-File: /var/lib/csync2/chicago-nfs1.db
Config-File: /etc/csync2/csync2.cfg
Match (+): /exports on /exports/test/logfile
SQL: SELECT peername FROM dirty GROUP BY peername ORDER BY random()
SQL Query finished.
SQL: SELECT filename, myname, force FROM dirty WHERE peername =
'boston-nfs2' ORDER by filename ASC
SQL Query finished.
SQL: SELECT filename, myname, force FROM dirty WHERE peername =
'boston-nfs1' ORDER by filename ASC
SQL Query finished.
SQL: SELECT filename, myname, force FROM dirty WHERE peername =
'chicago-nfs2' ORDER by filename ASC
SQL Query finished.
SQL: SELECT command, logfile FROM action GROUP BY command, logfile
SQL Query finished.
Finished with 0 errors.
How do you update a single file (other than csync2 -x)??
sean
--
Sean Fulton
GCN Publishing, Inc.
Internet Design, Development and Consulting For Today's Media Companies
http://www.gcnpublishing.com
(203) 665-6211, x203
More information about the Csync2
mailing list