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 11:38

Re: Help needed to do a backup
 
thanks, i mean restoring partition WITHOUT using backup is possible or not? Currently mmcblk0p28 failed to mount, filesystem is very damaged. Is there any way to recreate it with no backups?

nieldk 2014-09-14 12:22

Re: Help needed to do a backup
 
hmm
wonder if something like setting version to say 1.0.2.5 (ssu) and then doing version --dup would make a difference

coderus 2014-09-14 13:28

Re: Help needed to do a backup
 
@nieldk what are you talking about when mean ssu?

nieldk 2014-09-14 13:31

Re: Help needed to do a backup
 
ssu re 1.0.2.5
ssu ur
version --dup

perhaps that would force a download and fresh install of files, and give you a functional filesystem

jalyst 2014-09-14 13:52

Re: Help needed to do a backup
 
Fillip you have one warning, one, derail this thread once more & your posts will be removed, that goes for anyone else.
And no I won't waste my time relocating them to a new thread in the off-topic sub-forum, they will just be deleted...

N.B.
I'm not subscribed to this thread so if the BS continues please use the report facility, going to bed in about ~30min so I may not respond quickly.

pichlo 2014-09-14 14:41

Re: Help needed to do a backup
 
Quote:

Originally Posted by peterleinchen (Post 1439163)
Quote:

Originally Posted by nieldk (Post 1439161)
Unless You did some magic, the partition on Jolla is 14.8 Gb and doing a 1/1 dump will make a dd copy that size.

Right. Unless you put that file onto a storage with compression, like NTFS4 introduced (as I assume lots of zeros on p28).

I am sure you realize that a file stored on a compressed FS still has the original size (as does a sparse file for that matter, although that is not discussed here). The available space left on the drive may decrease by less than the new file size but that is irrelevant.

IOW, a 14GB file will not magically turn into a 4GB file when copied to a compressed FS. It will still be a 14GB file, albeit it may occupy only 4GB (or less) real space.

coderus 2014-09-14 14:45

Re: Help needed to do a backup
 
@nieldk please read carefully: mmcblk0p28 cannot be mounted, because of filesystem errors! we need solution to restore filesystem to working state to be able to mount it and restore factory image.

nieldk 2014-09-14 14:49

Re: Help needed to do a backup
 
Quote:

Originally Posted by coderus (Post 1439212)
@nieldk please read carefully: mmcblk0p28 cannot be mounted, because of filesystem errors! we need solution to restore filesystem to working state to be able to mount it and restore factory image.

Yes, will see how much I can compress a "factory" image for uploading somewhere.

coderus 2014-09-14 14:54

Re: Help needed to do a backup
 
so, there are no way to just recreate filesystem on mmcblk0p28 device? i think factory btrfs snapshot was not damaged and can be restored as soon as mmcblk0p28 can be mounted. is there any way to fix filesystem without using dd image?

nieldk 2014-09-14 15:04

Re: Help needed to do a backup
 
if btrfs is not damaged You should be able to use recovery to factory reset the device (perhaps even the btrfs repair option)


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

vBulletin® Version 3.8.8