恢复DéjáDup备份(在Windows上)

时间:2015-08-05 07:53:49

标签: windows ubuntu backup recover

我从Ubuntu 15.04系统备份了用户文件夹。

备份是通过系统设置控件完成的,据我所知,使用DéjàDup作为标准备份程序。

备份现在是在闪存驱动器上,它的文件看起来像这样:

with Ada.Integer_Text_IO, Ada.Text_IO;
use Ada.Integer_Text_IO, Ada.Text_IO;

procedure Arr is
   type Cell;
   type Cell_Ptr is access all Cell;

   type Cell is
      record
         Number : Integer := 0;
         Next : Cell_Ptr := null;
      end record;

   type Chain is array (1 .. 100) of aliased Cell;
   type Chain_Ptr is access all Chain;

   procedure Make_Links (CP : in out Chain_Ptr);

   procedure Make_Links (CP : in out Chain_Ptr) is
   begin
      for I in CP'First .. CP'Last - 1 loop
         CP.all (I).Next := CP.all (I + 1)'Access;
      end loop;
   end Make_Links;

   My_Chain : aliased Chain;
   My_CP : Chain_Ptr := null;
   My_C : Cell_Ptr := null;
begin
   My_CP := My_Chain'Access;
   Make_Links (My_CP);

   --  verify that the code works by writing values into the array
   for I in My_Chain'Range loop
      My_Chain (I).Number := 1000 * I;
   end loop;

   --  and read them back out using the pointer links
   My_C := My_Chain (My_Chain'First)'Access;
   while My_C /= null loop
      Put (My_C.Number);
      Put_Line ("");
      My_C := My_C.Next;
   end loop;

end Arr;

以及:

duplicity-full.vol01.difftar.gz
...
duplicity-full.vol87.difftar.gz

如果可能,我想在Windows或现场Ubuntu系统上恢复这些备份文件,然后将它们复制到Windows上。

1 个答案:

答案 0 :(得分:0)

(来自个人经历)

要求:分区/驱动器(c)包含备份,2个额外驱动器(a + b)

1)创建一个启动Ubuntu的驱动器(a),例如一个live-usb驱动器。 (见:http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows

2)启动Ubuntu系统,然后格式化第二个额外的驱动器(b)以保存ext3文件系统。

3)使用Ubuntu附带的duplicity命令将备份(从c)恢复到ext3驱动器(b) (duplicity restore file:// path-to-folder path-to-folder-to-restore-on-on-b http://duplicity.nongnu.org/duplicity.1.html

说明:

- 问题中上面显示的文件表示不止一个干净备份,但也有历史记录,我手动删除了那些运行duplicity命令的文件。

- 我将备份文件保存在ntfs系统上,但是无法恢复到ntfs系统,这就是ext3驱动器的原因。这很可能是特定文件的问题,可能不是强制性的。