My Toshiba re-creates all three partitions when doing Factory Recovery, don't know about other brands.
However, unless you have saved any of your files to those other two partitions, there's no need to back them up anyway.
Factory Recovery will either ignore them or re-create the data that's on them.