Duplicity Backup Browse

11

Saya telah membuat cadangan duplikat dengan Ubuntu 14.04 di laptop lain dari direktori home saya.

Saya menyalin semua file duplikat kembali ke laptop saya saat ini ke "/ home / user / Ubuntu-backup"

Bagaimana cara menelusuri konten cadangan itu untuk melihat apakah layak untuk dipulihkan? Saya ingin mengembalikan bagaimana cara memulihkan dari file-file itu.

Benjie
sumber

Jawaban:

10

man duplicity adalah temanmu

Untuk membuat daftar file yang terkandung dalam cadangan,

duplicity list-current-files [options] [--time time] target_url

Mulai dari sampel output:

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Thu Apr 20 07:05:12 2017
Tue May 16 10:59:53 2017 .
Tue Oct  4 09:17:44 2016 home
Wed May 24 12:25:20 2017 home/[username]
Tue Feb 16 19:41:10 2016 home/[username]/.ICEauthority
Thu Apr 21 20:43:49 2016 home/[username]/.Skype
Fri Jul 11 15:50:50 2014 home/[username]/.Skype/DataRv

Perintah status lain yang bermanfaat

duplicity collection-status [options] [--file-changed <relpath>] target_url

Mulai dari sampel output:

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Thu Apr 20 07:05:12 2017
Collection Status
-----------------
Connecting with backend: BackendWrapper
Archive dir: /home/[username]/.cache/duplicity/4d2fe5a2e1ead3bd31ee9829cdc85731

Found 9 secondary backup chains.
Secondary chain 1 of 9:
-------------------------
Chain start time: Tue Jul 29 09:17:49 2014
Chain end time: Fri Jan  9 08:04:33 2015
Number of contained backup sets: 22
Total number of contained volumes: 47
 Type of backup set:                            Time:      Num volumes:
                Full         Tue Jul 29 09:17:49 2014                17
         Incremental         Fri Aug  1 18:57:47 2014                10
         Incremental         Fri Aug  8 10:14:40 2014                 1
         Incremental         Sat Aug 16 08:29:10 2014                 1
         Incremental         Fri Aug 22 18:41:56 2014                 1
         Incremental         Fri Aug 29 11:36:42 2014                 1
         Incremental         Fri Sep  5 13:03:08 2014                 1
         Incremental         Fri Sep 12 07:45:14 2014                 1
         Incremental         Sat Sep 20 19:50:22 2014                 1
         Incremental         Sat Oct 11 08:06:38 2014                 1
         Incremental         Fri Oct 17 06:57:46 2014                 1
         Incremental         Fri Oct 24 07:56:08 2014                 1
         Incremental         Fri Oct 31 07:39:11 2014                 1
         Incremental         Fri Nov  7 07:28:01 2014                 1
         Incremental         Fri Nov 14 07:50:54 2014                 1
         Incremental         Thu Nov 20 20:29:11 2014                 1
         Incremental         Wed Nov 26 19:37:13 2014                 1
         Incremental         Thu Dec  4 15:37:21 2014                 1
         Incremental         Thu Dec 11 12:32:11 2014                 1
         Incremental         Fri Dec 19 05:59:36 2014                 1
         Incremental         Thu Jan  1 19:05:41 2015                 1
         Incremental         Fri Jan  9 08:04:33 2015                 1
-------------------------

Untuk mengembalikan file

duplicity [restore] [options] [--file-to-restore <relpath>] [--time time] source_url target_directory

Marmer organik
sumber
2
Apakah ada GUI untuk itu?
Matthias Lohr