重复备份浏览


11

我在主目录的另一台笔记本电脑中使用Ubuntu 14.04作了双重备份。

我将所有重复性备份文件都复制到当前的便携式计算机上,并复制到“ / home / user / Ubuntu-backup”

我如何浏览该备份的内容,看是否值得恢复?我想还原如何从那些文件还原。

Answers:


10

man duplicity 是你的朋友。

要列出备份中包含的文件,

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

样本输出开始:

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

另一个有用的状态命令

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

样本输出开始:

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

恢复文件

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


2
是否有任何GUI?
马提亚斯·洛尔
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.