logo       

Re: Re: [BackupPC-users] PLZ Help: msg#00523

network.openvpn.user

Subject: Re: Re: [BackupPC-users] PLZ Help

oh sorry, wrong list *doh*

Am Dienstag, 29. Juni 2004 20:27 schrieb Ralph Paßgang:
> Am Dienstag, 29. Juni 2004 09:14 schrieb Mark Berntheisel:
> > Hey please help me! How can i backup more than one path with rsyncd? i
> > edit the config.pl on the backuppc server.
> >
> > config.pl changes on backuppcserver
> > ------------------------------------------------------------------
> > $Conf{RsyncShareName} = 'backup', 'backup1', 'backup2', 'backup3',
> > ------------------------------------------------------------------
>
> the syntax is wrong... try this:
> $Conf{RsyncShareName} = ['backup','backup1','backup2','backup3'];
>
> you left the "[ ... ]" out and als the ";" at the end.
>
> > on the client i edit the rsyncd.conf to add another paths to backup
> >
> > rsyncd.conf on client
> > -------------------------------------------------------------------
> > # MODULE OPTIONS
> >
> > [backup]
> >
> > comment = public archive
> > path = /home/ftp/mnt/kernel
> > use chroot = yes
> > # max connections=10
> > lock file = /var/lock/rsyncd
> > read only = no
> > list = yes
> > uid = nobody
> > gid = nogroup
> > # exclude = #specify any file in path not to be accessed
> > # exclude from =
> > # include =
> > # include from =
> > auth users = backuppc
> > secrets file = /etc/rsyncd.secrets
> > strict modes = yes
> > hosts allow = obc,192.168.100.160
> > # hosts deny =
> > ignore errors = no
> > ignore nonreadable = yes
> > transfer logging = no
> > # log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes.
> > timeout = 600
> > refuse options = checksum, dry-run
> > dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2
> > *.tbz
> >
> >
> > [backup1]
> > comment = /home/trede
> > path = /home/trede
> > use chroot = yes
> > # max connections=10
> > lock file = /var/lock/rsyncd1
> > read only = no
> > list = yes
> > uid = nobody
> > gid = nogroup
> > # exclude = #specify any file in path not to be accessed
> > # exclude from =
> > # include =
> > # include from =
> > auth users = backuppc
> > secrets file = /etc/rsyncd.secrets
> > strict modes = yes
> > hosts allow = obc,192.168.100.160
> > # hosts deny =
> > ignore errors = no
> > ignore nonreadable = yes
> > transfer logging = no
> > # log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes.
> > timeout = 600
> > refuse options = checksum, dry-run
> > dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2
> > *.tbz
> >
> > -------------------------------------------------------------------------
> >--
>
> hmmm... shoud be okay in general, but I would make it without the need of
> repeating everything all the time .)
>
> I use something like that:
>
> use chroot = yes # important!
> max connections=1 # why more than one?
> read only = yes # only set to "no" if really needed
> uid = root # needs to be root, otherwise not all files are
> readable gid = users # or wheel or something like that
> hosts allow = obc,192.168.100.160
> hosts deny = 0/0 # otherwise it rejects nothing.
> transfer logging = no # set to yes for a detailed loging
> log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes.
>
> [backup]
> comment = public archive
> path = /home/ftp/mnt/kernel
> exclude = # define something if needed
> auth users = backuppc
> secrets file = /etc/rsyncd.secrets
> transfer logging = no
>
> [backup2]
> ...
>
> you can define global config options, so you don't have to repeat all these
> lines again and again...
>
> > if i start a backupjob on the backuppcserver only the first modul
> > (backup) will be backuped (/home/ftp/mnt/kernel) the second modul
> > (backup1) will be noch backuped! why
>
> because of the wrong statement in your backuppc config file. the
> rsyncd.conf is more or less just a hint :)
>
> --Ralph
>
> > can somebody help me plz??
> >
> > greetz
> >
> > Mark Berntheisel
> > Fachinformatiker (Systemintegration)
> >
> > ByteAction GmbH
> > Auf der Beune 83-85
> > 64839 Münster
> > HRB 33271
> >
> > Email: mb@xxxxxxxxxxxxx
> > URL : www.byteaction.de
> > Tel. : 06071-9216-0 (Mo.-Fr. 9-18 Uhr)
> > 0700-BYTEACTION (24x7)
> > 0700-29832284 (24x7)
> > Fax : 06071-9216-20
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by Black Hat Briefings & Training.
> > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> > digital self defense, top technical experts, no vendor pitches,
> > unmatched networking opportunities. Visit www.blackhat.com
> > _______________________________________________
> > BackupPC-users mailing list
> > BackupPC-users@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > http://backuppc.sourceforge.net/
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise