Linux - preserve uids/gids

I would like to do this by storing this in metadata - most cloud providers support metadata of one kind or another. It isn't supported at the moment though - sorry.

There are several issue about this already!

I know some people use lsattr to list the attributes of files they are backing up so they have a record.