From: Ralph <ra...@de...> - 2004-06-30 00:09:09
|
oh sorry, wrong list *doh* Am Dienstag, 29. Juni 2004 20:27 schrieb Ralph Pa=DFgang: > 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} =3D 'backup', 'backup1', 'backup2', 'backup3', > > ------------------------------------------------------------------ > > the syntax is wrong... try this: > $Conf{RsyncShareName} =3D ['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 =3D public archive > > path =3D /home/ftp/mnt/kernel > > use chroot =3D yes > > # max connections=3D10 > > lock file =3D /var/lock/rsyncd > > read only =3D no > > list =3D yes > > uid =3D nobody > > gid =3D nogroup > > # exclude =3D #specify any file in path not to be accessed > > # exclude from =3D > > # include =3D > > # include from =3D > > auth users =3D backuppc > > secrets file =3D /etc/rsyncd.secrets > > strict modes =3D yes > > hosts allow =3D obc,192.168.100.160 > > # hosts deny =3D > > ignore errors =3D no > > ignore nonreadable =3D yes > > transfer logging =3D no > > # log format =3D %t: host %h (%a) %o %f (%l bytes). Total %b byte= s. > > timeout =3D 600 > > refuse options =3D checksum, dry-run > > dont compress =3D *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 > > *.tbz > > > > > > [backup1] > > comment =3D /home/trede > > path =3D /home/trede > > use chroot =3D yes > > # max connections=3D10 > > lock file =3D /var/lock/rsyncd1 > > read only =3D no > > list =3D yes > > uid =3D nobody > > gid =3D nogroup > > # exclude =3D #specify any file in path not to be accessed > > # exclude from =3D > > # include =3D > > # include from =3D > > auth users =3D backuppc > > secrets file =3D /etc/rsyncd.secrets > > strict modes =3D yes > > hosts allow =3D obc,192.168.100.160 > > # hosts deny =3D > > ignore errors =3D no > > ignore nonreadable =3D yes > > transfer logging =3D no > > # log format =3D %t: host %h (%a) %o %f (%l bytes). Total %b byte= s. > > timeout =3D 600 > > refuse options =3D checksum, dry-run > > dont compress =3D *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 > > *.tbz > > > > -----------------------------------------------------------------------= =2D- > >-- > > 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 =3D yes # important! > max connections=3D1 # why more than one? > read only =3D yes # only set to "no" if really needed > uid =3D root # needs to be root, otherwise not all files are > readable gid =3D users # or wheel or something like that > hosts allow =3D obc,192.168.100.160 > hosts deny =3D 0/0 # otherwise it rejects nothing. > transfer logging =3D no # set to yes for a detailed loging > log format =3D %t: host %h (%a) %o %f (%l bytes). Total %b bytes. > > [backup] > comment =3D public archive > path =3D /home/ftp/mnt/kernel > exclude =3D # define something if needed > auth users =3D backuppc > secrets file =3D /etc/rsyncd.secrets > transfer logging =3D no > > [backup2] > ... > > you can define global config options, so you don't have to repeat all the= se > 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=FCnster > > HRB 33271 > > > > Email: mb...@by... > > 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 > > Bac...@li... > > 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 > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openvpn-users |