Jonathan Dill wrote:
Hi folks,
Can anyone recommend some exclude patterns for rsyncd for backing up
Windows boxes to avoid "file in use" problems? Or at least suggest a
good approach to get as comprehensive as possible a backup of Windows
boxes with BackupPC. I want to try to have a setup that is as general
as possible so I don't have to customize it for every single machine.
using rsyncd.....
$Conf{BackupFilesExclude} = ['/Documents and Settings/*/Local Settings'];
There should be nothing in local settings you need (if outlook sticks
its pst file in there and you want to back it up, relocate it to my docs
for the user)
you could extend also ....
$Conf{BackupFilesExclude} = ['/Documents and Settings/*/Local Settings',
'/Documents and Settings/*/NTUSER*'];
no point trying to overwrite these files.
in my opinion if i had to restore the documents and settings dir, usualy
i would first have to setup the user, install programs like the rsync
client then i could restore. I really only want My Documents, Favorites,
Desktop and maybe Application Data.
So do a "selective" restore, when needed.
That works for me,
hope it helps you.
p.s.
my usual default config.pl has....
$Conf{RsyncShareName} = ['cdrive'];
$Conf{BackupFilesOnly} = ['/rsyncd', '/Documents and Settings'];
$Conf{BackupFilesExclude} = ['/Documents and Settings/*/Local Settings'];
my usual rsyncd.conf on the client has....
use chroot = false
max connections = 20
log file = c:/rsyncd/rsyncd.log
pid file = c:/rsyncd/rsyncd.pid
lock file = c:/rsyncd/rsyncd.lock
[cdrive]
path = c:/
comment = C Drive
strict modes = false
hosts allow = 192.168.0.1
read only = true
list = false
Regards,
Les
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/