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

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

Re: [rdiff-backup-users] Exclude file list expression...


From: Armando M. Baratti
Subject: Re: [rdiff-backup-users] Exclude file list expression...
Date: Fri, 04 Dec 2009 13:08:40 -0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Hello,

rdiff-backup include/exclude options are somewhat confusing (at least they seems so to me).
I don't delve with them for a long time, but I think it would work if you use  --include-globbing-filelist (it doesn't matters it's called "include" you can include or exclude with it) and change
/etc/bkp/servers/PROJETOS-C.exclude to something like this (see the "-"s on the beginning of the lines):

- /tmp/PROJETOS/C/Arquivos de Programas
- /tmp/PROJETOS/C/Documents and Settings

I think white spaces are not a problem here.

Just another thing, you're using --force just for the first time on an new (no rdiff-backup-data directory), right?

---
Armando M. Baratti

LARC
  /Pesquisa de Marketing Ltda
Alameda dos Maracatins, 161 - Indianópolis
CEP 04089-010 - São Paulo - SP
Tel.: (11) 5051-3133 - Fax: (11) 5052-5955
http://www.larc.com.br/


Mauricio Lavezzo Barbosa escreveu:
Armando,

    First, thank you for your attention!

  I'm trying to remove all "$" characters of my rdiff-backup command line and the exclude filelist, so now, I'm doing like this:

#Exclude file list with no "$"
~ # cp -v /etc/bkp/servers/PROJETOS-C\$.exclude /etc/bkp/servers/PROJETOS-C.exclude
`/etc/bkp/servers/PROJETOS-C$.exclude' -> `/etc/bkp/servers/PROJETOS-C.exclude'
# Content of exclude file list without "$":
~ # cat /etc/bkp/servers/PROJETOS-C.exclude
/tmp/PROJETOS/C/Arquivos de Programas
/tmp/PROJETOS/C/Documents and Settings
# And the comand line executed:
~ # rdiff-backup --verbosity 5 --force --print-statistics  --exclude-filelist /etc/bkp/servers/PROJETOS-C.exclude /tmp/PROJETOS/C/ /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/

