<?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: Verify backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883180#M101388</link>
    <description>The simplest is to create a table of contents (tar tvf /dev/rmt/&lt;WHATEVER&gt;). This requires the tar program to read every record and find proper entries for each file. There's no guarentee that every file was copied, or that every file was recorded without chagning during the recording process.&lt;BR /&gt;&lt;BR /&gt;tar is archaic (as is cpio and pax and dump) for modern Unix systems. tar will be useless if your system disk goes bad, or if any of your files are larger than 2Gb. tar should used as an interchange program between machines. Backup should consist of fbackup (for individual files and directories) and Ignite/UX (make_tape_recovery), or if there are dozens of gigabytes involved, a commercial backup program like HiBack or Omniback.&lt;/WHATEVER&gt;</description>
    <pubDate>Thu, 16 Jan 2003 01:34:44 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2003-01-16T01:34:44Z</dc:date>
    <item>
      <title>Verify backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883177#M101385</link>
      <description>I would like to use tar to backup the files, how can I verify whether it is successful or not? thx.</description>
      <pubDate>Thu, 16 Jan 2003 01:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883177#M101385</guid>
      <dc:creator>Juno</dc:creator>
      <dc:date>2003-01-16T01:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Verify backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883178#M101386</link>
      <description>You can read the tape back, but this does not *guarantee* a successful backup.&lt;BR /&gt;&lt;BR /&gt;Assuming your tape drive is /dev/rmt/0m&lt;BR /&gt;# tar tvf /dev/rmt/0m</description>
      <pubDate>Thu, 16 Jan 2003 01:30:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883178#M101386</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-01-16T01:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Verify backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883179#M101387</link>
      <description>Hi Juno,&lt;BR /&gt;&lt;BR /&gt;Use the -t tar parameter as follows&lt;BR /&gt;&lt;BR /&gt;tar tvf tarfile.tar&lt;BR /&gt;&lt;BR /&gt;or if to the tape&lt;BR /&gt;&lt;BR /&gt;tar tvf /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;This will list all the files tarred. As long as no errors are reported AND all files are listed - you're good to go.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 16 Jan 2003 01:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883179#M101387</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-01-16T01:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Verify backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883180#M101388</link>
      <description>The simplest is to create a table of contents (tar tvf /dev/rmt/&lt;WHATEVER&gt;). This requires the tar program to read every record and find proper entries for each file. There's no guarentee that every file was copied, or that every file was recorded without chagning during the recording process.&lt;BR /&gt;&lt;BR /&gt;tar is archaic (as is cpio and pax and dump) for modern Unix systems. tar will be useless if your system disk goes bad, or if any of your files are larger than 2Gb. tar should used as an interchange program between machines. Backup should consist of fbackup (for individual files and directories) and Ignite/UX (make_tape_recovery), or if there are dozens of gigabytes involved, a commercial backup program like HiBack or Omniback.&lt;/WHATEVER&gt;</description>
      <pubDate>Thu, 16 Jan 2003 01:34:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883180#M101388</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-01-16T01:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Verify backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883181#M101389</link>
      <description>Hi all, &lt;BR /&gt;&lt;BR /&gt;thx all replay , if I add list out the files "tar -tvf" , how can I know the backup is successful , cos the backup  may staill have the following error: &lt;BR /&gt;the directory is not exist , &lt;BR /&gt;no backup was backup , some files are dead etc. thx.</description>
      <pubDate>Thu, 16 Jan 2003 01:46:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883181#M101389</guid>
      <dc:creator>Juno</dc:creator>
      <dc:date>2003-01-16T01:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Verify backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883182#M101390</link>
      <description>There are no guarantees. You could something like this.&lt;BR /&gt;Create a backup list first of what is going to be backed up and then after writing the tape, verify the contents of the tape and compare the two lists. Again no guarantee. 'fbackup' is far more efficient than 'tar' as well. It does take a snapshot of what it is going to backup before it does it. The only way of getting an exact copy of a filesystem etc is to split the mirror on a filesystem (logical volume), if you have one. If you then copy it to tape, again no guarantee that the contents of the tape are the same as on the disk. Backups to tapes are an assumption only that the files can be recovered.</description>
      <pubDate>Thu, 16 Jan 2003 02:01:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883182#M101390</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-01-16T02:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Verify backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883183#M101391</link>
      <description>I do this with cpio, in a similar way that you would use tar.  my backup script does the following:&lt;BR /&gt;&lt;BR /&gt;- create a list of files to backup&lt;BR /&gt;- perform an 'mt rew' and if fail, stop, and send email to admin (can't use tape or no tape in drive)&lt;BR /&gt;- backup files to tape&lt;BR /&gt;- read file list from tape&lt;BR /&gt;- normalize the two files: i.e. with script commands make the fields etc be the same in both files&lt;BR /&gt;- compare the files&lt;BR /&gt;- if differences, send email to admin&lt;BR /&gt;- take the file list read from tape, rename it after the date, and keep as an on-line backup listing&lt;BR /&gt;- delete old on-line listings&lt;BR /&gt;&lt;BR /&gt;There's a few sticky things.  Since the tape is slow, files in temporary directories and spool directories appear and/or go away during the backup, causing differences in the file listings that you don't really care about.&lt;BR /&gt;&lt;BR /&gt;But works well for us.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Jan 2003 16:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883183#M101391</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2003-01-16T16:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Verify backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883184#M101392</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;This works fine!&lt;BR /&gt;&lt;BR /&gt;tar &lt;YOUR_TAR_OPTIONS&gt;&lt;BR /&gt;STATUS=$? &lt;BR /&gt;case $STATUS in &lt;BR /&gt;0) echo "Tar successful" &lt;BR /&gt;;; &lt;BR /&gt;*) echo "Tar have warnings/errors - status: $STATUS" &lt;BR /&gt;;; &lt;BR /&gt;esac &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/YOUR_TAR_OPTIONS&gt;</description>
      <pubDate>Thu, 16 Jan 2003 16:35:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/verify-backup/m-p/2883184#M101392</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-01-16T16:35:16Z</dc:date>
    </item>
  </channel>
</rss>

