The support forum

Created date missing in source - triggers backup over and over

CastyMcBoozer :

Sep 08, 2017

In my source folder, for some reason I have a few thousand files that seem to be missing the date created attribute.

When bvckup2 compares the source and destination, it shows date created of 1969.12.31.  The date created on the destination drive is the date that bvckup2 created the files.

So, it copies all these files over and over again.

Any advice/guidance would be appreciated.

Alex Pankratov :

Sep 08, 2017


Option #1 - you can reset the timestamps.
https://bvckup2.com/support/forum/topic/979

Option #2 - you can tell bvckup2 to ignore "created" times.
https://bvckup2.com/support/forum/topic/461/2663

CastyMcBoozer :

Sep 09, 2017

Thank you very much.  I'm trying to run this:

$MinDate = Get-Date "Jan 02, 1980"
Get-ChildItem -recurse | where { $_.CreationTime  -lt $MinDate } | % { $_.CreationTime  = $MinDate, $_ }
Get-ChildItem -recurse | where { $_.LastWriteTime -lt $MinDate } | % { $_.LastWriteTime = $MinDate, $_ }

in the folder in question, but it just repeats the below error, any ideas?


Exception setting "CreationTime": "Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System
.DateTime"."
At line:1 char:75
+ Get-ChildItem -recurse | where { $_.CreationTime  -lt $MinDate } | % { $_. <<<< CreationTime  = $MinDate, $_ }
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyAssignmentException

Alex Pankratov :

Sep 09, 2017

Hmm. Try this instead -

    $MinDate = "Jan 02, 1980"

    Get-ChildItem -recurse | where { $_.CreationTime  -lt $MinDate } | % { $_.CreationTime  = $MinDate, $_ }

That is, without "Get-Date" in the first line.

And I'll see if we can get together a simple UI tool with one button to do the same thing, but in a more civilized way.

CastyMcBoozer :

Sep 10, 2017

Thanks again, it's not generating errors now, so I assume it will work, it has 4 TB of files to go through so I assume it will take some time.

I'm running in trial now, but I will absolutely be purchasing the commercial version.  The simplicity and speed of this program is impressive, and your support is awesome.  Keep up the great work.

CastyMcBoozer :

Sep 10, 2017

Nevermind, not working.  It hadn't registered the Enter key.  It's generating the same error.

CastyMcBoozer :

Sep 10, 2017

I did some Googling.  I removed the trailing ,$_ after =$MinDate
and it worked.

Alex Pankratov :

Sep 10, 2017

OK, thanks. Will patch up the instructions then.
What's your Windows version btw?

CastyMcBoozer :

Sep 10, 2017

This is on Server 2008 R2 Standard.

New topic

Create
Made by Pipemetrics in Switzerland
Support


Follow
Twitter
Dev blog
Miscellanea Press resources
Testimonials
On robocopy
Company
Imprint

Legal Terms
Privacy