# The output of the command
~ # rdiff-backup --verbosity 5 --force --print-statistics  --exclude-filelist /etc/bkp/servers/PROJETOS-C.exclude /tmp/PROJETOS/C/ /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/
Using rdiff-backup version 1.2.8
Found interrupted initial backup. Removing...
Unable to import module xattr.
Extended attributes not supported on filesystem at /tmp/PROJETOS/C
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /tmp/PROJETOS/C
Unable to import win32security module. Windows ACLs
not supported by filesystem at /tmp/PROJETOS/C
escape_dos_devices required by filesystem at /tmp/PROJETOS/C
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           On
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Unable to import module xattr.
Extended attributes not supported on filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import win32security module. Windows ACLs
not supported by filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
escape_dos_devices not required by filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Ownership changing                           On
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Symlink permissions                          Off
  Extended filenames                           On
  Windows reserved filenames                   Off
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Backup: must_escape_dos_devices = 1
Reading filelist /etc/bkp/servers/PROJETOS-C.exclude
Sorting filelist /etc/bkp/servers/PROJETOS-C.exclude
Starting mirror /tmp/PROJETOS/C to /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C
Processing changed file .
Processing changed file ACPO_TRIAL.INI
Processing changed file ARJ
Processing changed file ARJ/AGENTS.TXT
Processing changed file ARJ/ARJ.EXE
Processing changed file ARJ/ARJ.TXT
Processing changed file ARJ/ARJBACK.BAT
Processing changed file ARJ/ARJINCR.BAT
Processing changed file ARJ/ARJREST.BAT
Processing changed file ARJ/ARJSORT.BAT
Processing changed file ARJ/ARJSORT.COM
Processing changed file ARJ/ARJSORT.TXT
Processing changed file ARJ/ARJTEST.EXE
Processing changed file ARJ/ARJ_BBS.TXT
Processing changed file ARJ/BUILDSFX.BAT
Processing changed file ARJ/CREDIT.TXT
Processing changed file ARJ/DEARJ.EXE
Processing changed file ARJ/ERRORS.TXT
Processing changed file ARJ/FILE_ID.DIZ
Processing changed file ARJ/INTRO.TXT
Processing changed file ARJ/LICENSE.TXT
Processing changed file ARJ/ORDERFRM.TXT
Processing changed file ARJ/PUBKEY.TXT
Processing changed file ARJ/README.TXT
Processing changed file ARJ/REARJ.CFG
Processing changed file ARJ/REARJ.EXE
Processing changed file ARJ/REARJ.TXT
Processing changed file ARJ/REARJALL.BAT
Processing changed file ARJ/REGISTER.EXE
Processing changed file ARJ/REGISTER.TXT
Processing changed file ARJ/SFX.TXT
Processing changed file ARJ/SYSOP.TXT
Processing changed file ARJ/TECHNOTE.TXT
Processing changed file ARJ/TESTARJ.BAT
Processing changed file ARJ/UPD260.TXT
Processing changed file ARJ/UPDATE.TXT
Processing changed file ARJ/WHATSNEW.TXT
Processing changed file ARJ/WHY_ARJ.TXT
Processing changed file ARJ/YEAR2000.TXT
Processing changed file AUTOEXEC.BAT
Processing changed file Arquivos de programas
Processing changed file Arquivos de programas/7-Zip
Processing changed file Arquivos de programas/7-Zip/7-zip.chm
Processing changed file Arquivos de programas/7-Zip/7-zip.dll
Processing changed file Arquivos de programas/7-Zip/7z.exe
Processing changed file Arquivos de programas/7-Zip/7z.sfx
Processing changed file Arquivos de programas/7-Zip/7zCon.sfx
Processing changed file Arquivos de programas/7-Zip/7zFM.exe
Processing changed file Arquivos de programas/7-Zip/7zG.exe
Processing changed file Arquivos de programas/7-Zip/7zip_pad.xml
Processing changed file Arquivos de programas/7-Zip/Codecs
Processing changed file Arquivos de programas/7-Zip/Codecs/7zAES.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/AES.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/BZip2.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/Branch.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/Copy.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/Deflate.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/LZMA.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/PPMd.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/Rar29.dll
Processing changed file Arquivos de programas/7-Zip/Codecs/Swap.dll
Processing changed file Arquivos de programas/7-Zip/Formats
Processing changed file Arquivos de programas/7-Zip/Formats/7z.dll
Processing changed file Arquivos de programas/7-Zip/Formats/arj.dll
Processing changed file Arquivos de programas/7-Zip/Formats/bz2.dll
Processing changed file Arquivos de programas/7-Zip/Formats/cab.dll
Processing changed file Arquivos de programas/7-Zip/Formats/chm.dll
Processing changed file Arquivos de programas/7-Zip/Formats/cpio.dll
Processing changed file Arquivos de programas/7-Zip/Formats/deb.dll
Processing changed file Arquivos de programas/7-Zip/Formats/gz.dll
Processing changed file Arquivos de programas/7-Zip/Formats/iso.dll
Processing changed file Arquivos de programas/7-Zip/Formats/lzh.dll
Processing changed file Arquivos de programas/7-Zip/Formats/nsis.dll
Processing changed file Arquivos de programas/7-Zip/Formats/rar.dll
Processing changed file Arquivos de programas/7-Zip/Formats/rpm.dll
Processing changed file Arquivos de programas/7-Zip/Formats/split.dll
Processing changed file Arquivos de programas/7-Zip/Formats/tar.dll
Processing changed file Arquivos de programas/7-Zip/Formats/z.dll
Processing changed file Arquivos de programas/7-Zip/Formats/zip.dll
Processing changed file Arquivos de programas/7-Zip/History.txt
Processing changed file Arquivos de programas/7-Zip/Lang
Processing changed file Arquivos de programas/7-Zip/Lang/af.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ar.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ast.txt
Processing changed file Arquivos de programas/7-Zip/Lang/az.txt
Processing changed file Arquivos de programas/7-Zip/Lang/be.txt
Processing changed file Arquivos de programas/7-Zip/Lang/bg.txt
Processing changed file Arquivos de programas/7-Zip/Lang/br.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ca.txt
Processing changed file Arquivos de programas/7-Zip/Lang/cs.txt
Processing changed file Arquivos de programas/7-Zip/Lang/da.txt
Processing changed file Arquivos de programas/7-Zip/Lang/de.txt
Processing changed file Arquivos de programas/7-Zip/Lang/el.txt
Processing changed file Arquivos de programas/7-Zip/Lang/en.ttt
Processing changed file Arquivos de programas/7-Zip/Lang/eo.txt
Processing changed file Arquivos de programas/7-Zip/Lang/es.txt
Processing changed file Arquivos de programas/7-Zip/Lang/et.txt
Processing changed file Arquivos de programas/7-Zip/Lang/eu.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ext.txt
Processing changed file Arquivos de programas/7-Zip/Lang/fa.txt
Processing changed file Arquivos de programas/7-Zip/Lang/fi.txt
Processing changed file Arquivos de programas/7-Zip/Lang/fr.txt
Processing changed file Arquivos de programas/7-Zip/Lang/fur.txt
Processing changed file Arquivos de programas/7-Zip/Lang/fy.txt
Processing changed file Arquivos de programas/7-Zip/Lang/gl.txt
Processing changed file Arquivos de programas/7-Zip/Lang/he.txt
Processing changed file Arquivos de programas/7-Zip/Lang/hr.txt
Processing changed file Arquivos de programas/7-Zip/Lang/hu.txt
Processing changed file Arquivos de programas/7-Zip/Lang/id.txt
Processing changed file Arquivos de programas/7-Zip/Lang/io.txt
Processing changed file Arquivos de programas/7-Zip/Lang/it.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ja.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ka.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ko.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ku.txt
Processing changed file Arquivos de programas/7-Zip/Lang/lt.txt
Processing changed file Arquivos de programas/7-Zip/Lang/lv.txt
Processing changed file Arquivos de programas/7-Zip/Lang/mk.txt
Processing changed file Arquivos de programas/7-Zip/Lang/mn.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ms.txt
Processing changed file Arquivos de programas/7-Zip/Lang/nl.txt
Processing changed file Arquivos de programas/7-Zip/Lang/no.txt
Processing changed file Arquivos de programas/7-Zip/Lang/pl.txt
Processing changed file Arquivos de programas/7-Zip/Lang/pt-br.txt
Processing changed file Arquivos de programas/7-Zip/Lang/pt.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ro.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ru.txt
Processing changed file Arquivos de programas/7-Zip/Lang/sk.txt
Processing changed file Arquivos de programas/7-Zip/Lang/sl.txt
Processing changed file Arquivos de programas/7-Zip/Lang/sq.txt
Processing changed file Arquivos de programas/7-Zip/Lang/sr-spc.txt
Processing changed file Arquivos de programas/7-Zip/Lang/sr-spl.txt
Processing changed file Arquivos de programas/7-Zip/Lang/sr.txt
Processing changed file Arquivos de programas/7-Zip/Lang/sv.txt
Processing changed file Arquivos de programas/7-Zip/Lang/ta.txt
Processing changed file Arquivos de programas/7-Zip/Lang/th.txt
Processing changed file Arquivos de programas/7-Zip/Lang/tr.txt
Processing changed file Arquivos de programas/7-Zip/Lang/tt.txt
Processing changed file Arquivos de programas/7-Zip/Lang/uk.txt
Processing changed file Arquivos de programas/7-Zip/Lang/uz.txt
Processing changed file Arquivos de programas/7-Zip/Lang/va.txt
^CFatal Error: Killed with signal 2

    And, again I tried some variation of the exclude file with no success:

