Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-02-2006, 05:39 AM   #1
Registered: Sep 2003
Location: Bangladesh
Distribution: Debian
Posts: 102

Rep: Reputation: 15
transfering all users from one server to another

I want to transfer my all 500 user fom one server to another. what will eb the procedure.

Will I create a tar file of my home directory and then ftp that file to my new server..

pls help me with the proper tar and untar command...

cause I know
tar -xvf home.tar home/

is that alright..?
Old 05-02-2006, 06:08 AM   #2
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Copy the files /etc/passwd /etc/shadow /etc/group and /etc/sudoers
to the new server first.

Then take a back up as u said

tar -zcvpf home.tgz /home/

This tgz file can be untarred in the other server from root directory.
tar -zxvpf home.tgz -C /


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
transfering an xp lisence from one pc to another mike10 General 9 03-15-2006 10:29 AM
transfering a whole dataserver xpucto Linux - Newbie 5 02-08-2006 09:25 AM
Transfering file lazwaz Programming 1 05-26-2005 04:34 PM
Transfering my files unixfreak Linux - Newbie 1 08-11-2004 09:53 PM
Transfering many users accounts from a FreeBSD 4.4 box to another one stepbysteph *BSD 1 11-09-2003 12:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration