|
From: | edgar . soldin |
Subject: | Re: [Fwd: Re: [Duplicity-talk] How do you list all files since the backup chain started] |
Date: | Mon, 27 Oct 2008 20:05:45 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.0 |
I want to abstract it as followsNeeded is functionality that lists file versions over backup chains in a repository, printing the different versions similar to below. Additionally to the reference output of --list-current-files the column filesize and datetime of the containing backup should be added.
I suggest the following:a general "list-files" command, which allows listing of files in the selected repository narrowable by time frame and/or in/exclude statements
*duplicity list-files **[*/options/*]* //target_urlreasonable options would be: --in/exclude , new --start-time --end-time options (short -ts -te ?, defaulting to first backup to now)
CHALLENGE here: to format a list containing different files and versions. Maybe like this /path/myfile Sun Oct 5 10:52:11 2008 131791 in 2008-10-05T23:00:00 Mon Oct 6 10:52:11 2008 131791 in 2008-10-06T23:00:00 Tue Oct 7 10:52:11 2008 131791 in 2008-10-07T23:00:00 Wed Oct 8 10:52:11 2008 131791 in 2008-10-08T23:00:00 /path/myfile2 Sun Oct 5 10:52:11 2008 131791 in 2008-10-05T23:00:00 Mon Oct 6 10:52:11 2008 131791 in 2008-10-06T23:00:00 Tue Oct 7 10:52:11 2008 131791 in 2008-10-07T23:00:00 Wed Oct 8 10:52:11 2008 131791 in 2008-10-08T23:00:00 ... this is the file path and name, followed bymod time, size in bytes (be made human readable?), the term "in" (as a separator), datetime string (representing the backup)
I am not sure if datetime couldn't be better formatted, but idea is to create a string reusable in a restore action later.
Open for comments .. I want to put as feature request on the support tracker.
regards ede --
address@hidden wrote:Generally yes, as its now one has to restore, to find out what's in a specific backup (if it's not the current). But what I'd really like to see, although not as urgent as the above .. is the initially requested functionality (quoting Richard here)Is it possible to list all files in a chain since the last full backup started? For example, lets assume I do a full backup on a Sunday and incremental backups at any other time. If I then edit a file each day it should get backed when the incremental is executed. How can I get to see a list of these files? Something like this is what I have in mind: Sun Oct 5 10:52:11 2008 myfile Mon Oct 6 10:52:11 2008 myfile Tue Oct 7 10:52:11 2008 myfile Wed Oct 8 10:52:11 2008 myfilealso some more infos about size and last modification time etc. could be helpful. Is that possible with the current internal data model? read me? :) sincerely edeSomething like this would indeed be handy and I'm sure it could be done fairly easily. What duplicity could add to the mix was the size of the change stored versus the original file size. ...Ken------------------------------------------------------------------------_______________________________________________ Duplicity-talk mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/duplicity-talk
[Prev in Thread] | Current Thread | [Next in Thread] |