~ # cat /etc/bkp/servers/PROJETOS-C.exclude
/tmp/PROJETOS/C/Arquivos*de*Programas
/tmp/PROJETOS/C/Documents*and*Settings

~ # cat /etc/bkp/servers/PROJETOS-C.exclude
/tmp/PROJETOS/C/Arquivos?de?Programas
/tmp/PROJETOS/C/Documents?and?Settings

~ # cat /etc/bkp/servers/PROJETOS-C.exclude
-/tmp/PROJETOS/C/Arquivos?de?Programas
+/tmp/PROJETOS/C/Documents?and?Settings

    I tried another way with the "--exclude" parameter:

# Command line & output
~ # rdiff-backup --verbosity 5 --force --print-statistics  --exclude '/tmp/PROJETOS/C/Arquivos de Programas' --exclude '/tmp/PROJETOS/C/Documents and Settings' /tmp/PROJETOS/C/ /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/
Using rdiff-backup version 1.2.8
Found interrupted initial backup. Removing...
Unable to import module xattr.
Extended attributes not supported on filesystem at /tmp/PROJETOS/C
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /tmp/PROJETOS/C
Unable to import win32security module. Windows ACLs
not supported by filesystem at /tmp/PROJETOS/C
escape_dos_devices required by filesystem at /tmp/PROJETOS/C
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           On
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Unable to import module xattr.
Extended attributes not supported on filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import win32security module. Windows ACLs
not supported by filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
escape_dos_devices not required by filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Ownership changing                           On
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Symlink permissions                          Off
  Extended filenames                           On
  Windows reserved filenames                   Off
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Backup: must_escape_dos_devices = 1
Starting mirror /tmp/PROJETOS/C to /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C
Processing changed file .
Processing changed file Arquivos de programas
Processing changed file Arquivos de programas/Arquivos comuns
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/mdt2dd.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/mdt2df.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/mdt2dfx.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/mdt2fref.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/mdt2fw.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/mdt2g.dll
^CFatal Error: Killed with signal 2

