|
From: | ABC DEF |
Subject: | Re: [rdiff-backup-users] Backup on Windows with exclude-globbing-filelist and spaces in path |
Date: | Tue, 18 Jan 2011 16:44:19 +0100 |
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 tried other variations, like S:\\/Temp\\/doc\\/testor S:\Temp\docwhich was suggested in Windows howto, but nothing works and it throws this:
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 Files\rdiff-backup\rdiff-backup.exe" --exclude-globbing-filelist "S:\Program Files\rdiff-backup\my_exclude.txt" --remote-schema "s:\Program Files\putty2\plink.exe -i privatekey.ppk %%s rdiff-backup --server" s:\Temp\doc address@hidden::/home/user/.rdiff-backup
File my_exclude.txt looks like this:
- s:/Temp/doc/test
Fatal Error: Fatal Error: The file specification
's:/Temp/doc/test'
cannot match any files in the base directory
's:\Temp\doc'
So my goal is to exclude "test" directory from S:\Temp\doc. 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
[Prev in Thread] | Current Thread | [Next in Thread] |