duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Does duplicity include dotfiles by default?


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Does duplicity include dotfiles by default?
Date: Sat, 10 Oct 2009 09:19:22 -0500
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

A semantic correction ... a symlink is just a directory entry, not a
file.  There are no file contents per se.

...Ken

Kenneth Loafman wrote:
> It allows, and stores, symlinks.  It just does not follow them.  A
> symlink is just a file.  It's not even necessary that a symlink contain
> a pointer to another file, it could be a timestamp or other information,
> like this:
> 
> address@hidden:~$ ln -s "`date -Ru`" foo
> address@hidden:~$ ll foo
> lrwxrwxrwx 1 ken ken 31 2009-10-10 07:12 foo -> Sat, 10 Oct 2009
> 12:12:02 +0000
> 
> ...Ken
> 
> Benjamin Dell wrote:
>> Ah i see, so duplicity literally doesnt allow symlinks, even if
>> specifically listed
>>
>>
>> *Benjamin Dell*
>> Director
>> ------------------------------------------
>> *Raw Jam Ltd*
>> t: +441344 667 323
>> m: +447515 854 203
>> w: www.rawjam.co.uk <http://www.rawjam.co.uk/>
>> ------------------------------------------
>>
>> On 10 Oct 2009, at 12:39, Kenneth Loafman wrote:
>>
>>> Include the target of the symlink, not the symlink itself, and yes it
>>> will include all dot files and folders.
>>>
>>> ...Ken
>>>
>>> Benjamin Dell wrote:
>>>> Ahhh ok, that would make sense. So presumably if i just include the
>>>> symlink (in this case the root of my mail director) it will then
>>>> recursively backup ALL files in that folder AND include all hidden / dot
>>>> files and folders?
>>>>
>>>>
>>>> *Benjamin Dell*
>>>> Director
>>>> ------------------------------------------
>>>> *Raw Jam Ltd*
>>>> t: +441344 667 323
>>>> m: +447515 854 203
>>>> w: www.rawjam.co.uk <http://www.rawjam.co.uk> <http://www.rawjam.co.uk/>
>>>> ------------------------------------------
>>>>
>>>> On 10 Oct 2009, at 12:26, Kenneth Loafman wrote:
>>>>
>>>>> Sorry, not enough coffee yet this morning... I misread your question.
>>>>>
>>>>> Duplicity does include the symlinks, but does not follow them.
>>>>> Following a symlink is a dangerous activity for any backup since
>>>>> symlinks can produce recursive cycles.  If you want to include the
>>>>> symlinked contents, that will need to be specified individually.
>>>>>
>>>>> ...Ken
>>>>>
>>>>> Benjamin Dell wrote:
>>>>>> That's good to know, is there a chance my script is excluding them?
>>>>>> because my backup archive file doesnt seem to be anywhere near the size
>>>>>> i would expect it to be.
>>>>>>
>>>>>>
>>>>>> *Benjamin Dell*
>>>>>> Director
>>>>>> ------------------------------------------
>>>>>> *Raw Jam Ltd*
>>>>>> t: +441344 667 323
>>>>>> m: +447515 854 203
>>>>>> w: www.rawjam.co.uk <http://www.rawjam.co.uk>
>>>>>> <http://www.rawjam.co.uk> <http://www.rawjam.co.uk/>
>>>>>> ------------------------------------------
>>>>>>
>>>>>> On 10 Oct 2009, at 11:20, Kenneth Loafman wrote:
>>>>>>
>>>>>>> Yes, it does include all dotfiles and symlinks.
>>>>>>>
>>>>>>> ...Ken
>>>>>>>
>>>>>>> Benjamin Dell wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I have a very simple include list of two directories, as follows:
>>>>>>>>
>>>>>>>> INCLIST=( "/home/ben/backups" \
>>>>>>>>        "/home/ben/sites" \
>>>>>>>>      )
>>>>>>>>
>>>>>>>> Can anyone tell me whether this will, by default, include all sub
>>>>>>>> directories AND include all dotfiles? Reason I ask, is that in the
>>>>>>>> backups folder above I include a symlink to the root maildir,
>>>>>>>> which is
>>>>>>>> built upon a number of dot based directories. I need to make sure
>>>>>>>> that
>>>>>>>> it is include all dot files and directories by default, but I
>>>>>>>> have not
>>>>>>>> been able to confirm this by reading through the documentation.
>>>>>>>>
>>>>>>>> Can anyone give me a definitive answer, or what needs to be done to
>>>>>>>> achieve this?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> Ben
>>>>>>>>
>>>>>>>>
>>>>>>>> *Benjamin Dell*
>>>>>>>> Director
>>>>>>>> ------------------------------------------
>>>>>>>> *Raw Jam Ltd*
>>>>>>>> t: +441344 667 323
>>>>>>>> m: +447515 854 203
>>>>>>>> w: www.rawjam.co.uk <http://www.rawjam.co.uk>
>>>>>>>> <http://www.rawjam.co.uk>
>>>>>>>> <http://www.rawjam.co.uk> <http://www.rawjam.co.uk/>
>>>>>>>> ------------------------------------------
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> This message has been scanned for viruses and
>>>>>>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>,
>>>>>>>> and is
>>>>>>>> believed to be clean.
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Duplicity-talk mailing list
>>>>>>>> address@hidden <mailto:address@hidden>
>>>>>>>> <mailto:address@hidden>
>>>>>>>> <mailto:address@hidden>
>>>>>>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Duplicity-talk mailing list
>>>>>>> address@hidden <mailto:address@hidden>
>>>>>>> <mailto:address@hidden>
>>>>>>> <mailto:address@hidden>
>>>>>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>>>>
>>>>>> -- 
>>>>>> This message has been scanned for viruses and
>>>>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>,
>>>>>> and is
>>>>>> believed to be clean.
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> _______________________________________________
>>>>>> Duplicity-talk mailing list
>>>>>> address@hidden <mailto:address@hidden>
>>>>>> <mailto:address@hidden>
>>>>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>>>
>>>>> _______________________________________________
>>>>> Duplicity-talk mailing list
>>>>> address@hidden <mailto:address@hidden>
>>>>> <mailto:address@hidden>
>>>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>>
>>>> -- 
>>>> This message has been scanned for viruses and
>>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
>>>> believed to be clean.
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Duplicity-talk mailing list
>>>> address@hidden <mailto:address@hidden>
>>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>
>>> _______________________________________________
>>> Duplicity-talk mailing list
>>> address@hidden <mailto:address@hidden>
>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
>> believed to be clean.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Duplicity-talk mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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