If the sewage systems go down (be it a breakdown from equipment failure at the plant, storms, emp etc cause doesnt matter time frame does) for a highly extended time - do you have a way to kill your connection to the sewer system if you arent on a septic system?
You can not use toilets sinks etc and people doing so will cause essntially a giant contamination/breach and backup/reverse flow of the lines. If your basement fills with sewage and your plan is to bug in - you cant really do so effectively if the basement or lower floors fills with untreated sewage.
You need to find a way to plug up the lines to prevent this.
Locate the where and be prepared to plug up and cap off the sewer lines into your house, keep whatever topls and materials youll need handy near it if you can so your not having to locate it, there is temporary and permanent ways to do so but each will depend on how your house is plumbed and any basement drainage.
Next count all your sinks in the house get 2 5 gallon buckets for each sink- you can still use the sinks remove the P trap on them and put the bucket there so you can collect the grey water to use for other purposes that dont require 100% fresh clean water.
Toilets? Tape them shut so no one uses them, get camping bucket toilets for comfort- you want 2 of them bag up waste in one the other use for just pee that way its easier to empty the solids into a pit in the ground, use the grey water from the sinks to wash out the buckets with.
The sewage pipes in the road act as a temporary holding tank so that gives you some time but if its an extended time they DO fill up and DO back up into houses. (My great uncle went through this in like 2012 ish, it was disgusting and flooded hia basement out with several inches of raw sewage) find out where the pump stations are and look at your location the closer you are the less time you have (both my blessing and curse is being near one. In standard power outages we are the first restored if SHTF and that generator on the back of it doesnt run? we gotta be one of the first to plug our outflowpipes)
If you live in a densely populated area you will need to act faster because most people dont realize you shouldnt be using the sewage system if its going to be down for an extended time, the more people the faster those pipes will fill. Know where your sewer lines and basement drains are and where they leave your house and be ready to seal those off.
Septic people - keep your tank lids easy accessible so you can check every once in a while and make sure nothing blocking the way it drains into its leeching field. If it does do the above steps but you likely dont need to plug your system in a permanent way, just stop using it disconnect the sinks for buckets and move to alternate means for toileting (an outhouse is an easy thing to dig and build in the now to have on hand if you have a rural property)
Remember you cant bug in in an emergency if your house becomes a biohazard.
As an example our plan is saw the main sewage pipe and cap it, the floor drain and lowest toilet and downstairs basement bathtub and sinks out line past the p trap are all getting filled with expanding foam and capped off where possible because theres no way to access where they tie into the line out. We have the caps the Pvc welding stuff and spray foam and saw all in a bag ready to go. (The spray foam is just to help keep any sewage pressure off the caps themsleves while the chemical reactions fully cure.) Becaude the floor drain pipe is old and metal we are just having to do a hope and pray that we get it sealed off well enough that it works (I swear I will pour 5 gallons of melted tallow down it if needed depending on what causes rhe plant to be down 🤣 id rather pay a plumber to have to come clear out a fat clogged line after than have to have a biohazard clean up crew come to handle it.)
So remembrr - modern numbing is great when things function right but it can be the enemy in a lot of worst case scenarios.
Editing to add this- if its a an EMP etc thay causes it and society is going gone with, and tou rent but can bug in- might i suggest a bag of quivk set concrete or two and enough water to mix it for filling everything that goes out. On the lowest levels.