Menu

how to recover old user data

Help
Jim
2010-03-30
2013-04-24
  • Jim

    Jim - 2010-03-30

    Hi, I am using version 1.4.
    We deleted some old users, but kept their data.
    Now thanks to an unemployment claim we need to recover the daily punch in/out records. I know they are in there, I can see the changes in the audit log, but the name is not in the dropdown to list for the daily time report. Is there a way to recover the details?
    Thanks in advance
    -Jim

     
  • Tom Scrape

    Tom Scrape - 2010-03-30

    I don't know if the system deletes this when deleting a user, but in 1.3 there's a db table called `info` that holds the punch in/out information for users.  The times are stored as timestamps, so you'll need to convert.  Here's a quick query that worked in testing here:

    SELECT `inout`, from_unixtime(`timestamp`), `notes` FROM `info` WHERE `fullname`='thenameyouwant' order by `timestamp`

     
  • Jim

    Jim - 2010-03-31

    Thanks Mr Thomas, that's what i needed :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.