SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
PLZ Help
Author Message
Post PLZ Help 
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',
------------------------------------------------------------------

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

----------------------------------------------------------------------------

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

can somebody help me plz??

greetz

Mark Berntheisel
Fachinformatiker (Systemintegration)

ByteAction GmbH
Auf der Beune 83-85
64839 Münster
HRB 33271

Email: mb < at > byteaction.de
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 < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post PLZ Help 

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',
------------------------------------------------------------------


You're missing brackets..

$Conf{RsyncShareName} = [ 'backup', 'backup1', 'backup2', 'backup3', .. ];




-------------------------------------------------------
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 < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post PLZ Help 
Hi Mark,

I think you need square brackets around the variable when there are =
multiple
shares. =20

E.G.
------------------------------------------------------------------
$Conf{RsyncShareName} =3D ['backup', 'backup1', 'backup2', 'backup3',]
------------------------------------------------------------------

Leon

"Wise men talk because they have something to say.
Fools talk because they have to say something." -- Plato=20

-----Original Message-----
From: Mark Berntheisel [mailto:mb < at > byteaction.de]=20
Sent: Tuesday, June 29, 2004 3:15 AM
To: backuppc-users < at > lists.sourceforge.net
Subject: [BackupPC-users] PLZ Help


Hey please help me! How can i backup more than one path with rsyncd? i =
edit
the config.pl on the backuppc server.=20

config.pl changes on backuppcserver
------------------------------------------------------------------
$Conf{RsyncShareName} =3D 'backup', 'backup1', 'backup2', 'backup3',
------------------------------------------------------------------

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 =
bytes.
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 =
bytes.
timeout =3D 600
refuse options =3D checksum, dry-run
dont compress =3D *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 =
*.tbz

------------------------------------------------------------------------=
----

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=20

can somebody help me plz??

greetz=20

Mark Berntheisel
Fachinformatiker (Systemintegration)

ByteAction GmbH
Auf der Beune 83-85
64839 M=FCnster
HRB 33271

Email: mb < at > byteaction.de
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 < at > lists.sourceforge.net
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
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

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