Re: [BackupPC-users] Windows Vista rsync
2008-08-29 10:10:23
Jean-Michel Beuken <jean-michel.beuken <at> uclouvain.be> writes:
>
>
> Hello,
> I want to share my little experiment with Vi$ta...
> Related with backup of Vista client with rsyncd, you must pay attention
> of the "junction points"
> (http://www.svrops.com/svrops/articles/jpoints.htm
> ) and
> the filesystem organisation of Vista
(http://mutable.net/blog/archive/2008/03/31/vistas-virtualized-folders.aspx
> ).
> the avoid the problem of loop with the junction point and then, the
> "path too long" in the name of the path,
> we add exclusions (partial list,it's a exemple, it depends of the path)
> in the rsyncd.conf :
> ------------------------------------------
> auth users = backuppc
> secrets file = /etc/rsyncd.secrets
> read only = true
> use chroot = false
> transfer logging = false
> log file = /var/log/rsyncd.log
> log format = %h %o %f %l %b
> hosts allow = 192.168.111.0/255.255.255.240
> hosts deny = 0.0.0.0/0
> strict modes = false
> [USER_2H0.002]
> path = /cygdrive/c/Users/
> auth users = backuppc
> secrets file = /etc/rsyncd.secrets
> exclude from = /cygdrive/c/cygwin/etc/exclude_user.txt
> ------------------------------------------
> and the "exclude_user.txt" file contains :
> ------------------------------------------
> - All Users
> - Default User
> - All Users/Application Data
> - All Users/Desktop
> - All Users/Documents
> - All Users/Favorites
> - All Users/Start Menu
> - All Users/Templates
> - Default/Application Data
> - Default/Cookies
> - Default/Local Settings
> - Default/My Documents
> - Default/NetHood
> - Default/PrintHood
> - Default/Recent
> - Default/SendTo
> - Default/Start Menu
> - Default/Templates
> - Default/AppData/Local/Application Data
> - Default/AppData/Local/History
> - Default/AppData/Local/Temporary Internet Files
> - Default/Documents/My Music
> - Default/Documents/My Pictures
> - Default/Documents/My Videos
> - Public/Documents/My Music
> - Public/Documents/My Pictures
> - Public/Documents/My Videos
> ...
> ------------------------------------------
> (this config works with backuppc 3.1.0 under Linux/CentOS 5.2 and the
> standard distribution of cygwin for the Vista machine)
> regards
> jmb
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users <at> lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
Hi All;
After messing with this I was finally able to get it working correctly. None
of the other solutions provided seemed to work until & added the "***" as per
the rsyncd man page which is the ultimate exclude. There does not appear to be
any missing files in the backup set that have been filtered with these client
side catch-all excludes. The BackupPC server rsync config still has the
original WinXP exclusions on top of these client side excludes.
rsyncd.conf on Vista client:
[Users]
path = c:/Users
exclude from = c:/rsyncd/excludes.txt
comment = Home Directories
auth users = backuppc
secrets file = c:/Users/username/rsyncd.secrets
hosts allow = 192.168.0.250
hosts deny = 0.0.0.0/0
strict modes = false
read only = true
list = false
excludes.txt content:
- All Users***
- Default User***
- Default***
- Administrator***
- Public***
- AppData***
- Application Data***
- Cookies***
- Local Settings***
- NetHood***
- PrintHood***
- Recent***
- SendTo***
- Start Menu***
- Templates***
- My Documents***
- My Music***
- My Pictures***
- My Videos***
Server: backuppc 3.1.0 on ubuntu 8.04.1 lts
Clients: Vista Ent 32bit cygwin-rsync client
Allen...
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|