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

Howto backup /home to PC Sony Xperia X

asked 2020-02-29 07:02:28 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2020-02-29 07:02:28 +0200

willi gravatar image

I would like to 100% backup the /home directory. Who can help me? Thanks.

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted
5

answered 2020-02-29 10:18:32 +0200

Nieldk gravatar image

use rsync

rsync -avz -e ssh /home/nemo/ nemo@ip.of.device:/backup/destination/directory/

edit flag offensive delete publish link more

Comments

Thanks @Nieldk, useful information.

When I read your answer, i was curious as to what each of the letters represent, so i looked them up. This is probably common knowledge for some but I will list them here anyway;

-v : verbose
-a : archive mode, it allows copying files recursively and preserves symbolic links, file permissions, 
      user & group ownerships and timestamps
-z : compresses data
-h : human-readable, it output numbers in a human-readable format

But, what does the -e represent?

Spam Hunter ( 2020-02-29 12:24:26 +0200 )edit
1

-e, --rsh=COMMAND specify the remote shell to use

eson ( 2020-02-29 14:58:07 +0200 )edit

Do I have to install rsync first, or is it inside SFOS already? Thanks

willi ( 2020-02-29 15:21:15 +0200 )edit

@willi - why don't you just try the command first? :) (I believe rsync is already installed as part of the suite 'linux utils')

@eson - thanks! :)

Spam Hunter ( 2020-02-29 15:31:36 +0200 )edit

There's too less information from @willi to give a detailed solution IMO. For example what kind of PC?

I'm not a Linux expert but doesn't @Nieldk's command assume that the destination system is a Linux one? And doesn't it further assume that there has to exist a "nemo" user on the PC and that an ssh server is installed and running?

Pohli ( 2020-02-29 20:39:34 +0200 )edit
0

answered 2020-03-01 17:43:30 +0200

objectifnul gravatar image

I use luckybackup (Ubuntu, Debian etc.) and SSH. Much faster with USB than Wifi, of course.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2020-02-29 07:02:28 +0200

Seen: 518 times

Last updated: Mar 01 '20