Hi all - recently I moved from server to server with my hosting. Not all stuff from the old server was moved yet, and yesterday I made the mistake that I forgot I’ve already migrated my whole owncloud setup (5 users, not a big one) to this new server, and I decided to do it there and then, again so to speak.
So what happened is I did an rsync from the old server (actually not active for owncloud anymore) to the new server (actually running owncloud at this time). So this would be an rsync from old servers’ owncloud Docroot to new servers’ owncloud Docroot (rsync -a --delete), and a copy of the database from old to new. So docroot and database ‘match’, but the clients connected will see the files that were uploaded to the server via the sync client will have been deleted (or altered with a state of about 2 months ago). So basically the server went back in time about 2 months.
I’ve managed to fix all accounts but one, this is a Windows desktop (my parents in law) that use this setup purely for backup purposes. Their computer was not on at that moment, and I immediately firewalled (blocked) their IP on the server so they can’t connect, untill I know how to fix this stupid mistake.
I have the log from rsync, so I know exactly which files are either deleted on the (new/current) server or overwritten by files from the old server. The files on the desktop are all still untouched and correct, because the sync client hasn’t connected yet since.
I’ve done a few tests with my own account but I can’t really determine what the sync client is going to do once it connects. Today I’ll visit them and the first thing I’ll do is make a local backup of the sync dirs on that desktop, so at least I’ll have a copy of everything that’s important.
What would be the best way to fix this? Delete everything on the server, setup the clients from scratch and let it copy everything again (it’s about 50GB and their internet connection is pretty slow)? Is there a better way to fix this?