Re: [BackupPC-users] rsync, Windows and multiple directories

2006-12-16 Thread Les Stott
Matt Miller 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

 [DocumentsSettings]
 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} = 'DocumentsSettings';
 $Conf{RsyncBackupFilesOnly} = ['/My Documents', '/Desktop'];
   

Your variable is defined wrongly.

it should be

$Conf{BackupFilesOnly} = ['/My Documents', '/Desktop'];


Two other things..

1. you may not need the leading slash either.
2. Try not to use  or other special characters in share names. You 
may run into trouble in future.

p.s.

you can also do this.it will help to keep your setups generic and 
easy to manage.

[DocumentsSettings]
path = C:/Documents and Settings
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} = 'DocumentsSettings';
$Conf{BackupFilesOnly} = ['*/My Documents', '*/Desktop'];

That way you get all pc users on each pc and you only need one config file.

Hope that helps,

Regards,

Les


-
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.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] rsync, Windows and multiple directories

2006-12-15 Thread Matt Miller
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

[DocumentsSettings]
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} = 'DocumentsSettings';
$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.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsync, Windows and multiple directories

2006-12-15 Thread scartomail
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

[DocumentsSettings]
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} = 'DocumentsSettings';
$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.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
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.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/