The commands may be correct but I don't think you would want to use the reboot all members that broadly.
request system reboot all-members slice alternate media internal
This command will make ALL members of the virtual chassis boot to the alternat media.
But you want ONLY those that are currently booted to the backup partition to perform this function.
I think you want to check the actual patition status of each member and do either a normal reboot or the alternate media reboot accordingly.