[Howto] Odroid-Backup tool - backup and restore tool

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

I'll have a look tomorrow and report back
Can you post the output of cat /etc/lsb_release?

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Have just checked but can not find this file / path on my installation?

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Sorry, it's with a dash (/etc/lsb-release)

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Ok, I make some changes and added a new option (-A) so it runs in ASCII mode (but I must warn you - it looks ugly). The way you can interact with it is to type in the options you want (e.g. 'backup', 'mmcblk0', etc). Give it a try.

Otherwise, to use the GUI, if you connect from a different Linux system over SSH you can use X11 forwarding over SSH (e.g. ssh -x ), or xpra:

Code: Select all

sudo apt-get install xpra
sudo xpra start :0
DISPLAY=:0 sudo ./odroid-backup -a
And attach to the X11 session on your main system. Good luck!

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

So if I boot an ubuntu live on my laptop, can I use the interface via terminal by installing the "xpra" program?

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Well - are you doing live backup on the remote system? In that case yes, once you start xpra remotely you can start xpra discovery locally and it should see your remote session and you should be able to attach to it. Anyway, I'll look into creating a docker image to workaround this problem.

Or you can pull the sd/emmc and run odroid-backup on a live cd on ubuntu directly.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Okay but what about the missing packages associated with ubuntu "live" that I've written about before? And I do not know how to use docks but is it easy enough? - It would be easy to use ubuntu live if I can get the missing packages?

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Ideally, the docker system is self-contained. It would contain the missing packages. But, I've just started learning about docker, so it might take a while before I can set something up...

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

I'm still trying to get your backup program to work but when I run it on Odroidxu4 I have the problem "No destination selected for backup" - Bug. And I can not use it on an unbuntu live as it can not find the packages it takes to run your program. I have tried xpra from an ubuntu live where I log on to my odroidxu4 via ssh but I can not work either. It's not that smart to make a program that's so hard to get working.


I know it for free you've developed it :) - And respect for it. But it's just not practical when you can not run it on a linux system without major difficulties.

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

I agree, it should just work. However, there are differences in how zenity displays windows, which causes the bug. I think I will implement command-line switches as well, but it might be a while till I have the spare time to do it.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Do you know if I can use "Win32 Disk Imager" to create an image of my Emmc card in a Windows machine? - If I make an image of an Emmc, will it work if I want to print this image on a sd card in the future with "Win32 Disk Imager"? - Because I might be happy with SD card if / when my emmc card breaks :)

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

In theory yes, it would work with win32 disk imager, but the emmc and sd must be the exact same size (down to the last block), or it will fail. This is rare. It will work if you restore to a bigger SD card (and leave some unused space at the end).

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Okay, it seems somewhat complicated to make an image of an emmc i can use on any sd card afterwards when you are not geek: / If i use win32 disk imager i get a problem with the size and would have to buy bigger sd card for every time i restores. And your program does not work on the fly. These things stop me from taking a backup :( - But fearing when my emmc breaks because of the time it has taken to put it up: /

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Fear not, I'll work on improving it. Also, you can still take a manual backup compatible with this program. Look for instructions on this thread, a few pages back.

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Ok, harassment seems to have worked. I updated the script to support non-interactive operation and when run as such it doesn't depend on zenity or X11. This way you can bypass dialog's strange quirkness on various operating systems. Make sure to download the latest version from github.

Here's how to use it in non-interactive mode. You will need to set the following parameters:
  • --backup -- to do a backup, or
  • --restore -- to do a restore. Both backup and restore are incompatible at the same time for obvious reasons
  • --disk sdc -- The disk name (without /dev) is validated and an error is printed if that name doesn't exist in your system. Valid options are shown in case you input something wrong
  • --partitions bootloader,mbr,/dev/sdc1 -- A comma separated list (with no spaces) of the partitions you want to backup or restore. Valid options are shown in case you input something wrong. When restoring, the partition names have only the number - e.g. bootloader,mbr,1,2
  • --directory -- The directory to backup to or to restore from. If it doesn't exist it will be created. Previous backups inside will be overwritten with no warning.
Example usage:
Backup
sudo odroid-backup.pl --backup --disk sdc --partitions bootloader,mbr,/dev/sdc1,/dev/sdc2 --directory backup-emmc
sudo odroid-backup.pl --backup --disk mmcblk0 --partitions bootloader,mbr,/dev/mmcblk0p1,/dev/mmcblk0p2 --directory backup-emmc

Restore
sudo odroid-backup.pl --restore --disk sdc --partitions bootloader,mbr,1,2 --directory backup-emmc
sudo odroid-backup.pl --restore --disk mmcblk0 --partitions bootloader,mbr,1,2 --directory backup-emmc

Please try both backup and then restore to sd and report back any problems. If restore worked, make sure to boot with the SD to validate that everything is ok.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Thanks :) - As I have said, I'm not a Linux nerd (unfortunately) :( - Can you give me an example of how it should look like backing up my emmc card based on picture (Df -h) :) ?

