A backup device in case of power failure comprises a device for
continuing, when power failure is detected by a power failure detecting
circuit during a recording operation, the recording operation by turning
a switch on, and a device for turning the switch off when data which have
been stored in both memories immediately before power fails and all data
composing two blocks to which the data belong have been recorded on a
recording medium, to stop the recording operation.