1

A while ago I had downloaded my website directory backup via DirectAdmin.

It downloaded a Zip file which does not directly contain the date from when this backup was. (Apparently its a hash to verify integrity by DirectAdmin, I find it stupid that they don't include a date.)

I also downloaded it at a later date than the actual backup was taken so the date of the .zip file is not correct either.

I used this PowerShell script, to determine the latest file:

$latestFile = Get-ChildItem -Recurse -File | Sort-Object LastWriteTime -Descending | Select-Object -First 1 if ($latestFile) { Write-Output "Latest file: $($latestFile.FullName)" Write-Output "Modified at: $($latestFile.LastWriteTime)" } else { Write-Output "No files found in the current directory." } 

However that did not work it indicates a date that I know is a couple hours before the backup date. But I need to know roughly the hour, not exactly but roughly, and this is not it.

Are there any WordPress specific .log files or plugin files that I can look through to find a date of when it stopped logging/backup was taken? I know that log files are often open for long times, so their modified date could be way earlier than the actual last appendation of text.

How can I determine the date that this backup file was from?

2
  • Is DirectAdmin a plugin? a service? You'll need to contact their support team about this; third-party plugins / products are off topic here. Commented Jun 11 at 0:14
  • @PatJ DirectAdmin is nothing associated with wordpress. It's a webhosting tool, that lots of shared hosting platforms use, look it up, its very popular. Esentially, I just have a backup of the whole wordpress folder. Doesn't really matter where its from, its a wordpress folder. i just thought I'd throw it out there, maybe somoene knew wheter they added dates in there or something. Commented Jun 11 at 1:34

1 Answer 1

0

If WP_DEBUG and WP_DEBUG_LOG are set WP will log its own errors to a file in /wp-content, otherwise it only logs to the webserver's error log.

1
  • Unfortunately none are set. However I was hoping some plugins had some logs? Or if there was some other way to find out, maybe directadmin adds some date secretly to the .zip? Commented Jun 11 at 14:32

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.