I would like to place backup on "/ srv / dev-disk-by-label-Share" - I just want an example so I'm sure to do it right :)


Thank you for your great work :)
Attachments
Unavngivet.jpg
Unavngivet.jpg (75.31 KiB) Viewed 6290 times

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

So you'll be doing a live backup. Install odroid-backup as described in the first post and try with:

Code: Select all

sudo odroid-backup.pl -a --backup --disk mmcblk0 --partitions mbr,bootloader,/dev/mmcblk0p1,/dev/mmcblk0p2,/dev/mmcblk0p3 --directory /srv/dev-disk-by-label-Share/odroid-emmc-backup

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Thank you :) If you make a live backup then you think it's an advantage and run the command:

"Sync"

in the terminal before backup to make sure it does not do anything in the background :)?

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

I just tried to run the command but get partclone error:

$VAR1 = '{
"partitiontable": {
"label": "dos",
"id": "0xd6a661fd",
"device": "/dev/mmcblk0",
"unit": "sectors",
"partitions": [
{"node": "/dev/mmcblk0p1", "start": 8192, "size": 131072, "type": "83"},
{"node": "/dev/mmcblk0p2", "start": 139264, "size": 14560737, "type": "83"},
{"node": "/dev/mmcblk0p3", "start": 14700001, "size": 15769567, "type": "83"}
]
}
}
';
$VAR1 = {
'partitiontable' => {
'device' => '/dev/mmcblk0',
'id' => '0xd6a661fd',
'unit' => 'sectors',
'partitions' => [
{
'start' => 8192,
'type' => '83',
'size' => 131072,
'node' => '/dev/mmcblk0p1'
},
{
'start' => 139264,
'type' => '83',
'size' => 14560737,
'node' => '/dev/mmcblk0p2'
},
{
'type' => '83',
'size' => 15769567,
'node' => '/dev/mmcblk0p3',
'start' => 14700001
}
],
'label' => 'dos'
}
};
Listing partitions on disk mmcblk0...
$VAR1 = {
'mbr' => {
'start' => 0,
'label' => 'MBR+EBR',
'size' => 512,
'sizeHuman' => 512,
'type' => 0
},
'/dev/mmcblk0p3' => {
'mounted' => '/srv/dev-disk-by-id-mmc-SDW16G_0x906253c0-part3',
'uuid' => '9b8a75b4-7356-4791-acef-125785d2cc72',
'start' => 14700001,
'type' => '83',
'sizeHuman' => '7.6GiB',
'size' => '8074018304',
'literalType' => 'ext4'
},
'/dev/mmcblk0p1' => {
'type' => '83',
'literalType' => 'ext4',
'size' => '67108864',
'sizeHuman' => '64MiB',
'mounted' => '/boot',
'uuid' => '449b9d35-2d43-4613-840c-19929c49201e',
'start' => 8192
},
'/dev/mmcblk0p2' => {
'mounted' => '/var/folder2ram/var/cache/samba',
'uuid' => '2db917ed-05ca-4752-961e-fd93b71d4fd4',
'start' => 139264,
'type' => '83',
'sizeHuman' => '7.0GiB',
'literalType' => 'btrfs',
'size' => '7455097344'
},
'bootloader' => {
'end' => 8192,
'type' => 0,
'sizeHuman' => '4.0MiB',
'size' => 4193792,
'start' => 1,
'label' => 'Bootloader'
}
};
Using partition list: mbr,bootloader,/dev/mmcblk0p1,/dev/mmcblk0p2,/dev/mmcblk0p3
Odroid Backup status:
Starting backup process
*** Starting to backup /dev/mmcblk0p3 ***
Statistics for filesystem 0
* files successfully processed:....regfiles=0, directories=2, symlinks=0, hardlinks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
Error code: 0
====================== archive information ======================
Archive type: filesystems
Filesystems count: 1
Archive id: 5b459751
Archive file format: FsArCh_002
Archive created with: 0.8.1
Archive creation date: 2018-07-08_08-54-45
Archive label: <none>
Minimum fsarchiver version: 0.6.4.0
Compression level: 3 (gzip level 6)
Encryption algorithm: none