# Command line & output
~ # rdiff-backup --verbosity 5 --force --print-statistics  --exclude "/tmp/PROJETOS/C/Arquivos de Programas" --exclude "/tmp/PROJETOS/C/Documents and Settings" /tmp/PROJETOS/C/ /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/
Using rdiff-backup version 1.2.8
Found interrupted initial backup. Removing...
Unable to import module xattr.
Extended attributes not supported on filesystem at /tmp/PROJETOS/C
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /tmp/PROJETOS/C
Unable to import win32security module. Windows ACLs
not supported by filesystem at /tmp/PROJETOS/C
escape_dos_devices required by filesystem at /tmp/PROJETOS/C
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           On
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Unable to import module xattr.
Extended attributes not supported on filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import win32security module. Windows ACLs
not supported by filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
escape_dos_devices not required by filesystem at /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Ownership changing                           On
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Symlink permissions                          Off
  Extended filenames                           On
  Windows reserved filenames                   Off
  Access control lists                         Off
  Extended attributes                          Off
  Windows access control lists                 Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Escape trailing spaces                       Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Backup: must_escape_dos_devices = 1
Starting mirror /tmp/PROJETOS/C to /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C
Processing changed file .
Processing changed file Arquivos de programas
Processing changed file Arquivos de programas/Arquivos comuns
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/Database Replication
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/Database Replication/rdiff-backup.tmp.33
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/Database Replication/replprov.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/Database Replication/replrec.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/Database Replication/replres.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/Database Replication/sqldistx.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/Database Replication/sqlmergx.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/Database Replication/wzcnflct.exe
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/Resources
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/Resources/1033
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/Resources/1033/mdt2fwui.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/Resources/1033/msdt70ui.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/mdt2db.dll
Processing changed file Arquivos de programas/Arquivos comuns/Microsoft Shared/MSDesigners98/mdt2dbns.dll
^CFatal Error: Killed with signal 2

Any ideas people?

Regards,
Mauricio L. Barbosa

Em 03-12-2009 12:35, Armando M. Baratti escreveu:
Hello Muricio,

Maybe it's something to do with the "$" character in the exclude list name or content.

Try to mount the CIFS share on another directory (e.g. /mnt/PROJETOS/ or /mnt/PROJETOS/C/),  set your exclude list accordingly and change the exclude list file to another name, e.g.
/etc/bkp/servers/PROJETOS-C (without "$").

Regards,
---
Signature Armando M. Baratti

LARC
  /Pesquisa de Marketing Ltda
Alameda dos Maracatins, 161 - Indianópolis
CEP 04089-010 - São Paulo - SP
Tel.: (11) 5051-3133 - Fax: (11) 5052-5955
http://www.larc.com.br/


Mauricio Lavezzo Barbosa escreveu:
Hello all!!

    I'm trying to backup (from a linux box) an Windows share over cifs protocol, and I want to exclude some folder. Let me explain my situation:

#Mount point
//192.168.0.2/C$ on /tmp/PROJETOS/C$ type cifs (ro,mand)


#Exclude file list
~ # cat /etc/bkp/servers/PROJETOS-C\$.exclude
/tmp/PROJETOS/C$/Arquivos de Programas
/tmp/PROJETOS/C$/Documents and Settings

#Rdiff command executed
rdiff-backup --verbosity 5 --force --print-statistics  --exclude-filelist /etc/bkp/servers/PROJETOS-C$.exclude /tmp/PROJETOS/C$/ /media/STORAGE/Backup/Assesso/RDIFF/PROJETOS/C$/

    And after that I can see that those directories in "/etc/bkp/servers/PROJETOS-C\$.exclude" are not being excluded, what I'm doing wrong? I tried some variations on the contents in the exclude filelist like:

~ # cat /etc/bkp/servers/PROJETOS-C\$.exclude
/tmp/PROJETOS/C*/Arquivos*de*Programas
/tmp/PROJETOS/C*/Documents*and*Settings
~ # cat /etc/bkp/servers/PROJETOS-C\$.exclude
/tmp/PROJETOS/C?/Arquivos?de?Programas
/tmp/PROJETOS/C?/Documents?and?Settings
~ # cat /etc/bkp/servers/PROJETOS-C\$.exclude
/tmp/PROJETOS/C?/Arquivos?de?Programas**
/tmp/PROJETOS/C?/Documents?and?Settings**
~ # cat /etc/bkp/servers/PROJETOS-C\$.exclude
/tmp/PROJETOS/C*/Arquivos*de*Programas**
/tmp/PROJETOS/C*/Documents*and*Settings**

Any ideas?

Thank you!!
Regards,
--
Assinatura


Mauricio L. Barbosa

Consultor
( + 55 11 4195-5535 R. 226


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


--
Assinatura


Mauricio L. Barbosa

Consultor
( + 55 11 4195-5535 R. 226


reply via email to

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