function to copy rotate of ledger from previous to current backend