Restore data backuped with Redo-backup

Asked by Vašek on 2012-09-28

I made backup with app Redo backup (front end of partclone, http://redobackup.org/). But this application can't restore data on one partition, only on whole disks. I need find the way how to extract my backup on partition for data only, in my case /dev/sda8.

Backuped files:
[vasek@bridgelinux external]$ file *
20120909.backup: ASCII text, with no line terminators
20120909.mbr: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200; partition 1: ID=0xee, starthead 0, startsector 1, 976773167 sectors, code offset 0x63, OEM-ID " м", Bytes/sector 190, sectors/cluster 124, reserved sectors 191, FATs 6, root entries 185, sectors 64514 (volumes <=32 MB) , Media descriptor 0xf3, sectors/FAT 20644, heads 6, hidden sectors 309755, sectors 2147991229 (volumes > 32 MB) , physical drive 0x7e, dos < 4.0 BootSector (0x0)
20120909_part6.000: gzip compressed data, from Unix, last modified: Mon Sep 10 06:56:25 2012, max speed
20120909_part6.001: data
20120909_part6.002: data
20120909_part6.003: data
20120909_part6.004: data
20120909_part6.005: data
20120909_part6.006: data
20120909_part6.007: data
20120909_part6.008: data
20120909_part6.009: data
20120909_part6.010: data
20120909_part6.011: data
20120909_part6.012: data
20120909_part6.013: data
20120909_part6.014: SysEx File -
20120909_part6.015: data
20120909_part6.016: data
20120909_part6.017: data
20120909_part6.018: data
20120909_part6.019: data
20120909_part6.020: data
20120909_part6.021: data
20120909_part6.022: data
20120909_part6.023: data
20120909_part6.024: data
20120909_part6.025: data
20120909_part6.026: data
20120909_part6.027: data
20120909_part6.028: data
20120909_part6.029: data
20120909_part6.030: data
20120909_part6.031: data
20120909_part6.032: data
20120909_part6.033: data
20120909_part6.034: data
20120909_part6.035: data
20120909_part6.036: data
20120909_part6.037: data
20120909_part6.038: data
20120909_part6.039: data
20120909_part6.040: data
20120909_part6.041: DOS executable (COM)
20120909_part6.042: data
20120909_part6.043: data
20120909_part6.044: data
20120909_part6.045: DOS executable (COM)
20120909_part6.046: data
20120909_part6.047: data
20120909_part6.048: data
20120909_part6.049: data
20120909_part6.050: data
20120909_part6.051: data
20120909_part6.052: data
20120909_part6.053: data
20120909_part6.054: data
20120909_part6.055: data
20120909_part6.056: data
20120909_part6.057: data
20120909_part6.058: data
20120909_part6.059: data
20120909_part6.060: data
20120909_part6.061: data
20120909_part6.062: data
20120909_part6.063: data
20120909_part6.064: data
20120909_part6.065: data
20120909_part6.066: data
20120909_part6.067: data
20120909_part6.068: data
20120909_part6.069: 8086 relocatable (Microsoft)
20120909_part6.070: data
20120909_part6.071: data
20120909.sfdisk: ASCII text
20120909.size: ASCII text
[vasek@bridgelinux external]$

I tried to make backup and restore via redo backup for other flash disk. In terminal it look:

root@ubuntu:~# sudo redobackup
/usr/share/themes/MurrinaAquaIsh/gtk-2.0/gtkrc:50: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored.
*** sda ***
 desc = Drive 1 (465.76 GB): WDC WD5000BPVT-0 (Windows 7 (loader), 29.30 GB NTFS) (Bridge-boot, 200.00 MB EXT2) (2.15 GB SWAP) (Bridge Linux (2012.7 LXDE), 29.30 GB EXT4) (Ubuntu 12.04.1 LTS (12.04), 14.65 GB EXT4) (Bridge Linux (2012.7 LXDE), 14.65 GB EXT4) (Data, 375.52 GB EXT4)
 device = sda
 drivenum = 1
 model = WDC WD5000BPVT-0
 parts = HASH(0x8a62330)
 Part 1:
  fstype = NTFS
  label = Widle7
  os = Windows 7 (loader)
  partition = sda1
  size = 29.30 GB
 Part 2:
  fstype = EXT2
  label = Bridge-boot
  os =
  partition = sda2
  size = 200.00 MB
 Part 4:
  fstype = SWAP
  label =
  os =
  partition = sda4
  size = 2.15 GB
 Part 5:
  fstype = EXT4
  label = Bridge-root
  os = Bridge Linux (2012.7 LXDE)
  partition = sda5
  size = 29.30 GB
 Part 6:
  fstype = EXT4
  label = Ubuntu
  os = Ubuntu 12.04.1 LTS (12.04)
  partition = sda6
  size = 14.65 GB
 Part 7:
  fstype = EXT4
  label = Bridge-test
  os = Bridge Linux (2012.7 LXDE)
  partition = sda7
  size = 14.65 GB
 Part 8:
  fstype = EXT4
  label = Data
  os =
  partition = sda8
  size = 375.52 GB
 size = 465.76 GB
 type = scsi

*** sdb ***
 desc = Drive 2 (243.50 MB): USB DataTraveler 2.0 (Kingston, 243.50 MB VFAT)
 device = sdb
 drivenum = 2
 model = DataTraveler 2.0
 parts = HASH(0x8a34a40)
 Part 1:
  fstype = VFAT
  label = Kingston
  os =
  partition = sdb1
  size = 243.50 MB
 size = 243.50 MB
 type = usb

*** sdc ***
 desc = Drive 3 (970.00 MB): USB TS1GJFV30
 device = sdc
 drivenum = 3
 model = TS1GJFV30
 parts = HASH(0x8a62310)
 size = 970.00 MB
 type = usb

Obtaining partitions for drive sdb...
*** Omitting backup source sdb1 from destination list
umount: /mnt/backup: not mounted
* Executing: mount /dev/sda6 /mnt/backup
Free space: 10004
*** Backup sdb to /mnt/backup/home/vasek/Hudba ***

1+0 records in
1+0 records out
32768 bytes (33 kB) copied, 0.00987823 s, 3.3 MB/s
 * MBR and partition table of /dev/sdb saved to /mnt/backup/home/vasek/Hudba
 * Size of /dev/sdb (255327744 bytes) saved to /mnt/backup/home/vasek/Hudba/20120926.size
Free space: 9.8G
 * Partition list saved to /mnt/backup/home/vasek/Hudba/20120926.backup
 * Total partitions to save: 1
*** Processing sdb1 (vfat) using partclone.fat...
umount: /dev/sdb1: not mounted
*** Executing: ( partclone.fat -c -F -L /partclone.log -s /dev/sdb1 | gzip -c --fast | split -d -a 3 -b 2048m - //mnt/backup/home/vasek/Hudba/20120926_part1. ) 2>&1 |
Partclone v0.2.38 http://partclone.org
>>> Starting to clone sdb1
>>> List of partitions:
 * sdb1 (Processing)
>>> Reading super block
>>> Warning: Filesystem isn't in valid state. May be it is not cleanly unmounted.
>>> Warning: Filesystem isn't in valid state. May be it is not cleanly unmounted.
Total Time: 00:00:01, 100.00% completed!
done!
File system: FAT16
>>> Device size: 255.3 MB
>>> Space in use: 45.6 MB
Free Space: 209.8 MB
Block size: 512 Byte
Used block : 89003
Elapsed time: *00:00:01* Remaining: *00:00:45* Percent: *2.17* Rate: *59.32MB/min*
Elapsed time: *00:00:02* Remaining: *00:00:10* Percent: *16.65* Rate: *227.59MB/min*
Elapsed time: *00:00:03* Remaining: *00:00:06* Percent: *31.03* Rate: *282.80MB/min*
Elapsed time: *00:00:04* Remaining: *00:00:04* Percent: *45.41* Rate: *310.40MB/min*
Elapsed time: *00:00:05* Remaining: *00:00:03* Percent: *59.18* Rate: *323.62MB/min*
Elapsed time: *00:00:06* Remaining: *00:00:02* Percent: *73.94* Rate: *336.95MB/min*
Elapsed time: *00:00:07* Remaining: *00:00:00* Percent: *88.32* Rate: *344.98MB/min*
Elapsed time: *00:00:08* Remaining: *00:00:00* Percent: *100.00* Rate: *341.76MB/min*
Elapsed time: *00:00:08* Remaining: *00:00:00* Percent: *100.00* Rate: *341.77MB/min*
Total Time: 00:00:08, Ave. Rate: 341.8MB/min, 100.00% completed!
Syncing... OK!
>>> Partition sdb1 completed.
 Current part: 1
 Total parts: 1
>>> Operation complete.
root@ubuntu:~# sudo redobackup
/usr/share/themes/MurrinaAquaIsh/gtk-2.0/gtkrc:50: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored.
umount: /mnt/backup: not mounted
* Executing: mount /dev/sda6 /mnt/backup
Comparing sda to sdb...
*** Size of original drive: 255327744 bytes
*** Size of destination drive: 255327744 bytes
umount: /mnt/sdb?*: not found
*** Writing MBR to sdb
1+0 records in
1+0 records out
32768 bytes (33 kB) copied, 0.053119 s, 617 kB/s
*** Restoring partition table to sdb
Checking that no-one is using this disk right now ...
OK

Disk /dev/sdb: 1021 cylinders, 8 heads, 61 sectors/track
Old situation:
Warning: The partition table looks like it was made
  for C/H/S=*/129/4 (instead of 1021/8/61).
For this listing I'll assume that geometry.
Units = cylinders of 264192 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End #cyls #blocks Id System
/dev/sdb1 * 0+ 966- 967- 249341+ e W95 FAT16 (LBA)
  end: (c,h,s) expected (966,57,3) found (972,128,4)
/dev/sdb2 0 - 0 0 0 Empty
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty

New situation:
Warning: The partition table looks like it was made
  for C/H/S=*/8/12 (instead of 1021/8/61).
For this listing I'll assume that geometry.
Units = sectors of 512 bytes, counting from 0

   Device Boot Start End #sectors Id System
/dev/sdb1 * 4 498686 498683 e W95 FAT16 (LBA)
  end: (c,h,s) expected (1023,7,12) found (1021,7,12)
/dev/sdb2 0 - 0 0 Empty
/dev/sdb3 0 - 0 0 Empty
/dev/sdb4 0 - 0 0 Empty

Warning: partition 1 does not end at a cylinder boundary
Successfully wrote the new partition table

Re-reading the partition table ...

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
*** Reloading partition table from sdb
umount: /mnt/sdb?*: not found
*** Verifying that /dev/sdb1 exists and can be restored to: OK
umount: /mnt/sdb1: not found
1000+0 records in
1000+0 records out
1024000 bytes (1.0 MB) copied, 0.336126 s, 3.0 MB/s
*** Processing sdb1 using partclone.restore...
umount: /dev/sdb1: not mounted
*** Executing: ( cat //mnt/backup/home/vasek/Hudba/20120926_part1.* | gzip -d -c | partclone.restore -F -L /partclone.log -O /dev/sdb1 ) 2>&1 |
Partclone v0.2.38 http://partclone.org
>>> Starting to restore sdb1
>>> List of partitions:
 * sdb1 (Processing)
>>> Calculating bitmap
File system: FAT16
>>> Device size: 255.3 MB
>>> Space in use: 45.6 MB
Free Space: 209.8 MB
Block size: 512 Byte
Used block : 89003
Elapsed time: *00:00:01* Remaining: *00:00:02* Percent: *26.43* Rate: *722.53MB/min*
Elapsed time: *00:00:02* Remaining: *00:00:00* Percent: *72.90* Rate: *996.56MB/min*
Elapsed time: *00:00:02* Remaining: *00:00:00* Percent: *100.00* Rate: *1.37GB/min*
Total Time: 00:00:02, Ave. Rate: 1.4GB/min, 100.00% completed!
Syncing... OK!
Partclone successfully restored the image (-) to the device (/dev/sdb1)
>>> Partition sdb1 completed.
 Current part: 1
 Total parts: 1
*** Writing MBR to sdb
1+0 records in
1+0 records out
32768 bytes (33 kB) copied, 0.000401865 s, 81.5 MB/s
>>> Operation complete.
root@ubuntu:~#
Can someone tell me which command to use for restore data from /media/external to /dev/sda8?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
2012-09-28
Last reply:
2012-09-28
Manfred Hampl (m-hampl) said : #1

For questions about specific non-Ubuntu software you better use the forum of the related software provider.
In this case http://sourceforge.net/p/redobackup/discussion/

Can you help with this problem?

Provide an answer of your own, or ask Vašek for more information if necessary.

To post a message you must log in.