Usually if the postgresql import fails (lack of memory), then the full import should fail. It shouldn't be the case that gitlab just starts up as empty. It would be in error state.
So, if I understand correcly: the import succeeded (which implies it actually decrypted just fine and also the postgres import worked) and gitlab comes up. Just empty?