Question for exclusive pumpers

Caroline
I'm having a lot of issues with breastfeeding and will probably try to mostly pump for the next few days. 
My question is how do you do it? I assume you do it when LO sleeps - but what if they wake up, do you stop pumping? 
Also, what if you want to go somewhere (eg go visit grandma and grandpa). Do you bring the pump with you and pump there? 
I'm not sure if I can do this or if I'm going to end up defaulting to formula. 
Thanks in advance, appreciate any advice.