===================== filesystem information ====================
Filesystem id in archive: 0
Filesystem format: ext4
Filesystem label:
Filesystem uuid: 9b8a75b4-7356-4791-acef-125785d2cc72
Original device: /dev/mmcblk0p3
Original filesystem size: 7.34 GB (7880155136 bytes)
Space used in filesystem: 33.84 MB (35487744 bytes)

*** Starting to backup /dev/mmcblk0p2 ***
Using partclone binary: partclone.btrfs
Unmounting /var/folder2ram/var/cache/samba...
Partclone v0.2.89 http://partclone.org
Starting to clone device (/dev/mmcblk0p2) to image (/srv/dev-disk-by-label-Share/odroid-emmc-backup/partition_2.img)
device (/dev/mmcblk0p2) is mounted at /var/folder2ram/var/lib/netatalk/CNID
error exit
Partclone fail, please check /var/log/partclone.log !
Error code: 1
Mounting back /var/folder2ram/var/cache/samba (if it's in fstab)...
mount: can't find /var/folder2ram/var/cache/samba in /etc/fstab
Partclone v0.2.89 http://partclone.org
Display image information
info: Can't open file(/srv/dev-disk-by-label-Share/odroid-emmc-backup/partition_2.img)
Partclone fail, please check /var/log/partclone.log !
*** Starting to backup /dev/mmcblk0p1 ***
Statistics for filesystem 0
* files successfully processed:....regfiles=42, directories=3, symlinks=4, hardlinks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0
Error code: 0
====================== archive information ======================
Archive type: filesystems
Filesystems count: 1
Archive id: 5b49a51d
Archive file format: FsArCh_002
Archive created with: 0.8.1
Archive creation date: 2018-07-08_08-54-51
Archive label: <none>
Minimum fsarchiver version: 0.6.4.0
Compression level: 3 (gzip level 6)
Encryption algorithm: none

===================== filesystem information ====================
Filesystem id in archive: 0
Filesystem format: ext4
Filesystem label:
Filesystem uuid: 449b9d35-2d43-4613-840c-19929c49201e
Original device: /dev/mmcblk0p1
Original filesystem size: 57.97 MB (60789760 bytes)
Space used in filesystem: 21.92 MB (22981632 bytes)

*** Starting to backup bootloader ***
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.08386 s, 50.0 MB/s
Error code: 0
*** Bootloader backup size: 4194304 bytes ***
*** Starting to backup mbr ***
Error code: 0
label: dos
label-id: 0xd6a661fd
device: /dev/mmcblk0
unit: sectors

/dev/mmcblk0p1 : start= 8192, size= 131072, type=83
/dev/mmcblk0p2 : start= 139264, size= 14560737, type=83
/dev/mmcblk0p3 : start= 14700001, size= 15769567, type=83

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Partclone log :

Partclone v0.2.89 http://partclone.org
Display image information
info: Can't open file(/srv/dev-disk-by-label-Share/odroid-emmc-backup/partition_2.img)

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

It has not backed up emmc this is the contents of the folder "/srv/dev-disk-by-label-Share/odroid-emmc-backup" :
Attachments
Unavngivet.jpg
Unavngivet.jpg (34.8 KiB) Viewed 6286 times

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

It has skipped partition two because it was unable to unmount it. OMV uses btrfs in addition to ext3/4 and btrfs can be currently backed up only with partimage, which requires that the partition in unmounted before. Support for btrfs came about a month ago and some code to do best-effort umounting and nounting was added then. Problem is - partition 2 can't be unmounted because it's in use by log2ram.

You only need to backup partition 2, and here's what you can try:
1. Reboot
2. Manually unmount /dev/mmcblk0p2
3. Rerun the backup script with --partitions /dev/mmcblk0p2

If #2 fails, disable log2ram from systemd, reboot and try again.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

It seems complicated: / When I run "sudo unmount /dev/mmcblk0p2" I get:

Could not find the database of available applications, run update-command-not-found as root to fix this
unmount: command not found


How do I unmount via terminal as you type in "2"?

And is it possible to unmount mmcblk0p2 when it's what I'm running Linux(terminal) from?

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Try sudo umount /dev/mmcblk0p2. If it complains, try sudo umount -l /dev/mmcblk0p2

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

I have tried both commands: "sudo umount /dev/mmcblk0p2 - sudo umount -l /dev/mmcblk0p2" - They run smoothly at the terminal

But I still get the error:

*** Starting to backup /dev/mmcblk0p2 ***
Using partclone binary: partclone.btrfs
Unmounting /var/folder2ram/var/lib/netatalk/CNID...
Partclone v0.2.89 http://partclone.org
Starting to clone device (/dev/mmcblk0p2) to image (/srv/dev-disk-by-label-Share/odroid-emmc-backup/partition_2.img)
device (/dev/mmcblk0p2) is mounted at /var/folder2ram/var/lib/php
error exit
Partclone fail, please check /var/log/partclone.log !
Error code: 1
Mounting back /var/folder2ram/var/lib/netatalk/CNID (if it's in fstab)...
mount: can't find /var/folder2ram/var/lib/netatalk/CNID in /etc/fstab
Partclone v0.2.89 http://partclone.org
Display image information
info: Can't open file(/srv/dev-disk-by-label-Share/odroid-emmc-backup/partition_2.img)
Partclone fail, please check /var/log/partclone.log !


HOW do i disabel / enabel folder to ram via systemd ?

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

I don't know the exact service name for it - but you can find out with sudo systemctl. You can disable it with sudo systemctl disable folder2ram.

A user reported he was able to back up his omv, but he must have done it offline.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

I'll give up soon after I've tried:

sudo systemctl disable log2ram
sudo umount / dev / mmcblk0p2

Subsequently :

sudo odroid-backup.pl -a --backup --disk mmcblk0 --partitions mbr,bootloader,/dev/mmcblk0p1,/dev/mmcblk0p2,/dev/mmcblk0p3 --directory /srv/dev-disk-by-label-Share/odroid-emmc-backup



but still get :

Using partclone binary: partclone.btrfs
Unmounting /var/folder2ram/var/lib/netatalk/CNID...
Partclone v0.2.89 http://partclone.org
Starting to clone device (/dev/mmcblk0p2) to image (/srv/dev-disk-by-label-Share /odroid-emmc-backup/partition_2.img)
device (/dev/mmcblk0p2) is mounted at /var/folder2ram/var/lib/php
error exit
Partclone fail, please check /var/log/partclone.log !
Error code: 1
Mounting back /var/folder2ram/var/lib/netatalk/CNID (if it's in fstab)...
mount: can't find /var/folder2ram/var/lib/netatalk/CNID in /etc/fstab
Partclone v0.2.89 http://partclone.org

If I start an ubuntu live and backup on my laptop with emmc reader, can I use terminal mode because your graphical interface does not work on linux - Due to missing packages?

It would have to be easy, but it's something tricky

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

I had a second look over your mounts. You'll never be able to unmount mmcblk0p2 because it's the rootfs (I thought it was /var). You'll only be able to do an offline backup because of it.
Suggestion - burn a 18.04 ubuntu image on a sd card, flip the boot switch and boot off it and then try to run odroid-backup to do the backup.
Edit: yes, you should be able to use a livecd with the cli option, though partitions will be called sdX instead of mmcblkX.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Now I managed to backup my emmc via a debian installation on sdcard now i have flip switch back and boot from emmc again and do:

lsblk

and find out my sd card is called "mmcblk1"

Then I run the command to write image from disk to sdcard:

sudo odroid-backup.pl --restore --disk mmcblk1 --partitions bootloader,mbr,1,2 --directory /srv/dev-disk-by-label-Share/odroid-emmc-backup


but gets the error:

Selected to restore the following partitions: bootloader,mbr,1,2
Disk mmcblk1 is not a valid disk. Valid options are: at /usr/local/bin/odroid-backup.pl line 559.

Here you can see lsblk on my system:
Attachments
Unavngivet.jpg
Unavngivet.jpg (90.46 KiB) Viewed 6279 times

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Finally, an easy problem :)
By default, for safety reasons the script lists and allows the use of only removable disks. You need to add -a to the command line to use any disk in the system for backuup/restore.
Be warned that you will be able to clobber any system disk (e.g. sda) without warning if you make a mistake...

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Thank you :)

Where should i ad the "-a" ? :

sudo odroid-backup.pl --restore --disk mmcblk1 --partitions bootloader,mbr,1,2 --directory /srv/dev-disk-by-label-Share/odroid-emmc-backup

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Anywhere is fine:

Code: Select all

sudo odroid-backup.pl -a --restore --disk mmcblk1 --partitions bootloader,mbr,1,2 --directory /srv/dev-disk-by-label-Share/odroid-emmc-backup

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Now I have run the command:

"sudo odroid-backup.pl -a --restore --disk mmcblk1 --partitions bootloader,mbr,1,2 --directory /srv/dev-disk-by-label-Share/odroid-emmc-backup"


====================== archive information ======================

Archive type: filesystems

Filesystems count: 1

Archive id: 5b4be9bc

Archive file format: FsArCh_002

Archive created with: 0.8.1

Archive creation date: 2018-07-08_20-43-18

Archive label: <none>

Minimum fsarchiver version: 0.6.4.0

Compression level: 3 (gzip level 6)

Encryption algorithm: none



===================== filesystem information ====================

Filesystem id in archive: 0

Filesystem format: ext4

Filesystem label:

Filesystem uuid: 9b8a75b4-7356-4791-acef-125785d2cc72

Original device: /dev/mmcblk0p3

Original filesystem size: 7.34 GB (7880155136 bytes)

Space used in filesystem: 33.84 MB (35487744 bytes)


Partclone v0.2.89 http://partclone.org

Display image information

File system: BTRFS

Device size: 7.5 GB = 455023 Blocks

Space in use: 2.0 GB = 121883 Blocks

Free Space: 5.5 GB = 333140 Blocks

Block size: 16384 Byte
====================== archive information ======================

Archive type: filesystems

Filesystems count: 1

Archive id: 5b4aa509

Archive file format: FsArCh_002

Archive created with: 0.8.1

Archive creation date: 2018-07-08_20-44-12

Archive label: <none>

Minimum fsarchiver version: 0.6.4.0

Compression level: 3 (gzip level 6)

Encryption algorithm: none



===================== filesystem information ====================

Filesystem id in archive: 0

Filesystem format: ext4

Filesystem label:

Filesystem uuid: 449b9d35-2d43-4613-840c-19929c49201e

Original device: /dev/mmcblk0p1

Original filesystem size: 57.97 MB (60789760 bytes)

Space used in filesystem: 21.92 MB (22981632 bytes)


Read the following restorable data from the archive directory:
$VAR1 = {
'1' => {
'literalType' => 'ext4',
'size' => '60789760',
'start' => 0,
'filename' => '/srv/dev-disk-by-label-Share/odroid-emmc-backu p/partition_1.fsa',
'sizeHuman' => '58MiB'
},
'mbr' => {
'start' => 0,
'filename' => '/srv/dev-disk-by-label-Share/odroid-emmc-bac kup/partition_table.txt',
'sizeHuman' => 512,
'label' => 'MBR+EBR',
'literalType' => 'bin',
'size' => 512
},
'3' => {
'start' => 0,
'filename' => '/srv/dev-disk-by-label-Share/odroid-emmc-backu p/partition_3.fsa',
'sizeHuman' => '7.4GiB',
'size' => '7880155136',
'literalType' => 'ext4'
},
'2' => {
'start' => 0,
'filename' => '/srv/dev-disk-by-label-Share/odroid-emmc-backu p/partition_2.img',
'sizeHuman' => '223MiB',
'size' => 232971776,
'label' => 'Partition 2',
'literalType' => 'BTRFS'
},
'bootloader' => {
'sizeHuman' => '4.0MiB',
'start' => 512,
'filename' => '/srv/dev-disk-by-label-Share/odroid-e mmc-backup/bootloader.bin',
'size' => 4194304,
'literalType' => 'bin',
'label' => 'Bootloader'
}
};
Selected to restore the following partitions: bootloader,mbr,1,2
Selected disk to restore to is: mmcblk1
Use of uninitialized value in string eq at /usr/local/bin/odroid-backup.pl line 719.
Odroid Backup error: The partition 2 has a non-supported filesystem. Restore wil l skip it
Odroid Backup status:
Starting restore process
*** Restoring MBR ***
Checking that no-one is using this disk right now ... OK

Disk /dev/mmcblk1: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000f1766

Old situation:

Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 2048 147455 145408 71M c W95 FAT32 (LBA)
/dev/mmcblk1p2 147456 1196031 1048576 512M 83 Linux

>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new DOS disklabel with disk identifier 0x7df03068.
/dev/mmcblk1p1: Created a new partition 1 of type 'Linux' and of size 64 MiB.
/dev/mmcblk1p2: Created a new partition 2 of type 'Linux' and of size 7 GiB.
/dev/mmcblk1p3: Created a new partition 3 of type 'Linux' and of size 7.5 GiB.
/dev/mmcblk1p4: Done.

New situation:

Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 8192 139263 131072 64M 83 Linux
/dev/mmcblk1p2 139264 14700000 14560737 7G 83 Linux
/dev/mmcblk1p3 14700001 30469567 15769567 7.5G 83 Linux

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Error code: 0
/dev/mmcblk1: msdos partitions 1 2 3
*** Restoring Bootloader ***
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.721453 s, 5.8 MB/s
Error code: 0
*** Restoring Bootstrap code ***
1+0 records in
1+0 records out
446 bytes copied, 0.007195 s, 62.0 kB/s
Error code: 0
*** Restoring Partition 1 ***
Statistics for filesystem 0
* files successfully processed:....regfiles=42, directories=3, symlinks=4, hardl inks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardli nks=0, specials=0
Error code: 0
*** Restoring Partition 2 ***
*** Skipping partition 2 because it has an unsupported type (BTRFS) ***



And both sd cards and emmc look like each other in partion structure "lsblk":
Attachments
Unavngivet.jpg
Unavngivet.jpg (111.41 KiB) Viewed 6280 times

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

But I can not boot from SD card when I move switch why?


Is it because of : "Skipping partition 2 because it has an unsupported type (BTRFS) ***"
Last edited by mrperfekotne on Tue Jul 10, 2018 4:52 am, edited 1 time in total.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Backup folder :
Attachments
Unavngivet.jpg
Unavngivet.jpg (75.17 KiB) Viewed 6283 times

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Yup, good thing you tested, I need to fix restore as well.

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Redownload and try restore again whenever you have time, please

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Now i have a successful clone sd card :) - Are you working on getting the graphical interface to work on all Linux distribution? - Would be nice as it's easier to use on my laptop on an ubuntu live in case of emmc going down :)

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

