<?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: encrypting tar files saved onto tape in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298581#M673589</link>
    <description>&amp;gt; [...] what would be the correct syntax to&lt;BR /&gt;use? [...]&lt;BR /&gt;&lt;BR /&gt;You've been given a skeleton command, which&lt;BR /&gt;may need only a few details to do what you&lt;BR /&gt;want.  To a casual observer, you appear to be&lt;BR /&gt;too busy or lazy or helpless to read the&lt;BR /&gt;usage instructions for the programs which you&lt;BR /&gt;intend to use.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] in our company [...]&lt;BR /&gt;&lt;BR /&gt;You appear to be employed, but it's not clear&lt;BR /&gt;why.  I get insufficient satisfaction from&lt;BR /&gt;doing other people's jobs for them (for free)&lt;BR /&gt;to make a general practice of it.  But don't&lt;BR /&gt;give up.  Some of the contributors here seem&lt;BR /&gt;to enjoy the challenge of doing the problems&lt;BR /&gt;in students' homework assignments, so you may&lt;BR /&gt;get what you seek from one of them.&lt;BR /&gt;&lt;BR /&gt;The fact that your company is relying for its&lt;BR /&gt;backups on someone who expects to encrypt&lt;BR /&gt;data after they've been written to tape is&lt;BR /&gt;more than a little scary.</description>
    <pubDate>Tue, 04 Nov 2008 03:45:39 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2008-11-04T03:45:39Z</dc:date>
    <item>
      <title>encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298573#M673581</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;We typically do tar jobs of entire directories to one of several tape drives. These drives can be DAT, DLT, SDLT, or LTO-4. One example would be the following:&lt;BR /&gt;&lt;BR /&gt;LOCATION: /diskarray/stripe7/usr/home&lt;BR /&gt;TAPE DEVICE FILE: /dev/rmt/5mn &lt;BR /&gt;COMMAND: tar -cvf * /dev/rmt/5mn&lt;BR /&gt;&lt;BR /&gt;A new directive in our company has made mandatory encryption of all backups. Therefore, once the tar command shown above is completed, the files on tape would need to be encrypted. &lt;BR /&gt;&lt;BR /&gt;We have openssl installed on our system, and the command syntax that would appear to apply here, using the above example would be as follows:&lt;BR /&gt;&lt;BR /&gt;openssl des3 -salt -in /dev/rmt/5mn -out /dev/rmt/5mn.des3&lt;BR /&gt;&lt;BR /&gt;After the above is completed, an encryption password would be entered by the administrator. &lt;BR /&gt;&lt;BR /&gt;Is the above procedure the correct method? Also, is there any inherent danger to the tape or drive if the encryption is attempted on either? Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Nov 2008 18:40:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298573#M673581</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2008-11-01T18:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298574#M673582</link>
      <description>&amp;gt;&amp;gt;once the tar command shown above is &lt;BR /&gt;&amp;gt;&amp;gt;completed, the files on tape would need to &lt;BR /&gt;&amp;gt;&amp;gt;be encrypted. &lt;BR /&gt;&lt;BR /&gt;Not possible to encrypt the files AFTER they are on the tape UNLESS you want to then read in from that tape and write OUT to another tape in a different tape drive.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;openssl des3 -salt -in /dev/rmt/5mn -out /dev/rmt/5mn.des3&lt;BR /&gt;&lt;BR /&gt;Not possible unless you've figured how to read from and write to the same tape drive at the same time.&lt;BR /&gt;&lt;BR /&gt;What you need to do is encrypt the files as they are written to tape.&lt;BR /&gt;&lt;BR /&gt;You would somehow have to feed a list of files to openssl and have the output openssl redirected as the input to tar.&lt;BR /&gt;&lt;BR /&gt;I have never attempted this so I'm not entirely sure how you would go about doing that.</description>
      <pubDate>Sat, 01 Nov 2008 19:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298574#M673582</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-11-01T19:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298575#M673583</link>
      <description>As Patrick said, there is no way to change the data on the tape -- you have to encrypt before the data hits the tape. I would not try to cobble something like this together unless the data is not important. tar is simply not an good business backup tool and has far too many limitations (max filesize, no table of contents, no retry or multi-tape handling, no accidental tape overwrite protection, etc). You need to look at a professional backup program that includes encryption. HP makes DataProtector which will address encryption as well as all the other tar issues.</description>
      <pubDate>Sat, 01 Nov 2008 20:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298575#M673583</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-11-01T20:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298576#M673584</link>
      <description>I know nothing, but I gather that openssl can&lt;BR /&gt;act as a filter if you omit the -in and -out&lt;BR /&gt;options, so you may be able to use something&lt;BR /&gt;like:&lt;BR /&gt;&lt;BR /&gt;cd &lt;WHEREVER&gt;&lt;BR /&gt;tar cvf - . | openssl [...] -out /dev/rmt/5mn&lt;BR /&gt;&lt;BR /&gt;Depending on different factors, it might pay&lt;BR /&gt;to throw a gzip into that pipeline, too.&lt;BR /&gt;&lt;BR /&gt;You might also be better off using something&lt;BR /&gt;smarter than the basic HP "tar" program, too,&lt;BR /&gt;like, say, "pax" or GNU "tar".  And using "*"&lt;BR /&gt;for the file list is unwise for at least a&lt;BR /&gt;couple of reasons.  (How many files are in&lt;BR /&gt;there, and how many have names which begin&lt;BR /&gt;with "."?)  Something in the "dump/restore"&lt;BR /&gt;family might also make more sense than "tar".&lt;BR /&gt;&lt;BR /&gt;&amp;gt; You need to [...]&lt;BR /&gt;&lt;BR /&gt;Almost always an inaccurate way to begin a&lt;BR /&gt;statement, but more elaborate backup software&lt;BR /&gt;exists (and is sold) for some good reasons.&lt;BR /&gt;The best solution in a particular situation&lt;BR /&gt;depends on the particular requirements and&lt;BR /&gt;constraints.&lt;/WHEREVER&gt;</description>
      <pubDate>Sun, 02 Nov 2008 02:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298576#M673584</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-11-02T02:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298577#M673585</link>
      <description>Here are some threads about hardware and software encryption:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1282098" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1282098&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1283576" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1283576&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1279028" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1279028&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1280016" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1280016&lt;/A&gt;</description>
      <pubDate>Sun, 02 Nov 2008 03:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298577#M673585</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-02T03:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298578#M673586</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. We do have Data Protector 6.0 as our primary backup solution. The tar backup is used to provide a secondary backup if the primary is unavailable. &lt;BR /&gt;&lt;BR /&gt;One of the responses to my posting suggested have openssl as the filter where the tar, in this case gnutar instead of HP-UX tar, would encrypt data being backed up "on the fly" to the tape. Would that be an alternative to use, and if so, what would be the correct syntax to use? Thanks.</description>
      <pubDate>Mon, 03 Nov 2008 11:53:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298578#M673586</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2008-11-03T11:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298579#M673587</link>
      <description>&amp;gt; [...] what would be the correct syntax to&lt;BR /&gt;&amp;gt; use? &lt;BR /&gt;&lt;BR /&gt;That might depend a little bit on exactly&lt;BR /&gt;what you wish to do.  Is there something&lt;BR /&gt;wrong with the documentation for any of these&lt;BR /&gt;programs?</description>
      <pubDate>Mon, 03 Nov 2008 15:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298579#M673587</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-11-03T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298580#M673588</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;What I am trying to accomplish in this exercise is the following:&lt;BR /&gt;&lt;BR /&gt;Conduct at tar backup where the data in question is encrypted when it is written to tape. &lt;BR /&gt;&lt;BR /&gt;According to the responses that were given to my initial inquiry, encrypting the data after it has been written to tape is not possible. Therefore, the encryption would have to take place during the tar process. &lt;BR /&gt;&lt;BR /&gt;My question is the following: If encrypting the data during the tar process is possible, what would be the correct syntax to use? The server in question has the openssl package available, and the tar binary that is being used in this process is gnutar.</description>
      <pubDate>Mon, 03 Nov 2008 17:15:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298580#M673588</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2008-11-03T17:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298581#M673589</link>
      <description>&amp;gt; [...] what would be the correct syntax to&lt;BR /&gt;use? [...]&lt;BR /&gt;&lt;BR /&gt;You've been given a skeleton command, which&lt;BR /&gt;may need only a few details to do what you&lt;BR /&gt;want.  To a casual observer, you appear to be&lt;BR /&gt;too busy or lazy or helpless to read the&lt;BR /&gt;usage instructions for the programs which you&lt;BR /&gt;intend to use.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] in our company [...]&lt;BR /&gt;&lt;BR /&gt;You appear to be employed, but it's not clear&lt;BR /&gt;why.  I get insufficient satisfaction from&lt;BR /&gt;doing other people's jobs for them (for free)&lt;BR /&gt;to make a general practice of it.  But don't&lt;BR /&gt;give up.  Some of the contributors here seem&lt;BR /&gt;to enjoy the challenge of doing the problems&lt;BR /&gt;in students' homework assignments, so you may&lt;BR /&gt;get what you seek from one of them.&lt;BR /&gt;&lt;BR /&gt;The fact that your company is relying for its&lt;BR /&gt;backups on someone who expects to encrypt&lt;BR /&gt;data after they've been written to tape is&lt;BR /&gt;more than a little scary.</description>
      <pubDate>Tue, 04 Nov 2008 03:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298581#M673589</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-11-04T03:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting tar files saved onto tape</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298582#M673590</link>
      <description>If my inquiries on this subject have annoyed anyone in this forum, please accept my apologies. It is not purpose to have a third party do the so-called homework that was assigned to me. &lt;BR /&gt;&lt;BR /&gt;The questions that I ask are for clarification on a project that was undertaken on my own initiative to provide better service to my company.</description>
      <pubDate>Tue, 04 Nov 2008 17:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/encrypting-tar-files-saved-onto-tape/m-p/4298582#M673590</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2008-11-04T17:04:04Z</dc:date>
    </item>
  </channel>
</rss>

