<?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 backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926879#M817102</link>
    <description>can i restore 2 direcotories at same time from tape using tar ?&lt;BR /&gt;&lt;BR /&gt;ex: /d1 and /d2 to be restore at same time&lt;BR /&gt;</description>
    <pubDate>Sat, 17 Sep 2005 16:53:04 GMT</pubDate>
    <dc:creator>srinivasa rao vaddadi</dc:creator>
    <dc:date>2005-09-17T16:53:04Z</dc:date>
    <item>
      <title>backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926879#M817102</link>
      <description>can i restore 2 direcotories at same time from tape using tar ?&lt;BR /&gt;&lt;BR /&gt;ex: /d1 and /d2 to be restore at same time&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Sep 2005 16:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926879#M817102</guid>
      <dc:creator>srinivasa rao vaddadi</dc:creator>
      <dc:date>2005-09-17T16:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926880#M817103</link>
      <description>hi&lt;BR /&gt;sure you can&lt;BR /&gt;tar xvf /d1 /d2&lt;BR /&gt;&lt;BR /&gt;but iw ould suggest to NEVER use absolute path in storing files with tar cause hpux tar cannot change directory while restoring. I mean if you do something like:&lt;BR /&gt;tar cvf /dev/rmt/0m /users/me/dirtostore&lt;BR /&gt;you cannot simply restore in&lt;BR /&gt;/users/you/dirtostore&lt;BR /&gt;better do something like&lt;BR /&gt;cd /users/me; tar c ./dirtostore&lt;BR /&gt;last hint&lt;BR /&gt;tar store and restore recursively, so tar x /d1&lt;BR /&gt;will get everything on tape start with /d1&lt;BR /&gt;&lt;BR /&gt;hope it helps</description>
      <pubDate>Sat, 17 Sep 2005 17:39:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926880#M817103</guid>
      <dc:creator>Cesare Salvioni</dc:creator>
      <dc:date>2005-09-17T17:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926881#M817104</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yes, absolutely.  For example:&lt;BR /&gt;&lt;BR /&gt;# cd /var/tmp/newdir&lt;BR /&gt;# tar -xvf /dev/rmt0m ./dir1 ./dir2&lt;BR /&gt;&lt;BR /&gt;...would restore the directories "dir1" and "dir2" and their respective contents into /var/tmp/newdir.  This assumes that your archive was created using relative paths -- which is usually very desirable when creating 'tar' archives.  Use of relative paths gives you the flexability to recover (restore) things in places other than from where they came.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Sep 2005 17:40:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926881#M817104</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-17T17:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926882#M817105</link>
      <description>Follow up to the answers rather than the question, as the question's already answered :)&lt;BR /&gt;&lt;BR /&gt;Actually, you *can* restore absolute paths without overwriting the current contents of those directories, but it's a hassle.&lt;BR /&gt;&lt;BR /&gt;chroot will create a new root directory for you to restore these from.  However, you'll also need to copy in a bunch of other files to make the new root dir work correctly - /bin, /sbin, and I think /etc (long time since I did this).&lt;BR /&gt;&lt;BR /&gt;I had a machine set up for this .... some years back when I was having to do a lot of recoveries of tar files from customer machines.  I ended up creating a chroot dir on one machine where I'd restore stuff each time, exit from the chroot, then copy the files back to where I wanted them.  Was very handy with things like (small) databases etc. We were running multiple customer databases for debugging on one machine, yet the standard install that we'd push out put them all in the same place.</description>
      <pubDate>Sat, 17 Sep 2005 19:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926882#M817105</guid>
      <dc:creator>Stuart Whitby</dc:creator>
      <dc:date>2005-09-17T19:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926883#M817106</link>
      <description>thanq for all.</description>
      <pubDate>Mon, 19 Sep 2005 11:20:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926883#M817106</guid>
      <dc:creator>srinivasa rao vaddadi</dc:creator>
      <dc:date>2005-09-19T11:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926884#M817107</link>
      <description>thnq for replying me.</description>
      <pubDate>Mon, 19 Sep 2005 11:42:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/backup/m-p/4926884#M817107</guid>
      <dc:creator>srinivasa rao vaddadi</dc:creator>
      <dc:date>2005-09-19T11:42:44Z</dc:date>
    </item>
  </channel>
</rss>

