Set it up like this.
computer's config.pl:
$Conf{RsyncShareName} = ['MyDocuments', 'Desktop'];
C:\rsyncd\rsyncd.conf:
[MyDocuments]
path = C:/Documents and Settings/username-goes-here/my documents/
comment = stuff user wants backed up
strict modes = false
auth users = backuppc
secrets file = c:/rsyncd/rsyncd.secrets
hosts allow = ip.address.goes.here
read only = false
list = false
[Desktop]
path = C:/Documents and Settings/username-goes-here/Desktop/
comment = stuff user wants backed up
strict modes = false
auth users = backuppc
secrets file = c:/rsyncd/rsyncd.secrets
hosts allow = ip.address.goes.here
read only = false
list = false
If you want 2 directory's backed up.
You need 2 of these is youre rsyncd.conf.
And the config.pl needs to know what the are, thus telling them the two
statements.
Hope this helps.
Good luck
Rgds Edo
Matt Miller <[EMAIL PROTECTED]> wrote:
I am using the BackupPc packaged rsync to backup WindowsXP computers. I
want to backup 2 directories, "My Documents" and "Desktop". From what
I've read, the way to do this is create an rsync share of the user's
"Documents and Settings" folder and then set $Conf{RsyncBackupFilesOnly}
in the pc/host/config.pl file for the specific folders that you want to
back up.
What it's doing is backing up the whole "Documents and Settings" folder.
I'm stumped...
What's wrong?
I'm using version 2.1.1-2sarge2 of backuppc (debian stable) and
cygwin-rsyncd-2.6.8_0: Rsyncd for Cygwin downloaded from the BackupPc
Sourceforge site.
relevant part of C:\rsyncd\rsyncd.conf
[Documents&Settings]
path = C:/Documents and Settings/username-goes-here/
comment = stuff user wants backed up
strict modes = false
auth users = backuppc
secrets file = c:/rsyncd/rsyncd.secrets
hosts allow = ip.address.goes.here
read only = false
list = false
and the computer's config.pl
$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncdUserName} = 'backuppc';
$Conf{RsyncdPasswd} = '****';
$Conf{RsyncShareName} = 'Documents&Settings';
$Conf{RsyncBackupFilesOnly} = ['/My Documents', '/Desktop'];
--
- Matt Miller -
Solutions for Progress
728 South Broad Street
Philadelphia, PA 19146
215-701-6108 (v)
215-972-8109 (f)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com -------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/