Have you tested it by removing the emmc and booting with sd? Until you do this you can't be 100% certain backup/restore worked.

Regarding GUI - I tested it (and will support it) on ubuntu 16.04 and 18.04 both on intel and armhf/arm64. I know there are various problems with dialog (not displaying file browser for instance), or older debians having sfdisk without json support. I won't fix them due to a lack of time, but I will accept pull requests. That's why I added command-line optiins.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Yes I have tried without emmc but I'm getting this error on mail on the new clonet sd card:

Status failed Service mountpoint_srv_dev disk-by-id-mmc-SDW16G_0x906253c0-part3

         Date: Tue, 10 Jul 2018 15:48:56
         Action: alert
         Host: odroidxu4
         Description: Status failed (1) - / srv / dev-disk-by-id-mmc-SDW16G_0x906253c0-part3 is not a mountpoint

Your faithful employee,
monit


Could it be it has changed the name of a mount point when it cloned it?

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Boot on emmc :
Attachments
Unavngivet.jpg
Unavngivet.jpg (91.62 KiB) Viewed 6254 times

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Sd card boot:
Attachments
Unavngivet.jpg
Unavngivet.jpg (76.41 KiB) Viewed 6255 times

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

It's not an issue caused by backup or restore. It's an issue caused by omv which uses the emmc name/serial number? to derive a mount point name. You'd need to check either /etc/fstab or custom omv settings to regenerate that name based on the sd.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Thanks for the help :)

