The present invention provides methods and systems for archiving of data,
that is, for moving a selected data object in a computer system from a
first to a second storage location. The selected data object is assigned
at least one identifier (ID) that is stored in at least one lock object.
The data object is stored at the second storage location and the second
storage location is associated with the ID. The data object is then
deleted from the first storage location and the ID is deleted from the
lock object after the storing of the data object in the second storage
location has been completed. Methods and systems can check, by querying
the lock object, whether the data to be accessed is subject to a moving
process or not. If yes, the access to that data can be postponed until
the moving is completed.