Hi,
removing dash prefix and adding ignorecase helped to solve my problem. Just for anyone who might have this problem, this is what the entry in exclude filelist looks like now:
ignorecase:S:/Temp/doc/test
Thanks a lot!
GroundZero
2011/1/18 Dominic Raferd <dominic < at > timedicer.co.uk ([email]dominic < at > timedicer.co.uk[/email])>
I think for exclude-globbing-filelist you don't need that dash prefix. Here is an extract from mine, which works under Windows:
ignorecase:**/printhood/**
ignorecase:**settings/temp**
ignorecase:**NTUser.dat**
ignorecase:**Deleted Items.dbx**
ignorecase:**Old.dbx**
ignorecase:**/Kiesoft/**
ignorecase:**.ldb**
ignorecase:**Tecom Bluetooth Dongle Application setup guide.pdf**
ignorecase:**/Temp/**
ignorecase:**/Temporary Internet Files/**
ignorecase:**{CE77444D-FC14-4BDA-991A-BDE3A17E85D1}**
ignorecase:**Trash**
So:
- remove the prefixed dash
- you are right to use unescaped forward slashes
- try using ignorecase: as a prefix and see if this helps
- no problem to exclude files or folders with spaces in the names
Dominic
http://www.timedicer.co.uk
[With TimeDicer you provide an excludelist in Windows format and it *nixifies it 'under the hood' to work with rdiff-backup.]
On 18/01/2011 13:38, ABC DEF wrote:
Hello,
I've been trying to make a backup with rdiff-backup from Windows Vista to a remote Linux box via ssh.
I'm trying to achieve something like this:
"S:Program Filesrdiff-backuprdiff-backup.exe" --exclude-globbing-filelist "S:Program Filesrdiff-backupmy_exclude.txt" --remote-schema "s:Program Filesputty2plink.exe -i privatekey.ppk %%s rdiff-backup --server" s:Tempdoc user < at > example.com::/home/user/.rdiff-backup
File my_exclude.txt looks like this:
- s:/Temp/doc/test
I've tried other variations, like S:\/Temp\/doc\/testor S:Tempdocwhich was suggested in Windows howto, but nothing works and it throws this:
Fatal Error: Fatal Error: The file specification
's:/Temp/doc/test'
cannot match any files in the base directory
's:Tempdoc'
So my goal is to exclude "test" directory from S:Tempdoc. I am planning on backuping my Documents after I success with this, so I would also like to exclude some directories with spaces in their name (like "My Games").
Is it possible to do this with rdiff-backup on Windows?
Thanks and regards,
GroundZero
