duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] --skip-same-content: Option to skip files whose con


From: Elifarley Callado Coelho Cruz
Subject: Re: [Duplicity-talk] --skip-same-content: Option to skip files whose content hasn't changed
Date: Fri, 25 Nov 2011 12:15:16 -0200

I've registered a blueprint for this at
https://blueprints.launchpad.net/duplicity/+spec/skip-same-content

On Fri, Nov 25, 2011 at 12:04, Elifarley Callado Coelho Cruz
<address@hidden> wrote:
> Hi Nate,
>
> The point of having a switch like '--skip-same-content' is to suppress
> the recording of changed mtimes when the file content hasn't changed.
> In some situations, it's not really important to track changes to
> mtimes, so why keep recording them?
>
> This will also help with the problem described at
> https://bugs.launchpad.net/duplicity/+bug/768481 (Don't write new
> incremental set if nothing changed).
>
> Here's an excerpt:
>
> ---
> For example, a few days ago I needed to restore three small files from
> a small backup set that hadn't changed in years. But to do so,
> Duplicity had to download probably over a hundred incremental sets in
> which nothing changed. This took a LONG time! It's especially slow
> since, judging from Duplicity's verbose output, it downloads one file
> at a time--the latency between commands adds up quickly (I'm ignorant
> about SFTP: is there no way to request more than one file at a time?).
> Restoring less than 20 KB of data took over 10 minutes because of all
> the empty incremental sets that had to be downloaded.
> ---
>
> - Elifarley
>
> ---
>
> Re: [Duplicity-talk] --skip-same-content: Option to skip files whose con
>
> From:    Nate Eldredge
> Subject:         Re: [Duplicity-talk] --skip-same-content: Option to skip
> files whose content hasn't changed
> Date:    Thu, 24 Nov 2011 16:46:10 -0500 (EST)
> On Thu, 24 Nov 2011, Elifarley Callado Coelho Cruz wrote:
>
> It would be nice to have an option to skip files which had their
> modification time changed without any changes to their content.
>
> Thanks to the rdiff algorithm, this effectively already happens.
> Duplicity only backs up the changes relative to the previous version
> of the file. If the data has not changed, it won't be backed up again.
> The file will still be entered in the backup (and the new mtime
> recorded), but no data will be stored and the size of the backup won't
> increase significantly. Try it and see!
>
> --
>
> Nate Eldredge
> address@hidden
>



-- 
Elifarley Cruz

Google Buzz: http://bit.ly/elifarley-gbuzz
Google Reader: http://bit.ly/elifarley-reader
Bookmarks: http://delicious.com/elifarley
Professional info: http://linkd.in/elifarley  |
http://openhatch.org/people/elifarley/
http://twitter.com/elifarley
-

 " Do not believe anything because it is said by an authority, or if
it  is said to come from angels, or from Gods, or from an inspired
source.   Believe it only if you have explored it in your own heart
and mind and body and found it to be true.  Work out your own path,
through diligence."
- Gautama Buddha



reply via email to

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