We have moved to a new Sailfish OS Forum. Please start new discussions there.
9

How to backup home directory?

asked 2014-08-10 18:51:11 +0200

AnaT gravatar image

Currently the backup application mentions it would backup only accounts, browser, gallery, playlists, messages, people, and phone. How about other application data, Documents, Downloads, Templates etc, how can those be backed up?

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted
6

answered 2014-08-10 19:10:29 +0200

chemist gravatar image

updated 2015-07-13 15:38:13 +0200

As long as Alien-Dalvik is not running you may just tar it to your sdcard (as root).

# tar cf $path-to-sdcard/home.tar -C $HOME .

please be aware that recovering it may screw up tracker and other things that need to be recovered after you overwrite your home

you may also rsync the directory to a pc directly, preserve owner and permissions there!

It is not a good idea to restore on another release than on the one you backed up from - especially older releases, upgrade to the one you backed up from first!

edit flag offensive delete publish link more

Comments

Are you sure about the last dot?

Sthocs ( 2014-08-10 19:38:50 +0200 )edit

@Sthocs I don't know if it is needed but I doubt it hurts, does it?

chemist ( 2014-08-10 21:36:49 +0200 )edit

So there really is no GUI way for this?

I don't get the last last dot either. What are you trying to achieve with it?

AnaT ( 2014-08-11 12:06:17 +0200 )edit

I don't know if "-C" already covers the files-to-tar part so I add the specific ".", is that wrong?

And yes, there is no gui for it

chemist ( 2014-08-11 12:52:32 +0200 )edit
1

Where is the point in rsync on windows? You need to preserv file owner and permissions.

chemist ( 2014-09-16 22:23:14 +0200 )edit
2

answered 2015-02-04 17:03:23 +0200

NicePics13 gravatar image

My Music folder had only .flac audio files in it, after a factory reset and backup restore it was empty. I find this odd as the Videos folder had many different file formats (.mkv, .webm etc) that were successfully backed up.

edit flag offensive delete publish link more

Comments

2

please report this as bug as this is that you actually think the folder gets backed up but only specific file types get backed up...

chemist ( 2015-02-04 19:03:05 +0200 )edit

Is it a bug? I've been testing several times and the only thing the Media backup does is backing up your playlists - not your music, whether .flac or .mp3!

NicePics13 ( 2015-02-04 20:34:15 +0200 )edit
Login/Signup to Answer

Question tools

Follow
10 followers

Stats

Asked: 2014-08-10 18:51:11 +0200

Seen: 1,646 times

Last updated: Jul 13 '15