Odd behavior in an exclude-file

2008-12-19 Thread Roy F. Cabaniss
I decided the most secure way to deal with backup/firewall issues between my 
work and home was to encrypt a portable hard drive and make it my backup.  
Lug it back and forth and sync as appropriate.  So I wrote myself a little 
rsync script which grabs all the files I think of as taking work to recreate.  
Which is given as follows:

rsync -avl --stats --progress --timeout=300 --exclude-from 
"/home/foo/bin/exclude.txt" /home /mnt/sdc2 
rsync -avl --stats --progress --timeout=300 --exclude-from 
"/home/foo/bin/exclude.txt" /etc /mnt/sdc2/beast
rsync -avl --stats --progress --timeout=300 --exclude-from 
"/home/foo/bin/exclude.txt" /srv /mnt/sdc2/beast

Since there are, as with any backups, files I don't want to bother backing up 
I created an exclude file and stored it in my bin.


- /home/foo/vmware
- /home/foo/.kde/share/apps/kmail/mail/spam/*
- /home/foo/.kde/share/apps/kmail/mail/.spam.directory/*
- /home/foo/.mozilla/firefox/tigy4u04.default/Cache
- /home/foo/packages
- /home/foo/.cxgames
- /home/foo/.cxoffice
- /home/foo/.beagle
- /home/foo/downloads/images

With the rsync script in the /home/foo/bin I ran the script with myself as 
root in the root directory.  Which leads to the reason for this letter.  

The exclude file appears to have worked, with one exception.   I don't have 
the vmware directory, the link to packages was not followed, the crossover 
directories are not in the backup ect.   All very good and as hoped.  The 
exception is in the very last line.  The very last line of the exclude file 
is the directory that contains iso images I downloaded for whatever reason.  
Things like my latest image for my distro and such.  I did NOT want to back 
those up since in the event of catastrophe I would simply redownload them and 
the files are rather sizeable.  Much to my surprise, the images directory was 
in the backup along with its contents.  I can assure you that the path is as 
given.  

Is there any idea why I got that one directory in the backup?


-- 
Roy F. Cabaniss
http://www.housedraco.org
At least one attached file is my gpg signature.  
If you don't know how to open/use the file, don't worry about it.  
It is included for those who DO know and understand such things.


signature.asc
Description: This is a digitally signed message part.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: 24, file has vanished

2008-12-19 Thread Xavi Aranda

Hi Hendrik!

The file have gif extension and isn't a temporary file or deleted file

file has vanished: 
"/home/usuaris/connexiotebusuaris/G/GUAPI/gonzalo1/ANIMALES/C?pia de 
ani-bug.gif"


The name of the file contain accent, is fot that reason i've type 
--iconv=WINDOWS-1252,utf-8. I've try with --iconv=ISO-8859-1 and had the 
same error.


thanks!


En/na Hendrik Visage ha escrit:



On Fri, Dec 19, 2008 at 1:40 PM, Xavi Aranda 
mailto:xavier.ara...@ravalnet.org>> wrote:


Hi all!!

I copy files and directories from server with Windows 2000 Server
to server with Debian. The copy made with rsync, the instruction
is the next:

rsync -av --iconv=WINDOWS-1252,utf-8 directory from windows 2000
server directory from Debian


There are the error:

file has vanished

What happenned?


The file was there when rsync started and scanned the directory, but 
by the time rsync got to copy that file, the file was gone... 
typically a process that used a temporary file, or deleted files etc. 
while you are syncing that directory...
 




thanks






-- 
Xavi Aranda


Equip Tècnic – ASSOCIACIÓ PER A JOVES TEB
Carrer dels Salvador, 6 baixos
08001 - Barcelona
934425867 – xavier.ara...@ravalnet.org


-- 
Please use reply-all for most replies to avoid omitting the

mailing list.
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsync
Before posting, read:
http://www.catb.org/~esr/faqs/smart-questions.html





--
Hendrik Visage




--
Xavi Aranda

Equip Tècnic – ASSOCIACIÓ PER A JOVES TEB
Carrer dels Salvador, 6 baixos
08001 - Barcelona
934425867 – xavier.ara...@ravalnet.org

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: 24, file has vanished

2008-12-19 Thread Hendrik Visage
On Fri, Dec 19, 2008 at 1:40 PM, Xavi Aranda wrote:

> Hi all!!
>
> I copy files and directories from server with Windows 2000 Server to server
> with Debian. The copy made with rsync, the instruction is the next:
>
> rsync -av --iconv=WINDOWS-1252,utf-8 directory from windows 2000 server
> directory from Debian
>
>
> There are the error:
>
> file has vanished
>
> What happenned?


The file was there when rsync started and scanned the directory, but by the
time rsync got to copy that file, the file was gone... typically a process
that used a temporary file, or deleted files etc. while you are syncing that
directory...


>
>
> thanks
>
>
>
>
>
>
> --
> Xavi Aranda
>
> Equip Tècnic – ASSOCIACIÓ PER A JOVES TEB
> Carrer dels Salvador, 6 baixos
> 08001 - Barcelona
> 934425867 – xavier.ara...@ravalnet.org
>
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: 
> http://www.catb.org/~esr/faqs/smart-questions.html
>



-- 
Hendrik Visage
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

24, file has vanished

2008-12-19 Thread Xavi Aranda

Hi all!!

I copy files and directories from server with Windows 2000 Server to 
server with Debian. The copy made with rsync, the instruction is the next:


rsync -av --iconv=WINDOWS-1252,utf-8 directory from windows 2000 server 
directory from Debian


There are the error:

file has vanished

What happenned?

thanks






--
Xavi Aranda

Equip Tècnic – ASSOCIACIÓ PER A JOVES TEB
Carrer dels Salvador, 6 baixos
08001 - Barcelona
934425867 – xavier.ara...@ravalnet.org

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


file has vanished

2008-12-19 Thread Xavi Aranda

Hi all!!

I copy files and directories from server with Windows 2000 Server to 
server with Debian. The copy made with rsync, the instruction is the next:


rsync -av --iconv=WINDOWS-1252,utf-8 directory from windows 2000 server 
directory from Debian



There are the error:

file has vanished

What happenned?

thanks

--
Xavi Aranda

Equip Tècnic – ASSOCIACIÓ PER A JOVES TEB
Carrer dels Salvador, 6 baixos
08001 - Barcelona
934425867 – xavier.ara...@ravalnet.org

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html