crazyquark
Posts: 339
Joined: Thu Jan 15, 2015 4:22 pm
languages_spoken: english, french, romanian
ODROIDs: C1,C1+,C2,HC1,XU4
Has thanked: 4 times
Been thanked: 17 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by crazyquark »

Great tool!

I just wanted to add a hint,
If you want the the X server UI and you have a headless odroid you can login with:

Code: Select all

ssh -X user@myodroid
And then the script will use your local machine's X server. There is even an X server for Windows.

Ah, also, if your root partition has filesystem errors(like mine did, lol) it will not get backed up.

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Thanks for the answer :) How do I use the command you type when I log in from putty on windows :)? Is it through windows terminal?

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

You would need a X server for windows - like Xming https://www.google.ro/url?sa=t&source=w ... W0WiHH4ksg and to forward X11 from putty's settings https://superuser.com/questions/119792/ ... with-putty

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

Hi :) - I've tried to write the backup that I made with successes earlier to an SD card but gets the following errors when I run the command:

sudo odroid-backup.pl -a --restore --disk mmcblk1 --partitions bootloader,mbr,1,2 --directory /srv/dev-disk-by-label-Share/odroid-emmc-backup


====================== archive information ======================

Archive type: filesystems

Filesystems count: 1

Archive id: 5b4be9bc

