Backup de Duplicidade Navegar

5

Eu fiz um backup de duplicidade com o Ubuntu 14.04 em outro laptop do meu diretório pessoal.

Copiei todos os arquivos duplicados no meu laptop atual para "/ home / user / Ubuntu-backup"

Como navego no conteúdo desse backup para ver se vale a pena restaurá-lo? Eu quero restaurar como faço para restaurar a partir desses arquivos.

    
por Benjie 25.05.2017 / 22:19

1 resposta

6

man duplicity é seu amigo.

Para listar arquivos contidos em um backup,

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

Início da saída de amostra:

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

Outro comando de status útil

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

Início da saída de amostra:

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
-------------------------

Para restaurar arquivos

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

    
por Organic Marble 25.05.2017 / 23:01

Tags