maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 Backup your application packages (https://talk.maemo.org/showthread.php?t=64648)

Mohammed Muid 2012-05-14 14:45

Re: N900 Backup your application packages
 
can in be implemented via a GUI like android's titanium backup. u can backup seperate apps and also the whole phone like backupmenu does.

lucm 2012-05-14 19:23

Re: N900 Backup your application packages
 
Thank you, but I wouldn't be able to do that.

Can you? Do you know what commands I can run on the command line to backup an entire application and restore it on another phone?

I know this is borderline piracy, but Nokia isn't giving me any choice.

sifo 2012-05-14 19:47

Re: N900 Backup your application packages
 
@lucm
hmmm...this post since 2010 and now we are 2012 and we have backupmenu it is better than this it will back up all the applications not the name list and you can restore them as long you got backupmenu application

./sifo

zimon 2012-05-14 20:02

Re: N900 Backup your application packages
 
Quote:

Originally Posted by lucm (Post 1206700)
Do you know what commands I can run on the command line to backup an entire application and restore it on another phone?

backup:
Code:

dpkg -L panorama | xargs tar czf panorama.tgz
restore:
Code:

cd /;tar xzf panorama.tgz

Estel 2012-05-14 20:02

Re: N900 Backup your application packages
 
backupmenu. It's the answer. Search for it. even more importantly, it won't only allow You to backup/restore some useless "app", but will also save Your a** many times, without need to reflash device, in case something gone wrong.

/Estel

magick777 2012-05-14 20:35

Re: N900 Backup your application packages
 
No promises, but, if your friend downloaded a conventional .deb installer file then there's every chance it'll be cached in /var/cache/apt/archives on his/her phone.

If it is, then copying the deb file and installing it with dpkg -i <filename> should do the trick.

magick777 2012-05-14 20:44

Re: N900 Backup your application packages
 
Ho-hum. A little bit of digging reveals that the file is available on the Nokia Ovi repository.


maemo:~# cat /etc/apt/sources.list.d/hildon-application-manager.list
deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/203 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.3 free non-free
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb http://repository.maemo.org/community/ fremantle free non-free
deb http://repository.maemo.org/community-testing/ fremantle free non-free

maemo:~# apt-cache search panorama
panorama - Capture panoramic images on the go
morphoquickpanorama - Morpho QuickPanorama Free Trial
milkyway-wallpaper - The Milky Way panorama
hemsedal2008-wallpaper - Panorama from Hemsedal skicenter
rmz-helsinki-wallpaper - A panorama of Helsinki
rmz-senaatintori-wallpaper - A panorama of the Senaatintori, Helsinki
vj-wallpaper - A view on a tiny lake in spring time

maemo:~# apt-get install panorama
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
panorama
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 458kB of archives.
After this operation, 1102kB of additional disk space will be used.
Get:1 https://downloads.maemo.nokia.com ./ panorama 2.0.5 [458kB]
Fetched 458kB in 1s (253kB/s)
Selecting previously deselected package panorama.
(Reading database ... 33295 files and directories currently installed.)
Unpacking panorama (from .../panorama_2.0.5_armel.deb) ...
Setting up panorama (2.0.5) ...
maemo:~#


Configure the relevant repository and you should be all good to go...

lucm 2012-05-15 20:42

Re: N900 Backup your application packages
 
Quote:

Originally Posted by magick777 (Post 1206735)
Ho-hum. A little bit of digging reveals that the file is available on the Nokia Ovi repository.
(...)

Yes! Your method works. I have Panorama now. Yay. :) Mark as SOLVED.

However, for the sake of information...

Quote:

Originally Posted by magick777 (Post 1206730)
No promises, but, if your friend downloaded a conventional .deb installer file then there's every chance it'll be cached in /var/cache/apt/archives on his/her phone. If it is, then copying the deb file and installing it with dpkg -i <filename> should do the trick.

No, we couldn't find it on my friend's phone, not in /var/cache/apt/archives. But I found it on MY phone, and I copied it to a safe place. Yay! :D


Quote:

Originally Posted by Estel (Post 1206718)
backupmenu. It's the answer. Search for it. even more importantly, it won't only allow You to backup/restore some useless "app", but will also save Your a** many times, without need to reflash device, in case something gone wrong.

I know backupmenu, I already have it, but it backs up EVERYTHING, doesn't it? That would turn my phone an exact replica of my friend's phone. Not what I want.

Quote:

Originally Posted by zimon (Post 1206717)
backup:
Code:

dpkg -L panorama | xargs tar czf panorama.tgz
restore:
Code:

cd /;tar xzf panorama.tgz

Interesting method, pretty much what I expected it would be like, but it doesn't work. The tarball just keeps growing, and growing, and growing... until it runs out of space. It created an 80-something MB tarball here. So I repeated the process piping the result to 'more' and there doesn't seem to be much there. Panorama was definitely not there. I have no idea what happened. :confused:


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

vBulletin® Version 3.8.8