maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Backup - Makeing image of all device partitions (https://talk.maemo.org/showthread.php?t=95460)

Ridd92 2015-05-06 17:47

Backup - Makeing image of all device partitions
 
Hi there all

I couldn't find related post to my questions.

In odrer to keep my devices working when repositories go down for good, or any other bad thing will happen I would like to make images of (For example my Nokia 770) all partitions that will include:
-System partiton (With installed programs, settings etc)
-Home partiton
-RS-MMC Card.

Is there a software that will do that? If so, how to do it? And finally how to use those images to "flash" tablet with them?

My point is to install new os on my device, download and install needed software, make device suitable for me and than make image (clone) of partitons.

If something goes wrong and my device will need flashing I would like to have already prepared os (With apps and so) to install it directly to the device.

Step-by-step would be nice, but I can work with anything.

tioubxancur 2015-05-06 18:25

Re: Backup - Makeing image of all device partitions
 
use the dd utility

Ridd92 2015-05-09 07:17

Re: Backup - Makeing image of all device partitions
 
Got some following questions:

1. Is it better to clone whole drive disk, or all partitions alone?

2. How to prepare tablet to do a thing? I mean, when it's on, and the os is up will it be possible to clone entire drive? I'm not even sure if I can mount system partition under Linux PC. Should I run my
770 in flashing mode?

3. If Im not wrong, after I have cloned the hd in order to get it back to the device I should use:

Quote:

# gunzip -c /path/to/backup.img.gz | dd of=/dev/sdX

tioubxancur 2015-05-12 03:16

Re: Backup - Makeing image of all device partitions
 
Quote:

Originally Posted by Ridd92 (Post 1469752)
Got some following questions:

1. Is it better to clone whole drive disk, or all partitions alone?

2. How to prepare tablet to do a thing? I mean, when it's on, and the os is up will it be possible to clone entire drive? I'm not even sure if I can mount system partition under Linux PC. Should I run my
770 in flashing mode?

3. If Im not wrong, after I have cloned the hd in order to get it back to the device I should use:
# gunzip -c /path/to/backup.img.gz | dd of=/dev/sdX

1. I would prefer the whole disk, as it would work even if you make changes in the partitions and then restore later.

2. No Idea about your device. I have an N9, and i would do the maintenance boot to mount the partitions and then do backup/restore. (I havent tried restoring yet, but have taken backup, works)

3. Yes, provided you have saved the disk in .gz format
# dd if=/dev/sdX conv=sync,noerror bs=64K | gzip -c > /path/to/backup.img.gz

endsormeans 2015-05-12 05:17

Re: Backup - Makeing image of all device partitions
 
Hum...backup for the 770? yea dd.
didn't penguinbait do any easy tool set for the 770?
I know he did all kinds and varieties ...and if my memory serves I thought he did something for the 770.
the n800/n810 has console tools v1 and the like which has reallll easy peasy backup tools...

In a slight aside..
One thing I am finding rather alarming in general that I have been noticing lately...is that web searches which I have quite constantly done...virtually daily ...for years...rather suddenly are not returning much at all on the exact same maemo topics that they did just a few months ago. Where there would be scads of pages...I'm lucky if I see 1 or 3 or 4 pages of results in some cases. little unsettling that...like the search engines don't want to spit them out...


All times are GMT. The time now is 08:58.

vBulletin® Version 3.8.8