Loading and saving archives to db