Warning: Undefined array key "rcommentid" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 481

Warning: Undefined array key "rchash" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 482

move home directory to a new computer


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

to move to a new computer without having to fiddle with the settings of programs etc again, you can:

let’s assume your user on the old computer has the name “myname”. log in on the new computer and make a user with the name “myname” (in my case, it also had the same numerical user ID as on the old computer)

on the old computer:
log in as root on a TTY (make sure nobody else is logged in)

1
2
cd /home
tar -pzcf myname.tar.gz myname

then scp myname.tar.gz to the /home folder of the new computer

on the new computer:
log in as root on a TTY (make sure nobody else is logged in)

1
2
3
cd /home
mv myname myname_orig
tar -xzf myname.tar.gz

and you should have all your settings, files, … on the new computer.

Leave a Reply


Warning: Undefined variable $user_ID in /homepages/15/d790331382/htdocs/wp-content/themes/thamnos/comments.php on line 65


Warning: Undefined array key "rerror" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 401