Hi! Newbie here armed with silly questions!

I have had a look around, but I cannot find information on how certain part of the live trading mechanics work. Lets say I programme a strategy that fires in orders in the morning every day based on some logic, some limit order, some stop orders, etc. In back testing this should be fairly simple to test. When moving to a live trading environment, I am curious to know the strategy will behave when the system comes down and has to start up again. I.E. will it know where it has left off in a trade, as in "i have been filled on x order and am working a stop loss and 2 targets on the exchange". I assume that the way all portfolio information will be handled in the same way, correct?