rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Backup on Windows with exclude-globbing-filelis


From: Dominic Raferd
Subject: Re: [rdiff-backup-users] Backup on Windows with exclude-globbing-filelist and spaces in path
Date: Tue, 18 Jan 2011 14:28:03 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

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 address@hidden::/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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]