<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: users' home directory migration in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910189#M284411</link>
    <description>Hi&lt;BR /&gt;yes it would normally work.&lt;BR /&gt;Nevertheless by using James proposal with tar, you got an extra check...&lt;BR /&gt;tar would complain if any files changes during the operation.&lt;BR /&gt;&lt;BR /&gt;here's another proposal for your evaluation:&lt;BR /&gt;&lt;BR /&gt;server2# cd /home&lt;BR /&gt;server2# ssh root@server1 "cd /home;tar -cf - ./ | /usr/contrib/bin/gzip -c " | gunzip -c | tar -xf -&lt;BR /&gt;&lt;BR /&gt;Use tvf instead of xf in case you want to check what you're pulling over.&lt;BR /&gt;&lt;BR /&gt;In this example I used ssh, but if you have remsh setup, you surely could use this instead. If you don't have gzip/gunzip you could use compress/zcat or simply don't try to perform any compression.&lt;BR /&gt;&lt;BR /&gt;If you transfer over a wan I would consider to store to file, perform a checksum of the file, transfer it, checksum again, unpack.&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
    <pubDate>Sun, 10 Dec 2006 15:15:53 GMT</pubDate>
    <dc:creator>Tor-Arne Nostdal</dc:creator>
    <dc:date>2006-12-10T15:15:53Z</dc:date>
    <item>
      <title>users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910185#M284407</link>
      <description>I am migrating the users' home directories from one(1)machine to (2) another. the machine 2 already has the home directories but i need to copy some user data which may be there.. will this work.&lt;BR /&gt;&lt;BR /&gt;I share the /home on 1 and mount it on 2 in /mnt&lt;BR /&gt;1. mount machine1:/home /mnt&lt;BR /&gt;2. cd /mnt&lt;BR /&gt;3. cp -rp * /home&lt;BR /&gt;&lt;BR /&gt;will this copy all contents under /home of machine1 to machine2's /home.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Thomas&lt;BR /&gt;3.</description>
      <pubDate>Fri, 08 Dec 2006 18:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910185#M284407</guid>
      <dc:creator>M.Thomas</dc:creator>
      <dc:date>2006-12-08T18:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910186#M284408</link>
      <description>Hi Thomas:&lt;BR /&gt;&lt;BR /&gt;Assuming that you don't have any largefiles to accomodate, I'd do this:&lt;BR /&gt;&lt;BR /&gt;...on server-1:&lt;BR /&gt;&lt;BR /&gt;# tar -cvf /somepath/archive /home&lt;BR /&gt;&lt;BR /&gt;# rcp /somepath/archive server2:/somepath/archive&lt;BR /&gt;&lt;BR /&gt;...on server-2:&lt;BR /&gt;&lt;BR /&gt;# tar -xvf /somepath/archive /home&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 08 Dec 2006 18:55:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910186#M284408</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-08T18:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910187#M284409</link>
      <description>M.Thomas,&lt;BR /&gt;&lt;BR /&gt;one minor concern or point..&lt;BR /&gt;&lt;BR /&gt;verify each acct name on "machine2".. by:&lt;BR /&gt;&lt;BR /&gt;cd /home&lt;BR /&gt;ls -l&lt;BR /&gt;&lt;BR /&gt;if you happen to see ### numbers as the "owner" of the directory, then you will have to Re-Set the Acct Owner names.&lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt;cd /home/thomas&lt;BR /&gt;chown thomas .&lt;BR /&gt;find . -exec chown thomas {} \;&lt;BR /&gt;&lt;BR /&gt;# verify&lt;BR /&gt;find . -exec ls -l {} \;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 09 Dec 2006 22:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910187#M284409</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2006-12-09T22:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910188#M284410</link>
      <description>Thomas,&lt;BR /&gt;&lt;BR /&gt;If you have tape drive on both the system , you can simply do , tar -cvf  and in the other tar -xvf  for the home directory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also you can NFS mount the /home of the source into the target and use cp -rp ,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Sat, 09 Dec 2006 23:25:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910188#M284410</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-12-09T23:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910189#M284411</link>
      <description>Hi&lt;BR /&gt;yes it would normally work.&lt;BR /&gt;Nevertheless by using James proposal with tar, you got an extra check...&lt;BR /&gt;tar would complain if any files changes during the operation.&lt;BR /&gt;&lt;BR /&gt;here's another proposal for your evaluation:&lt;BR /&gt;&lt;BR /&gt;server2# cd /home&lt;BR /&gt;server2# ssh root@server1 "cd /home;tar -cf - ./ | /usr/contrib/bin/gzip -c " | gunzip -c | tar -xf -&lt;BR /&gt;&lt;BR /&gt;Use tvf instead of xf in case you want to check what you're pulling over.&lt;BR /&gt;&lt;BR /&gt;In this example I used ssh, but if you have remsh setup, you surely could use this instead. If you don't have gzip/gunzip you could use compress/zcat or simply don't try to perform any compression.&lt;BR /&gt;&lt;BR /&gt;If you transfer over a wan I would consider to store to file, perform a checksum of the file, transfer it, checksum again, unpack.&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Sun, 10 Dec 2006 15:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910189#M284411</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2006-12-10T15:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910190#M284412</link>
      <description>local copy:&lt;BR /&gt;vxdump 0f - /&lt;SOURCE&gt; | (cd /&lt;DESTINATION&gt;; vxrestore rvf - )&lt;BR /&gt;find . -depth | cpio -dumpv /&lt;DESTINATION&gt;&lt;BR /&gt;&lt;BR /&gt;remote copy though ssh:&lt;BR /&gt;tar cf - . | ssh user@host "(cd &lt;DIR&gt;; tar xf - )"&lt;BR /&gt;&lt;BR /&gt;for local use i think the find way is the fastes.&lt;BR /&gt;If you think that you may have most of the data on the destination, and only what to overright it if it is newer than the destination, you could use the tool rsync.&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/rsync-2.6.8/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/rsync-2.6.8/&lt;/A&gt;&lt;BR /&gt;&lt;/DIR&gt;&lt;/DESTINATION&gt;&lt;/DESTINATION&gt;&lt;/SOURCE&gt;</description>
      <pubDate>Sun, 10 Dec 2006 15:33:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910190#M284412</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2006-12-10T15:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910191#M284413</link>
      <description>Hi thomas.&lt;BR /&gt;Why dont you do a fbackup of server 1 &lt;BR /&gt;home directory, and download that backup on to server 2.</description>
      <pubDate>Mon, 11 Dec 2006 02:15:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910191#M284413</guid>
      <dc:creator>Fabian Briseño</dc:creator>
      <dc:date>2006-12-11T02:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910192#M284414</link>
      <description>thanks. so many options. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thomas</description>
      <pubDate>Mon, 11 Dec 2006 08:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910192#M284414</guid>
      <dc:creator>M.Thomas</dc:creator>
      <dc:date>2006-12-11T08:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910193#M284415</link>
      <description>Set up .rhosts on both machines so that you can remote shell.&lt;BR /&gt;&lt;BR /&gt;On ServerA&lt;BR /&gt;# cd /home/userhome/dirA &lt;BR /&gt;# (find . -xdev|cpio -coax)|remsh serverB "cd /home/userhome/newdir;cpio -icdmuxla" &lt;BR /&gt;&lt;BR /&gt;Test it out on some test files before you try it on the user home.&lt;BR /&gt;Geetha.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2006 11:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910193#M284415</guid>
      <dc:creator>Geetha_1</dc:creator>
      <dc:date>2006-12-11T11:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: users' home directory migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910194#M284416</link>
      <description>actually it is not a very big size so i decided to follow the suggextion from JRF. i have the home.tar under /tmp on the destination machine now. should i cd /home and run the command..i am confused as i just do not want to create a /home/home/&lt;USERID&gt; i just need to append the current /home/userid with the files and directories from the tar file, please help&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Thomas&lt;/USERID&gt;</description>
      <pubDate>Mon, 11 Dec 2006 12:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/users-home-directory-migration/m-p/3910194#M284416</guid>
      <dc:creator>M.Thomas</dc:creator>
      <dc:date>2006-12-11T12:26:38Z</dc:date>
    </item>
  </channel>
</rss>

