[rdiff-backup-users] Backup on Windows with exclude-globbing-filelist and spaces in path

2011-01-18 Thread ABC DEF
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 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 u...@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\\/test or
S:\Temp\docwhich 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:\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
___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Re: [rdiff-backup-users] Backup on Windows with exclude-globbing-filelist and spaces in path

2011-01-18 Thread Dominic Raferd
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 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 u...@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:\Temp\docwhich 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:\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



___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


Re: [rdiff-backup-users] Backup on Windows with exclude-globbing-filelist and spaces in path

2011-01-18 Thread ABC DEF
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 domi...@timedicer.co.uk

 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 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 u...@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:\Temp\docwhich 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:\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


___
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki