Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Katrina “Kat” Moody

    (@katmoody)

    Hey there – I’m not sure what you mean?

    Kat

    Thread Starter marcosbruno

    (@marcosbruno)

    Good afternoon … when the backup file is generated automatically, I want to do an “INSERT INTO” in a table of a mysql database with the filename …

    Could you help with that?

    Plugin Contributor Katrina “Kat” Moody

    (@katmoody)

    I think you will want to do that separately. To be sure I understand what you’re saying …

    When the backup runs for the database backup, you’d like to have that filename written to a table within the database by using the INSERT INTO command?

    May I ask why you want to do that? The backups are listed and downloadable in the admin section for each schedule already. Is there something more you need to be able to do?

    Thanks,
    Kat

    Thread Starter marcosbruno

    (@marcosbruno)

    Yes, you got it perfectly

    The reason is that I have a project control platform outside of WordPress, and I’d like to center everything on the same platform, so I’m creating a panel outside of WordPress to access these backups. So I would like to find the “variable” that contains the file name at the time it is generated, to do this “INSERT INTO” in my database.

    Plugin Contributor Katrina “Kat” Moody

    (@katmoody)

    I thought I replied to this already. I’ve actually looked into this a bit for you just to see how difficult it would be but I had a hard time figuring out which variable you’d need to use because of how we configure the URL. You can look through the file structure here on GitHub: https://github.com/humanmade/backupwordpress

    Maybe looking a little more deeply at the code will help you see what I couldn’t,
    Kat

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Insert filename .zip in DB’ is closed to new replies.