Today's analytical laboratory uses a large number of different instruments that are connected in networks. Together with increasing automation, data are produced at a rate that can easily reach gigabytes per month, which generates the problem of systematic archival. In addition, working under Good Laboratory Practice requires that archival of raw data be performed in such a way that they can be readily retrieved upon request, even years later. While systematic archival of data is already performed in most laboratories, it is the retrieval of saved information that is often far from straightforward. This paper describes a simple but systematic approach for both archival and retrieval of data files and related electronic documents. It consists of an unambiguous scheme for the naming of electronic files, an efficient backup strategy, a simple database holding information about any data acquired, and a convenient interface to this database that can be accessed from any workplace while assuring restricted access. The system is capable of handling several databases concurrently and is used in our facility to archive data from several workgroups. The use of freely available software such as the Linux operating system made it possible to implement a fast and stable solution at exceptionally low cost.