<?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 remove archive in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-archive/m-p/6279331#M494375</link>
    <description>&lt;P&gt;Dear Admins,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to safely remove old archives from ignite-ux server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eslam&lt;/P&gt;</description>
    <pubDate>Sun, 24 Nov 2013 08:07:15 GMT</pubDate>
    <dc:creator>eslamk</dc:creator>
    <dc:date>2013-11-24T08:07:15Z</dc:date>
    <item>
      <title>remove archive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-archive/m-p/6279331#M494375</link>
      <description>&lt;P&gt;Dear Admins,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to safely remove old archives from ignite-ux server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eslam&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2013 08:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-archive/m-p/6279331#M494375</guid>
      <dc:creator>eslamk</dc:creator>
      <dc:date>2013-11-24T08:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: remove archive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-archive/m-p/6279557#M494376</link>
      <description>&lt;P&gt;Ignite archives are normally cleaned up after every backup. However, changing the number of archives can sometimes get the cleanup process confused and older archives are no longer removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two directories that store the backup files and a control file called CINDEX that holds the current list. Start by cd'ing to /var/opt/ignite/clients directory. There you will normally find a set of MAC addresses (0x...) and symlinks pointing from hostnames to the appropriate MAC address. In a poorly maintained server, there may be one or more MAC addresses that are no longer valid (sever retired, LAN card replaced, etc). There may also be hostname symlinks pointing non-existent MAC addresses. There may even be MAC-to-MAC symlinks typically used when deploying multiple servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To safely cleanup this directory, you need an accurate list of the active servers and the MAC address of the LAN card used for the Ignite backup. Then make sure there is just one hostname symlink pointing to the correct MAC address. Once that is complete, you can remove extraneous symlinks and remove MAC address directories for non-existent LAN cards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then look at each hostname's CINDEX file. It will look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# cat /var/opt/ignite/clients/&amp;lt;hostname&amp;gt;/CINDEX&lt;BR /&gt;cfg "2013-11-09,09:14 Recovery Archive" {
        description "11.11 atl3 Recovery Archive"
        "recovery/2013-11-09,09:14/system_cfg"
        "recovery/2013-11-09,09:14/control_cfg"
        "recovery/2013-11-09,09:14/archive_cfg"
}
cfg "2013-11-16,09:14 Recovery Archive" {
        description "11.11 atl3 Recovery Archive"
        "recovery/2013-11-16,09:14/system_cfg"
        "recovery/2013-11-16,09:14/control_cfg"
        "recovery/2013-11-16,09:14/archive_cfg"
}
cfg "2013-11-23,09:14 Recovery Archive" {
        description "11.11 atl3 Recovery Archive"
        "recovery/2013-11-23,09:14/system_cfg"
        "recovery/2013-11-23,09:14/control_cfg"
        "recovery/2013-11-23,09:14/archive_cfg"
}=TRUE&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This is the list that Ignite will use in recovery menus. In each hostname directory, there will be a recovery directory with several directories that are dates, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# ll /var/opt/ignite/clients/&amp;lt;hostname&amp;gt;/recovery&lt;BR /&gt;drwxr-xr-x   2 bin        bin           1024 Nov  9 10:00 2013-11-09,09:14
drwxr-xr-x   2 bin        bin           1024 Nov 16 10:00 2013-11-16,09:14
drwxr-xr-x   2 bin        bin           1024 Nov 23 10:01 2013-11-23,09:14
-rw-r--r--   1 bin        sys            273 Nov 10  2010 archive_content
-rw-------   1 bin        bin            290 Nov 23 10:01 client_status
-rw-r--r--   1 bin        sys            462 Nov 10  2010 defaults
lrwxr-xr-x   1 root       root            16 Nov 23 09:14 latest -&amp;gt; 2013-11-23,09:14&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There must be a match between each CINDEX cfg stanza and the directories in recovery. It is possible that there are more (which can be removed) or there are missing recovery directories. The goal for cleanup is a match between CINDEX and the recovery directory. Removing a stanza, that is, the cfg "..title.." {...info...} lines will remove this item from the Ignite menu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now you can remove the extra date directories that do not have matching entry in CINDEX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second step is to remove the same date files that don't match CINDEX. These are the actual tar archives and are simple files, but in a parallel directory like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ll /var/opt/ignite/recovery/archives/&amp;lt;hostname&amp;gt;/&lt;BR /&gt;&lt;SPAN&gt;-rw------- 1 bin sys 3118651320 Nov 9 10:00 2013-11-09,09:14&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-rw------- 1 bin sys 3118712432 Nov 16 10:00 2013-11-16,09:14&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-rw------- 1 bin sys 3091637080 Nov 23 10:01 2013-11-23,09:14&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Remove any file (looks like a date) that does not appear in the CINDEX file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 01:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-archive/m-p/6279557#M494376</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2013-11-25T01:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: remove archive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-archive/m-p/6280361#M494377</link>
      <description>Thank you Bill for detailed clarification</description>
      <pubDate>Mon, 25 Nov 2013 06:42:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-archive/m-p/6280361#M494377</guid>
      <dc:creator>eslamk</dc:creator>
      <dc:date>2013-11-25T06:42:04Z</dc:date>
    </item>
  </channel>
</rss>

