<?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: frecover in differents paths in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483366#M18503</link>
    <description>Unfortunately my first solution only works with whole directories, not individual files.&lt;BR /&gt;&lt;BR /&gt;If you have access to the backup process, maybe you could do the following-&lt;BR /&gt;&lt;BR /&gt;cd /dbdata&lt;BR /&gt;mkdir group1 group2&lt;BR /&gt;mv file1 file3 file5 group1&lt;BR /&gt;mv file2 file4 group2&lt;BR /&gt;fbackup -f /dev/tape -i /dbdata&lt;BR /&gt;# following fbackup, you can move files back&lt;BR /&gt;&lt;BR /&gt;Then use my previous suggestion as a way to restore to two different file systems. You then need to do "mv" to put the final files in their proper place in the subdirectory u01 or u02.&lt;BR /&gt;&lt;BR /&gt;Apart from this, I don't think you can have frecover to individual files (would be a nice feature though :) ). Maybe Interex could recommend an option to the graph file, that if a path follows the "i /dir1/dir2/file" on the same line, that that should be the placement for the specified file or directory.&lt;BR /&gt;&lt;BR /&gt;Good Luck</description>
    <pubDate>Thu, 18 Jan 2001 19:41:40 GMT</pubDate>
    <dc:creator>Rodney Hills</dc:creator>
    <dc:date>2001-01-18T19:41:40Z</dc:date>
    <item>
      <title>frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483358#M18495</link>
      <description>Hi all!&lt;BR /&gt;I'm going to reorganize all the filesystems in an autoRAID 12h. I'm going to delete the actual configuration (/dbdata, /respaldo) and I'm going to create /u01, /u02 and /b01. Before to delete everything I going to do a fbackup (with the all paths), but I would like to know if there is any possibility to restore just once, because some files that were on /dbdata I will restore them on /u01 and others in /u02, and I thing I will need to restore twice the same tape with frecover -f /dev/rmt/0m -xFv i /dbdata/...... Am I wrong? or anybody in just once time have ever restore a tape through multiple filesystems?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Veronica</description>
      <pubDate>Tue, 16 Jan 2001 22:41:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483358#M18495</guid>
      <dc:creator>Verónica Muñoz Segovia</dc:creator>
      <dc:date>2001-01-16T22:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483359#M18496</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm not sure that you will want the -F option.  This strips off the entire path of the file and places the file in the current directory.  For example, say you have /dbdata/DIR-A/file1 backed up and you execute your frecover command in the /u01 directory.  You will end up with /u01/file1 and lose the DIR-A directory.&lt;BR /&gt;&lt;BR /&gt;You may want to use the -X option instead from /u01, which will give you /u01/dbdata/DIR-A/file1.  You can then move DIR-A to /u01 with mv and then rmdir /u01/dbdata.&lt;BR /&gt;&lt;BR /&gt;--Bruce</description>
      <pubDate>Wed, 17 Jan 2001 03:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483359#M18496</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2001-01-17T03:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483360#M18497</link>
      <description>Thanks for your answer. I could use either -F or -X, I don't care about the second path, the point is that I only will have three hours to do the restore, and I want to loose the less time because we have just 24 hours to do a list of activities and after that we will need to free the server to production, that's my mayor issue the time, that's why I want to know if it's possible to in just one time could recover the tape in differents paths.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Wed, 17 Jan 2001 14:20:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483360#M18497</guid>
      <dc:creator>Verónica Muñoz Segovia</dc:creator>
      <dc:date>2001-01-17T14:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483361#M18498</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I don't think you can restore into two different directories with one frecover command.  The one thing you could do is put the multiple frecover commands into a shell script so that the second one begins as soon as the first one completes and so on.  Not much time savings but better than nothing.&lt;BR /&gt;&lt;BR /&gt;--Bruce</description>
      <pubDate>Wed, 17 Jan 2001 15:04:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483361#M18498</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2001-01-17T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483362#M18499</link>
      <description>Thanks again, you're right I cannot do that but that's a good idea to put the two fbackup in a script.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Veronica</description>
      <pubDate>Wed, 17 Jan 2001 16:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483362#M18499</guid>
      <dc:creator>Verónica Muñoz Segovia</dc:creator>
      <dc:date>2001-01-17T16:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483363#M18500</link>
      <description>Let's say you have have directories /a/data and /a/prog backed up on a fbackup tape. And you want /a/data put on /u01 and /a/prog put on /u02 in one pass, I believe if you create&lt;BR /&gt;&lt;BR /&gt;mkdir -p /u02/prog&lt;BR /&gt;ln -s /u02/prog /u01/a/prog&lt;BR /&gt;cd /u01&lt;BR /&gt;frecover -xXf /dev/tape -I /a&lt;BR /&gt;&lt;BR /&gt;frecover will complain during the restore that /u01/a/prog exists and is not a directory, but it will still restore the items onto /u02.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jan 2001 16:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483363#M18500</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2001-01-17T16:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483364#M18501</link>
      <description>I don't know if I'm so tired trying to find a solution, but I think don't understand very well.&lt;BR /&gt;&lt;BR /&gt;For example, I had backed up the directory /dbdata and that directory have file1, file2, file3, file4, file5, then when I did the reestructuration I will restore them as follow /u01/file1, /u02/file2, /u01/file3, /u01,file4, /u02/file5. How can I create a link that have reference with the u01 filesystem?&lt;BR /&gt;&lt;BR /&gt;I appreciated your help because I have even headache.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Wed, 17 Jan 2001 22:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483364#M18501</guid>
      <dc:creator>Verónica Muñoz Segovia</dc:creator>
      <dc:date>2001-01-17T22:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483365#M18502</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can try this:&lt;BR /&gt;&lt;BR /&gt;# cd /u01&lt;BR /&gt;# frecover -xovFf /dev/rmt/0m -i /dbdata&lt;BR /&gt;#cd /u02&lt;BR /&gt;# frecover -xovFf /dev/rmt/0m -i /respaldo&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 18 Jan 2001 07:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483365#M18502</guid>
      <dc:creator>Mr Amir Mujtabain</dc:creator>
      <dc:date>2001-01-18T07:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483366#M18503</link>
      <description>Unfortunately my first solution only works with whole directories, not individual files.&lt;BR /&gt;&lt;BR /&gt;If you have access to the backup process, maybe you could do the following-&lt;BR /&gt;&lt;BR /&gt;cd /dbdata&lt;BR /&gt;mkdir group1 group2&lt;BR /&gt;mv file1 file3 file5 group1&lt;BR /&gt;mv file2 file4 group2&lt;BR /&gt;fbackup -f /dev/tape -i /dbdata&lt;BR /&gt;# following fbackup, you can move files back&lt;BR /&gt;&lt;BR /&gt;Then use my previous suggestion as a way to restore to two different file systems. You then need to do "mv" to put the final files in their proper place in the subdirectory u01 or u02.&lt;BR /&gt;&lt;BR /&gt;Apart from this, I don't think you can have frecover to individual files (would be a nice feature though :) ). Maybe Interex could recommend an option to the graph file, that if a path follows the "i /dir1/dir2/file" on the same line, that that should be the placement for the specified file or directory.&lt;BR /&gt;&lt;BR /&gt;Good Luck</description>
      <pubDate>Thu, 18 Jan 2001 19:41:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483366#M18503</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2001-01-18T19:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: frecover in differents paths</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483367#M18504</link>
      <description>Thanks for your help, the option to restore directories is very useful, but as you said unfortunately I want to move files, but again thank you very very much for your help.</description>
      <pubDate>Thu, 18 Jan 2001 20:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/frecover-in-differents-paths/m-p/2483367#M18504</guid>
      <dc:creator>Verónica Muñoz Segovia</dc:creator>
      <dc:date>2001-01-18T20:42:30Z</dc:date>
    </item>
  </channel>
</rss>