Archive file format: FsArCh_002

Archive created with: 0.8.1

Archive creation date: 2018-07-08_22-43-18

Archive label: <none>

Minimum fsarchiver version: 0.6.4.0

Compression level: 3 (gzip level 6)

Encryption algorithm: none



===================== filesystem information ====================

Filesystem id in archive: 0

Filesystem format: ext4

Filesystem label:

Filesystem uuid: 9b8a75b4-7356-4791-acef-125785d2cc72

Original device: /dev/mmcblk0p3

Original filesystem size: 7.34 GB (7880155136 bytes)

Space used in filesystem: 33.84 MB (35487744 bytes)


Partclone v0.2.89 http://partclone.org

Display image information

File system: BTRFS

Device size: 7.5 GB = 455023 Blocks

Space in use: 2.0 GB = 121883 Blocks

Free Space: 5.5 GB = 333140 Blocks

Block size: 16384 Byte
====================== archive information ======================

Archive type: filesystems

Filesystems count: 1

Archive id: 5b4aa509

Archive file format: FsArCh_002

Archive created with: 0.8.1

Archive creation date: 2018-07-08_22-44-12

Archive label: <none>

Minimum fsarchiver version: 0.6.4.0

Compression level: 3 (gzip level 6)

Encryption algorithm: none



