Restore all files from server to local computer

My desktop computer’s hard drive has suffered some data corruption. Many of my OwnCloud synchronized files are corrupted locally but are perfectly intact on the server. How do I force the desktop client to re-sync all the files from the server to the desktop?

To be sure, maybe delete the account in the app, then delete the local sync folder or move it to another location, then start fresh with a new account and a fresh sync folder. Otherwise latest local changes (the corruption) could synced back.