Re: [Csync2] Using variables in configuration file

2015-07-15 Thread Lars Ellenberg
On Tue, Jul 14, 2015 at 10:29:08AM -0700, David Winslow wrote: > Is it possible to use variables in the csync2 configuration file. > > I want to synchronize files in a user’s home directory. > > Example configuration below. I want to run this as root so as to not have a > configuration/db for

Re: [Csync2] too big of a file

2015-07-15 Thread Lars Ellenberg
On Tue, Jul 14, 2015 at 08:47:38PM -0700, Marc Fournier wrote: > > Am working on using csync2 to backup remote servers to a central server … am > using csync2 mainly because of the efficient way that it uses a local > database to minimize the network traffic, as well as load on the ‘backup file

Re: [Csync2] too big of a file

2015-07-15 Thread Marc Fournier
Anyone have any experience / luck building it on FreeBSD 10.x? == gmake all-am gmake[1]: Entering directory '/usr/local/src/csync2-2.0' cc -DHAVE_CONFIG_H -I. -D'DBDIR="/usr/local/var/lib/csync2"' -D'ETCDIR="/usr/local/etc"' -I/usr/local/include -I/usr/local/include/p11-kit-1 -Wall -I/usr

Re: [Csync2] too big of a file

2015-07-15 Thread Marc Fournier
looking into this a bit more, FreeBSD already has a strlcpy() function in libc: == NAME strlcpy, strlcat -- size-bounded string copying and concatenation LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include size_t strlcpy(char * restrict dst, const char * restrict

[Csync2] Building 2.0 on FreeBSD 10.x (-ldl)

2015-07-15 Thread Marc Fournier
FreeBSD includes this as part of libc, there is no seperate libdl: gmake all-am gmake[1]: Entering directory '/usr/local/src/csync2-2.0' cc -I/usr/local/include -I/usr/local/include/p11-kit-1 -Wall -I/usr/local/include -L/usr/local/lib -lgnutls-L/usr/local/lib -o csync2 action.o cfgfile