===================== filesystem information ====================

Filesystem id in archive: 0

Filesystem format: ext4

Filesystem label:

Filesystem uuid: 449b9d35-2d43-4613-840c-19929c49201e

Original device: /dev/mmcblk0p1

Original filesystem size: 57.97 MB (60789760 bytes)

Space used in filesystem: 21.92 MB (22981632 bytes)


Read the following restorable data from the archive directory:
$VAR1 = {
'3' => {
'sizeHuman' => '7.4GiB',
'size' => '7880155136',
'literalType' => 'ext4',
'filename' => '/srv/dev-disk-by-label-Share/odroid-emmc-backu p/partition_3.fsa',
'start' => 0
},
'2' => {
'start' => 0,
'filename' => '/srv/dev-disk-by-label-Share/odroid-emmc-backu p/partition_2.img',
'literalType' => 'BTRFS',
'sizeHuman' => '223MiB',
'size' => 232971776,
'label' => 'Partition 2'
},
'1' => {
'filename' => '/srv/dev-disk-by-label-Share/odroid-emmc-backu p/partition_1.fsa',
'start' => 0,
'literalType' => 'ext4',
'sizeHuman' => '58MiB',
'size' => '60789760'
},
'mbr' => {
'size' => 512,
'label' => 'MBR+EBR',
'sizeHuman' => 512,
'literalType' => 'bin',
'filename' => '/srv/dev-disk-by-label-Share/odroid-emmc-bac kup/partition_table.txt',
'start' => 0
},
'bootloader' => {
'label' => 'Bootloader',
'size' => 4194304,
'sizeHuman' => '4.0MiB',
'filename' => '/srv/dev-disk-by-label-Share/odroid-e mmc-backup/bootloader.bin',
'start' => 512,
'literalType' => 'bin'
}
};
Selected to restore the following partitions: bootloader,mbr,1,2
Selected disk to restore to is: mmcblk1
Odroid Backup status:
Starting restore process
*** Restoring MBR ***
Checking that no-one is using this disk right now ... OK

