<?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 Using vgcfgbackup to backup all Volume Groups in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874613#M609265</link>
    <description>I understand that vgcfgbackup takes a VG as an argument, but I would like to backup all Volume Groups, is there a script available for it?</description>
    <pubDate>Wed, 04 Oct 2006 16:38:34 GMT</pubDate>
    <dc:creator>dictum9</dc:creator>
    <dc:date>2006-10-04T16:38:34Z</dc:date>
    <item>
      <title>Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874613#M609265</link>
      <description>I understand that vgcfgbackup takes a VG as an argument, but I would like to backup all Volume Groups, is there a script available for it?</description>
      <pubDate>Wed, 04 Oct 2006 16:38:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874613#M609265</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-10-04T16:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874614#M609266</link>
      <description>#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;for myvg in /dev/vg*&lt;BR /&gt;do vgcfgbackup $myvg&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Wed, 04 Oct 2006 16:54:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874614#M609266</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-10-04T16:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874615#M609267</link>
      <description># bdf | awk -F/ '$3~"vg" {print $3}' | uniq | xargs -n1 vgcfgbackup&lt;BR /&gt;&lt;BR /&gt;~cheers</description>
      <pubDate>Wed, 04 Oct 2006 16:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874615#M609267</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-10-04T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874616#M609268</link>
      <description>If you have VG with different name that vgXX you will miss it.&lt;BR /&gt;&lt;BR /&gt;better use :&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;vgdisplay | grep -i "VG Name" &amp;gt; vgs.txt&lt;BR /&gt;cat vgs.txt | while read n1 n2 n3 &lt;BR /&gt;do &lt;BR /&gt;vgcfgbackup $n3&lt;BR /&gt;done&lt;BR /&gt;rm vgs.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 04 Oct 2006 17:02:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874616#M609268</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2006-10-04T17:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874617#M609269</link>
      <description>In case your VG name is different than vgXX then use:&lt;BR /&gt;&lt;BR /&gt;# bdf | awk -F/ '$0~"^/dev"{print $3}' | uniq | xargs -n1 vgcfgbackup&lt;BR /&gt;&lt;BR /&gt;~cheers</description>
      <pubDate>Wed, 04 Oct 2006 17:13:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874617#M609269</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-10-04T17:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874618#M609270</link>
      <description>One thing that you may not have grasped is that vgcfgbackup does not, in fact, backup a volume group -- or more accurately the data IN a VG but rather, it backs up the VG meta data --- the data ABOUT the VG.</description>
      <pubDate>Wed, 04 Oct 2006 21:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874618#M609270</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-10-04T21:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874619#M609271</link>
      <description>for arg in $(/etc/vgdisplay |grep "VG Name")&lt;BR /&gt;do&lt;BR /&gt;case $arg in&lt;BR /&gt;  *dev*) /etc/vgcfgbackup $arg;;&lt;BR /&gt;     *) continue;;&lt;BR /&gt;esac&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Oct 2006 09:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874619#M609271</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2006-10-06T09:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874620#M609272</link>
      <description>I have been using bdf for a while and it's working good. &lt;BR /&gt;But how do I take vgcfgbackup of a VG that has not been activated? (Case in point, a BCV volume)&lt;BR /&gt; vgcfgbackup returns with an error. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jan 2007 17:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874620#M609272</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-01-08T17:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874621#M609273</link>
      <description>The VG needs to be activated, even if for a short time</description>
      <pubDate>Mon, 08 Jan 2007 17:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874621#M609273</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2007-01-08T17:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874622#M609274</link>
      <description>How can I find out if a VG is activated or not?  &lt;BR /&gt;&lt;BR /&gt;Other than running vgcfgbackup and having it fail.</description>
      <pubDate>Tue, 09 Jan 2007 09:46:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874622#M609274</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-01-09T09:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874623#M609275</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; How can I find out if a VG is activated or not? &lt;BR /&gt;&lt;BR /&gt;Given that you know the name of the VG, its *absence* in the output of 'vgdisplay' would indicate that is is *not* activated.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 09 Jan 2007 09:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874623#M609275</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-01-09T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874624#M609276</link>
      <description>I got a list of active VGs and a list of all VG's, I can find out the delta. &lt;BR /&gt;&lt;BR /&gt;ll -d /dev/vg* &lt;BR /&gt;&lt;BR /&gt;gives me the list of all VGs, active and not actived.</description>
      <pubDate>Tue, 09 Jan 2007 10:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874624#M609276</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-01-09T10:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874625#M609277</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;BR /&gt; got a list of active VGs and a list of all VG's, I can find out the delta.&lt;BR /&gt;&lt;BR /&gt;ll -d /dev/vg*&lt;BR /&gt;&lt;BR /&gt;gives me the list of all VGs, active and not actived.&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;... but if a name of a VG is not of the form vg*, this will fail as well.&lt;BR /&gt;You could however look for the major number of all device files in /dev ...&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 09 Jan 2007 11:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874625#M609277</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-01-09T11:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874626#M609278</link>
      <description>My main issue right now is figuring out if a node is an active node in a SG cluster so I can active the non-activated VG for taking the vgcfgbackup.&lt;BR /&gt;&lt;BR /&gt;cmviewcl gives too much output.</description>
      <pubDate>Tue, 09 Jan 2007 11:40:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874626#M609278</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-01-09T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using vgcfgbackup to backup all Volume Groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874627#M609279</link>
      <description>vgdisplay will give you the information you need in regards to if a volume group is active or not.&lt;BR /&gt;just issue vgdisplay | more and this will list all active volume groups and will state if a volume group is not activated on  that server.  it lists all volume groups, even the ones controlled by Serviceguard.</description>
      <pubDate>Tue, 09 Jan 2007 14:30:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-vgcfgbackup-to-backup-all-volume-groups/m-p/3874627#M609279</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2007-01-09T14:30:41Z</dc:date>
    </item>
  </channel>
</rss>

