[EP-tech] Reinstating deleted file

Yuri yurj at alfa.it
Mon May 27 07:28:14 BST 2019


Can you just take the database backup and do a diff on the sql tables?
This should help you to find the differences.

P.S: did you search for the deletion status? Maybe it hasn't been
erased, just put on deletion?

Il 24/05/19 01:40, Karl Goetz via Eprints-tech ha scritto:
> Hi,
> I haven’t managed to find a solution to this so I’m hoping someone has
> some experience in this area.
>
> I have a situation something like this:
>
>   * Staff member creates empty eprint 29788
>   * Staff member uploads the first version, my_file_20190404.pdf, as
>     supplied by academic. URL is /29788/1/my_file_20190404.pdf
>   * Staff member uploads revised version, my_file_20190510.pdf, as
>     supplied by academic. URL is /29788/7/my_file_20190510.pdf
>   * Staff member removes first version, my_file_20190404
>   * Academic asks for the first version to be re-instated as it had
>     been hot linked to
>   * Staff member uploads a copy of my_file_20190510.pdf
>     as my_file_20190404.pdf. URL is /29788/13/my_file_20190404.pdf
>
>
> This matches the expectations set out in the documentation where each
> upload was recorded separately as a file but I can’t find anything
> covering ‘undeletes'
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_Directory_Structure%2Feprints3%2Farchives%2FARCHIVEID%2Fdocuments%2Fdisk0%2F00%2F00%2F00%2F01%2F01&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9942075c350c454023d408d6e26c82bb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=AKQc00Vs1Uf8k3kGA38dbiXrQJ86gUxLtKr%2B9DBjhR8%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_Directory_Structure%2Feprints3%2Farchives%2FARCHIVEID%2Fdocuments%2Fdisk0%2F00%2F00%2F00%2F01%2F01&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9942075c350c454023d408d6e26c82bb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=AKQc00Vs1Uf8k3kGA38dbiXrQJ86gUxLtKr%2B9DBjhR8%3D&amp;reserved=0>
>
>
> Can I re create file 01 and add it back to eprints, using means fair
> or foul?
> We’re using IRStats2 for tracking access so a solution would need to
> work with that - otherwise I'll simply tell the staff member in
> question we can’t fix the deletion.
>
> Thanks,
>
> --
> Karl Goetz
> Mon, Tue, Wed, Technical Services Officer - eResearch
> Wed, Thu, Fri Senior Library Officer (Library Systems)
> University of Tasmania, Private Bag 25, Hobart 7001
>
>
>
> University of Tasmania Electronic Communications Policy (December, 2014).
> This email is confidential, and is for the intended recipient only.
> Access, disclosure, copying, distribution, or reliance on any of it by
> anyone outside the intended recipient organisation is prohibited and
> may be a criminal offence. Please delete if obtained in error and
> email confirmation to the sender. The views expressed in this email
> are not necessarily the views of the University of Tasmania, unless
> clearly intended otherwise.
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9942075c350c454023d408d6e26c82bb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ud7lgPEsaKtDtbN894NQe5WcDRMiGnNNI3chCVnw9%2Bo%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9942075c350c454023d408d6e26c82bb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=zLjZzjWakOf3HKINtv5Mf9%2FZ5JJwhitYC%2BIqS80J%2B6E%3D&amp;reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9942075c350c454023d408d6e26c82bb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ZcoZWYK4UzGfCHnlcXYIY%2FuuB2wb70AQysRxzxFn3Lc%3D&amp;reserved=0



More information about the Eprints-tech mailing list