Replacing ZFS disk

Over on How to replace a failed disk in a ZFS mirror I found this command:

# sudo zpool replace -f storage 18311740819329882151 /dev/disk/by-id/ata-WDC_WD80EFAX-68LHPN0_7HJSWL7F

I’m gonna need that later on.
The number is the old device and the path is the new device.

Update. This is done.

-------------------
Tue Feb 21 21:31:53 [bash:5.1.16 jobs:0 error:0 time:3]
root@order:/home/jj5
# zpool replace -f data 12987390290044433012 /dev/disk/by-id/ata-WDC_WD30EFZX-68AWUN0_WD-WX72D1273L06
-------------------
Tue Feb 21 21:55:32 [bash:5.1.16 jobs:0 error:0 time:1422]
root@order:/home/jj5
# zpool status
  pool: data
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Tue Feb 21 21:34:26 2023
        749G scanned at 605M/s, 88.2G issued at 71.1M/s, 5.71T total
        27.9G resilvered, 1.51% done, 23:01:31 to go
config:

        NAME                                             STATE     READ WRITE CKSUM
        data                                             DEGRADED     0     0     0
          raidz1-0                                       DEGRADED     0     0     0
            ata-WDC_WD30EFRX-68EUZN0_WD-WMC4N0D8E3C9     ONLINE       0     0     0
            replacing-1                                  DEGRADED     0     0     0
              12987390290044433012                       UNAVAIL      0     0     0  was /dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WMC4N2473766-part1
              ata-WDC_WD30EFZX-68AWUN0_WD-WX72D1273L06   ONLINE       0     0     0  (resilvering)
            ata-WDC_WD30EFRX-68EUZN0_WD-WMC4N0D5506W     ONLINE       0     0     0
        cache
          ata-WDC_WDS120G1G0A-00SS50_171905A00F49-part4  ONLINE       0     0     0

errors: No known data errors
-------------------