HP OpenVMS Systems

ask the wizard
Content starts here

PURGE and file archiving (BACKUP, zip)?

» close window

The Question is:

Is it possible to archive / backup / zip files prior to purging them via
 version using the purge command in some way?
If not, is there a way to retreive a listing of files that will be purged by a
 given command?
Please let us know.
David Marlowe

The Answer is :

  There is no explicit command for this, though this would be trivial
  using a DCL command procedure -- particularly given that zip permits
  files to be added to an existing zip archive.
  Most commonly, having a full and complete copy of all files involved
  (both current and those to be deleted) prior to the PURGE or other
  similar operation is the prefered solution, and this is directly
  available.  (This if for no other reason than should a current file
  is mistakenly deleted, a copy will still be available in an archive
  -- and because the current version of a file is usually more
  interesting than an older version.)

answer written or last revised on ( 13-JUL-2002 )

» close window