<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>Following the disaster that i've described I've got a few questions:<br><br>1) What steps I should take to prevent this ever happening again?<br>2) I had enabled file versions and I have a large amount of files and folders under the files_version folder. I can see there is a limited number of files, but it is better than zero files. However, the files have a .v<large number> at the end of each file. How would I know what is the latest version? Is there a way I can recreate the data from the file_versions folder without going file by file / folder by folder?<br>3) I have a backup taken of the data folder. Can I simply replace the data folder and hope that it will not screw things up on the client side?<br>4) Could someone please point me to the data recovery procedures describing steps required to restore data from backups?<br><br>Many thanks<br><br>Andrei<br><br><br><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Klaas Freitag" <freitag@owncloud.com><br><b>To: </b>owncloud@kde.org<br><b>Sent: </b>Wednesday, 27 March, 2013 11:25:20 AM<br><b>Subject: </b>Re: [Owncloud] upgrade from 4.5 to 5.0 lost all files<br><br>On 27.03.2013 11:54, Andrei Mikhailovsky wrote:<br><br>Hi Andrei,<br><br>first, I'd like to say sorry for the trouble you're experiencing here.<br><br>> Thanks for the advice, I've read the thread and followed the instructions to delete the filecache from db. Once the filecache has been removed I've logged back in to the web interface and it has populated the data. However, I was still missing the data from two folders worth about 2-3GB. These two folders were completely empty.<br>><br>> Following that I have checked my client pc and found that I still had files on my local pc in the ownCloud/Shared folder. I've fired up the ownCloud client application with the hope that it would reupload everything back to the server. However, instead of doing that it has completely removed files from my pc. I have not only lost the files from the two folders, but pretty much from all the folders apart from one folder which had the old data which hasn't been touched for over a year. As of now all my data is lost!!!! I do not see them on the server and they are also now missing from my local pc.<br>><br>> How could this happen? Why did the owncloud client remove everything from my local pc instead of syncing it back to the server?<br><br>The problem is: Your change on serverside was more recent. And since <br>syncing also means that deletion of files is propagated, the more recent <br>deletions were propagated to your client and the files got removed.<br>I know that this is probably not a good answer for you, but thats the <br>reason why that happened.<br>We are discussing solutions to prevent this but we do not have a final <br>solution implemented yet.<br><br>Sorry,<br><br><br><br><br><br><br><br>Klaas<br><br>> ----- Original Message -----<br>><br>> From: "Mathias Johansson" <mathias.johansson@dovado.com><br>> To: owncloud@kde.org<br>> Sent: Tuesday, 26 March, 2013 6:34:44 AM<br>> Subject: Re: [Owncloud] upgrade from 4.5 to 5.0 lost all files<br>><br>><br>><br>> Hi,<br>><br>><br>> Read this forum post http://forum.owncloud.org/viewtopic.php?f=23&t=9168 seems to be an issue with the cache when upgrading.<br>><br>><br>> I did the same thing the post above helped me.<br>><br>><br>> //Mathias<br>> ----- Original Message -----<br>><br>> From: "Andrei Mikhailovsky" <andrei@arhont.com><br>> To: owncloud@kde.org<br>> Sent: Tuesday, 26 March, 2013 1:06:05 AM<br>> Subject: [Owncloud] upgrade from 4.5 to 5.0 lost all files<br>><br>><br>> Hi,<br>><br>> I've recently ran "apt-get upgrade" on my Ubuntu 12.04 server and amongst other things it updated the ownCloud packages to the latest 5.0.0 release. As a result all my data has disappeared from the clients as well as from the web interface. I can see that there is about 15gb out of 17gb of data on the file server's data folder, but nothing is visible from the web interface or clients. Could anyone suggest how to recover the data?<br>><br>> Many thanks in advance<br>><br>> Andrei<br>><br>> _______________________________________________<br>> Owncloud mailing list<br>> Owncloud@kde.org<br>> https://mail.kde.org/mailman/listinfo/owncloud<br>><br>><br>> _______________________________________________<br>> Owncloud mailing list<br>> Owncloud@kde.org<br>> https://mail.kde.org/mailman/listinfo/owncloud<br>><br>><br>><br>><br>> _______________________________________________<br>> Owncloud mailing list<br>> Owncloud@kde.org<br>> https://mail.kde.org/mailman/listinfo/owncloud<br>><br><br>_______________________________________________<br>Owncloud mailing list<br>Owncloud@kde.org<br>https://mail.kde.org/mailman/listinfo/owncloud<br></div><br></div></body></html>