Support » Plugin: WP Database Backup » backup-filenames without time

  • Resolved beka47


    For a while now, my db-backups have wrong filenames allowing diffferent backups (in the WP-admin) but pointing to the same file on the server.
    This happens only if I make several backups on the same day (and using the same AUTH_KEY).

    I get filenames containg the YEAR but not the TIME like:‘ (note double ‘__’)
    so a 2nd backup on the same day results in the same filename (‘0123456’ is a substring of AUTH_KEY)!

    /includes/adminclass-wpdb-admin.php, line 1724:
    $WPDBFileName = $siteName . '_' . Date("Y_m_d") . '_' . Time("H:M:S") . "_" . substr(md5(AUTH_KEY), 0, 7) . '_wpdb';

    Changing Time(“H:M:S”) to time() fixed the problem for me. So now I get filenames like
    Reason: time() expects no params!

    • This topic was modified 1 year, 2 months ago by beka47.
Viewing 1 replies (of 1 total)
  • Plugin Author Prashant Walke



    we have resolved issue in latest version 5.4.1

    Please update your plugin and let me know in case any issue.

    Thanks for your valuable suggestion.

Viewing 1 replies (of 1 total)
  • The topic ‘backup-filenames without time’ is closed to new replies.