+0

Are both okay:

They took my backpack that/which had all my belongings.