maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Help needed to do a backup (https://talk.maemo.org/showthread.php?t=93849)

coderus 2014-09-14 07:59

Re: Help needed to do a backup
 
@nieldk mmcblk0p28 on N9? you smoking weeds? just do dd dump yourself before writing more answers please ;)

nieldk 2014-09-14 08:16

Re: Help needed to do a backup
 
I have dd dump from the very start, and also, it wouldnt be a dd dump if the size was not equal to the actual partition - it is a RAW partition copy dude, read up on it ;)

coderus 2014-09-14 08:41

Re: Help needed to do a backup
 
please do sudo dd if=/dev/mmcblk0p28 of=/media/sdcard/yoursdcard/image.bin now and tell it's size :)

Wonko 2014-09-14 08:55

Re: Help needed to do a backup
 
Quote:

Originally Posted by coderus (Post 1439171)
please do sudo dd if=/dev/mmcblk0p28 of=/media/sdcard/yoursdcard/image.bin now and tell it's size :)

Just a wild guess and to double check:
The filesystem on your SD card does not have a 4GB file size limit, like FAT32?
That would explain why you only get a file of ~4GB size.

nieldk 2014-09-14 09:04

Re: Help needed to do a backup
 
Quote:

Originally Posted by Wonko (Post 1439173)
Just a wild guess and to double check:
The filesystem on your SD card does not have a 4GB file size limit, like FAT32?
That would explain why you only get a file of ~4GB size.

That could be a reason for @coderus filesize, yes.

@coderus, I do a dd after every update, and you are wrong!

I DARE you to do a dd if=/dev/random of=/dev/mmcblk0p28 ;)
then dd if=yourbackup.bin if=/dev/mmcblk0p28
If your filesize is 4Gb , youre probably screwed ;)

coderus 2014-09-14 09:05

Re: Help needed to do a backup
 
hm, that explain everything. Thanks D:

nieldk 2014-09-14 09:07

Re: Help needed to do a backup
 
Quote:

Originally Posted by coderus (Post 1439175)
hm, that explain everything. Thanks D:

;)
You should create a new backup

coderus 2014-09-14 09:09

Re: Help needed to do a backup
 
I have not enough storage to do that.

So, is there any way to restore this broken partition like recreating fs without using raw dump?

nieldk 2014-09-14 09:17

Re: Help needed to do a backup
 
Quote:

Originally Posted by coderus (Post 1439177)
I have not enough storage to do that.

So, is there any way to restore this broken partition like recreating fs without using raw dump?

yes, create a tar.gz of the content.
Then you can untar that for restoring.

that would probably fit within 4Gb size

or, you could create the dd through ssh tunnelling to your PC

juiceme 2014-09-14 11:16

Re: Help needed to do a backup
 
Quote:

Originally Posted by nieldk (Post 1439178)
yes, create a tar.gz of the content.
Then you can untar that for restoring.

that would probably fit within 4Gb size

or, you could create the dd through ssh tunnelling to your PC

Or, you could connect USB networking and pipe it thru netcat, a lot faster than thru ssh via WLAN :)


All times are GMT. The time now is 19:29.

vBulletin® Version 3.8.8