Disk /dev/mmcblk1: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd6a661fd

Old situation:

>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new DOS disklabel with disk identifier 0x02f4aaf0.
/dev/mmcblk1p1: Created a new partition 1 of type 'Linux' and of size 64 MiB.
Partition #1 contains a ext4 signature.
/dev/mmcblk1p2: Created a new partition 2 of type 'Linux' and of size 7 GiB.
Partition #2 contains a btrfs signature.
/dev/mmcblk1p3: Created a new partition 3 of type 'Linux' and of size 7.5 GiB.
Partition #3 contains a ext4 signature.
/dev/mmcblk1p4: Done.

New situation:

Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 8192 139263 131072 64M 83 Linux
/dev/mmcblk1p2 139264 14700000 14560737 7G 83 Linux
/dev/mmcblk1p3 14700001 30469567 15769567 7.5G 83 Linux

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Error code: 0
/dev/mmcblk1: msdos partitions 1 2 3
*** Restoring Bootloader ***
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.542498 s, 7.7 MB/s
Error code: 0
*** Restoring Bootstrap code ***
1+0 records in
1+0 records out
446 bytes copied, 0.00419429 s, 106 kB/s
Error code: 0
*** Restoring Partition 1 ***
Statistics for filesystem 0
* files successfully processed:....regfiles=42, directories=3, symlinks=4, hardl inks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardli nks=0, specials=0
Error code: 0
*** Restoring Partition 2 ***
Partclone v0.2.89 http://partclone.org
Starting to restore image (/srv/dev-disk-by-label-Share/odroid-emmc-backup/parti tion_2.img) to device (/dev/mmcblk1p2)
device (/dev/mmcblk1p2) is mounted at /var/folder2ram/var/cache/samba
error exit
Partclone fail, please check /var/log/partclone.log !
Error code: 1



Why ?

I do not have the sd card attached to folder2ram since it's brand new: / Is this anything openmeidavault doing on my emmc card? - It's via an installation on Emmc I'm trying to recreate the Sd card :)

mrperfekotne
Posts: 138
Joined: Fri Nov 10, 2017 12:40 am
languages_spoken: Danish
ODROIDs: XU4
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mrperfekotne »

It's an Open Media 4 installation on Emmc I run the command from to restore on the SD card that I've put in :) - And backup is on the hard disk that sits in my cloudshell2 :)

mad_ady
Posts: 8560
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 483 times
Contact:

Re: [Howto] Odroid-Backup tool - backup and restore tool

Post by mad_ady »

It complains that /dev/mmcblk1p2 is mounted.

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 2 guests