What frame are you going to fit the rear caliper to?
Generally most callipers will work with most sizes of disc, all that differs is which adapter you use to move the caliper further out from the frame to accept a bigger disc, or not.
example: my Ghost bike came fitted with a 160mm disc at the front as standard, the caliper was bolted directly to the fork.
I wanted to upgrade to a 180mm front disc, so had to buy the disc, and then an adapter (in my case a Post mount to Post mount adapter). I used the same caliper and lever.
The adapter is basically a spacer to move the caliper out so that it can fit over the bigger disc.
Just get the disc brake you want, do a test fitting to see if you need an adapter, and if needed get an adapter.
What adapter you get depends on whether your frame has IS mounts (likely), whether the caliper is IS or Post Mount (could be either), and how far you need to space the caliper out (often frames are 140mm at the rear so need an adapter to fit a 160 disc, mine is like this, or you may be lucky and be able to fit a 160 disc without any hassle).