The new way of replacing your pipes is through trenchless sewer line replacement. It is more convenient than digging up an old pipe and replacing it by hand. Basically, trenchless sewer line replacement is a method where you dig a hole where the pipe begins and another hole where the pipe ends. Then you cut out small parts of the pipe from each hole and feed a big steel cable between the two holes. Finally, you break the old pipe and push it out of the way with the cable and it makes way for the new pipe.
This process only takes a few hours and it takes up to 1-2 days for the entire work to be done. The advantages of using this method is that there is minor digging damage to your landscape, pipes are strong enough not to crack from roots, and no more drain cleaning or need for backup pipes.