When moving a repository: simple copy, `repository sync-to` or `snapshot migrate`?

Cool! I put this in a script, seems to work, if you see any mistakes I would appreciate feedback, otherwise maybe it will help some other noob in the future:

#!/usr/bin/bash

# Turn maintenance off
kopia maintenance set --enable-quick=false --enable-full=false && \

# Start repository sync-to
kopia repository sync-to webdav --url="https://URL" --webdav-username="username" --webdav-password="password" --delete && \

# Turn maintenance back on
kopia maintenance set --enable-quick=true --enable-full=true

One more thing I’m wondering about is whether it would be OK to turn off automatic maintenance generally and just run it manually as a Before Snapshot Action. (I asked about it elsewhere, but that thread is quite old, not sure it will get a response.) That way, the repo hard drive, which is a simple external USB drive, would only have to jump on once a day, do quick maintenance, then full maintenance, then the daily backup run, and then go back into standby. It might survive longer that way than if it jumps on every hour for 10s.