How to move containers to a new storage pool on the same host

I didn’t see this anywhere, it’s not hard there’s just one gotcha you cant use the same container name as the destination. So I thought I’d put it here just in case someone’s looking for it

Create the new pool

lxc stop container_name
lxc move container_name temp_container_name -s new_storage_pool
lxc move temp_container_name container_name
lxc start container_name