A non-transitory computer-readable medium storing computer-readable instructions configured to, when executed by a controller of an image recording device having a cartridge mount to which a cartridge is to be mounted, a printing part that performs printing, a cartridge interface, an information interface, and a memory, cause the controller to:
- store setting information obtained through the information interface in the memory;
- transmit identification information, the setting information and a backup instruction to an information processing device through the information interface, the identification information being associated with the cartridge mounted in the cartridge mount, and the backup instruction being for instructing to store the identification information and the setting information in association with each other;
- obtain the identification information from a cartridge memory of the cartridge through the cartridge interface;
- transmit the obtained identification information and a return instruction to the information processing device through the information interface, the return instruction being for instructing to return the setting information;
- obtain the setting information from the information processing device through the information interface;
- and
- store the setting information obtained from the information processing device in the memory.