Code
cd /storage
systemctl stop kodi.service
rm -rf .kodi/temp/*
tar -cvf backup.tar .kodi .cache .config
systemctl start kodi.service
That's basically what the backup routine does (except the cleanup of temp, which is just a good idea). Watch the on-screen output for errors, warnings and long time delays where it gets stuck and has to wait for something.