maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Nokia N900 Full Backup (https://talk.maemo.org/showthread.php?t=36934)

j.s 2009-12-13 07:31

Re: Nokia N900 Full Backup
 
Quote:

Originally Posted by dukenukem (Post 424995)
rsync -avHl --exclude-from=/media/mmc1/sync_exclude / /media/mmc1/backup

that saved my *** a couple of times...

I assume the filesystem on /media/mmc1 needs to support hard and symbolic links and special files?

Can the /dev tree be backed up that way?

I thought there are problems trying to back up or restore a root filesystem that is booted and running.

j.s 2009-12-13 07:33

Re: Nokia N900 Full Backup
 
Quote:

Originally Posted by cardiff-blues (Post 424997)
And is there a more user friendly way of doing this?

For some kinds of users, that is about as friendly as it gets.

Kieron 2009-12-13 09:58

Re: Nokia N900 Full Backup
 
I'd just prefer to be able to do a full, almost mirror of the entire device. Hope this becomes a possibilty soon. :(

dukenukem 2009-12-13 10:06

Re: Nokia N900 Full Backup
 
Quote:

Originally Posted by j.s (Post 425259)
I assume the filesystem on /media/mmc1 needs to support hard and symbolic links and special files?

Can the /dev tree be backed up that way?

I thought there are problems trying to back up or restore a root filesystem that is booted and running.

yes of course it has to support links and so on. fat won't suffice.
and yes /dev can be backed up. in my expierience restoring the whole system with rsync in that way alsways worked...

Corwin 2009-12-13 10:30

Re: Nokia N900 Full Backup
 
Quote:

Originally Posted by Laughing Man (Post 425150)
I don't think it backup application specific settings though.

Let me think - I had gPodder installed before and reinstalled it after the reflash and restore. I think It knew my podcasts.

Probably one of the Topdogs here can explain if and why.

Regards,
Corwin

Kieron 2009-12-13 10:47

Re: Nokia N900 Full Backup
 
Quote:

Originally Posted by Corwin (Post 425388)
Let me think - I had gPodder installed before and reinstalled it after the reflash and restore. I think It knew my podcasts.

Probably one of the Topdogs here can explain if and why.

Regards,
Corwin

Because reflashing doesn't affect the 32gb internal memory card....?

Corwin 2009-12-13 11:29

Re: Nokia N900 Full Backup
 
OK, so if you are only reflashing the rootfs and the apps stay optified in the eMMC, after reinstalling you should have all steeings, right?

The question remains, though, wether it restores application settings or not (in case you also flash the eMMC image).

youNit 2009-12-13 11:44

Re: Nokia N900 Full Backup
 
Application settings usually are kept in "/home/usrname/.appname" -->> on the 32GB Memory.
Consequently, they wont gest lost in the reflashing process.

david_vargas_85 2009-12-30 09:43

Re: Nokia N900 Full Backup
 
Speaking of backups, is there anyway to back up just SMS and Email on the device?

Better yet, is there anyway to export/archive SMS (whole conversations) in a text file?

Just got the device as a gift for XMAS and i would love to use it as my one and only device but I can't do that unless SMS can be archived (need it for work)

zer089 2009-12-30 11:48

Re: Nokia N900 Full Backup
 
Quote:

Originally Posted by dukenukem (Post 424995)
if you are willing to use the terminal then you can use rsync.
after becoming root and adding the devel repository you can get it with apt-get install rsync
then you could use:
rsync -avHl --exclude-from=/media/mmc1/sync_exclude / /media/mmc1/backup
where the sdcard is mounted a mmc1
sync_exclude would contain:
/sys
/proc
/media
/mnt
/home/user/MyDocs
/home/

that saved my *** a couple of times...

I managed to back everything up, now I am just wondering how I would go about restoring it, specifically the command I would use to copy the backup files to where they need to be?


All times are GMT. The time now is 02:36.

vBulletin® Version 3.8.8