Export Binary Data from AD_Archive to Files

  1. Log into psql on your Linux Server and run:
metasfresh=# COPY (SELECT binarydata from ad_archive limit 1) TO E'/tmp/' (FORMAT binary);
  1. Then apply this on the file to make the zip compatible:
zip -FFv --out
  1. Copy the file to your Computer and unzip it into AdempiereArchive.

  2. Rename AdempiereArchive to AdempiereArchive.PDF

  3. Open AdempiereArchive.PDF using PDF Viewer

View source file on