duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Which backups include a particular file?


From: Tim Riemenschneider
Subject: Re: [Duplicity-talk] Which backups include a particular file?
Date: Tue, 14 Dec 2010 13:19:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101030 Iceowl/1.0b1 Icedove/3.0.10

Am 14.12.2010 12:56, schrieb Kenneth Loafman:
>
>
> On Tue, Dec 14, 2010 at 5:05 AM, <address@hidden
> <mailto:address@hidden>> wrote:
>
>     On 14.12.2010 12:01, Kenneth Loafman wrote:
>
>         [...]
>

>         You missed nothing.  I forgot that it was moved to the
>         'remove-all-inc-of-but-n-full' command a while back due to the
>         issues we
>         were discussing.
>
>
>     So to round-up on the topic: He can list the deleted file, right?
>     I could do a test, but when the incrementals are in place and the
>     version is 0.6.06+ this should work. Right?
>
>
> It should.  And the file should be recoverable.
>
Listing does not work, since cleanup deleted the signatures (which are
used for the list):

mail:~/backup# duplicity --version
duplicity 0.6.08b
mail:~/backup# duplicity collection-status $OPTIONS $TARGET
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sun Dec  5 01:31:01 2010
Collection Status
-----------------
Connecting with backend: SSHBackend
Archive dir: /var/lib/duplicity/3f70b1a6d386f132cb97fac83715ffda

Found 2 secondary backup chains.
Secondary chain 1 of 2:
-------------------------
Chain start time: Sat Oct 23 01:30:57 2010
Chain end time: Fri Nov 12 01:31:40 2010
Number of contained backup sets: 21
Total number of contained volumes: 899
 Type of backup set:                            Time:      Num volumes:
                Full         Sat Oct 23 01:30:57 2010               842
         Incremental         Sun Oct 24 01:32:29 2010                 2
         Incremental         Mon Oct 25 01:30:42 2010                 3
         Incremental         Tue Oct 26 01:31:32 2010                 2
         Incremental         Wed Oct 27 01:30:36 2010                 7
         Incremental         Thu Oct 28 01:30:44 2010                 4
         Incremental         Fri Oct 29 01:30:55 2010                 5
         Incremental         Sat Oct 30 01:31:10 2010                 2
         Incremental         Sun Oct 31 01:29:53 2010                 2
         Incremental         Mon Nov  1 01:30:41 2010                 3
         Incremental         Tue Nov  2 01:31:22 2010                 3
         Incremental         Wed Nov  3 01:30:13 2010                 3
         Incremental         Thu Nov  4 01:30:53 2010                 2
         Incremental         Fri Nov  5 01:31:01 2010                 2
         Incremental         Sat Nov  6 01:30:40 2010                 2
         Incremental         Sun Nov  7 01:30:45 2010                 1
         Incremental         Mon Nov  8 01:30:51 2010                 3
         Incremental         Tue Nov  9 01:30:53 2010                 3
         Incremental         Wed Nov 10 01:30:20 2010                 2
         Incremental         Thu Nov 11 01:30:05 2010                 3
         Incremental         Fri Nov 12 01:31:40 2010                 3
-------------------------

Secondary chain 2 of 2:
-------------------------
Chain start time: Sat Nov 13 01:30:34 2010
Chain end time: Sat Dec  4 01:30:15 2010
Number of contained backup sets: 22
Total number of contained volumes: 920
 Type of backup set:                            Time:      Num volumes:
                Full         Sat Nov 13 01:30:34 2010               856
         Incremental         Sun Nov 14 01:33:24 2010                 2
         Incremental         Mon Nov 15 01:32:00 2010                 2
         Incremental         Tue Nov 16 01:30:45 2010                 3
         Incremental         Wed Nov 17 01:30:46 2010                 3
         Incremental         Thu Nov 18 01:30:32 2010                 4
         Incremental         Fri Nov 19 01:30:19 2010                 3
         Incremental         Sat Nov 20 01:30:15 2010                 2
         Incremental         Sun Nov 21 01:30:53 2010                 1
         Incremental         Mon Nov 22 01:30:46 2010                 2
         Incremental         Tue Nov 23 01:30:04 2010                 3
         Incremental         Wed Nov 24 01:30:50 2010                 4
         Incremental         Thu Nov 25 01:31:03 2010                 4
         Incremental         Fri Nov 26 01:30:43 2010                 7
         Incremental         Sat Nov 27 01:30:07 2010                 4
         Incremental         Sun Nov 28 01:30:04 2010                 1
         Incremental         Mon Nov 29 01:31:36 2010                 2
         Incremental         Tue Nov 30 01:31:45 2010                 3
         Incremental         Wed Dec  1 01:30:46 2010                 3
         Incremental         Thu Dec  2 01:30:49 2010                 4
         Incremental         Fri Dec  3 01:30:48 2010                 5
         Incremental         Sat Dec  4 01:30:15 2010                 2
-------------------------


Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Sun Dec  5 01:31:01 2010
Chain end time: Tue Dec 14 01:31:25 2010
Number of contained backup sets: 9
Total number of contained volumes: 903
 Type of backup set:                            Time:      Num volumes:
                Full         Sun Dec  5 01:31:01 2010               873
         Incremental         Mon Dec  6 01:33:17 2010                 4
         Incremental         Tue Dec  7 01:31:05 2010                 3
         Incremental         Wed Dec  8 01:30:46 2010                 3
         Incremental         Thu Dec  9 01:31:06 2010                 4
         Incremental         Fri Dec 10 01:30:33 2010                 7
         Incremental         Sun Dec 12 01:31:15 2010                 2
         Incremental         Mon Dec 13 01:31:09 2010                 4
         Incremental         Tue Dec 14 01:31:25 2010                 3
-------------------------
No orphaned or incomplete backup sets found.

mail:~/backup# duplicity list-current-files -t 1M $OPTIONS $TARGET
2>/dev/null |head -5
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sun Dec  5 01:31:01 2010
*No signature chain for the requested time.  Using oldest available
chain, starting at time Sun Dec  5 01:31:01 2010.*
Fri Oct 22 13:27:00 2010 .
Wed Dec  1 11:06:44 2010 etc           <<<< See date

But restore works:

mail:~/backup# duplicity restore --file-to-restore etc/aliases -t 1M
--archive-dir /var/lib/duplicity --ssh-askpass $TARGET restore/old-aliases
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sun Dec  5 01:31:01 2010
mail:~/backup# ls -l restore/
-rw-r--r-- 1 root                root                 3012 21. Okt 10:11
old-aliases
mail:~/backup# ls -l /etc/aliases
-rw-r--r-- 1 root root 2629  1. Dez 11:06 /etc/aliases


cu
Tim



reply via email to

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