A digital video recorder writes data on a selected one of a first storage
medium and a second storage medium. The recorder includes an abnormal
state detector for detecting any abnormal event that possibly occurs
while the recorder is writing the data on the first storage medium. If
the abnormal state detector senses the abnormal event while the recorder
is writing the data on the first storage medium, then the recorder stops
writing the data on the first storage medium and starts writing the data,
which should have been written on the first storage medium only, on the
second storage medium instead.