Solved

files backed up knowledge

Posted on 2014-01-02
11
138 Views
Last Modified: 2014-01-19
do all files resident on an NTFS file system know when they were last backed up? Are there any tools to show "this file hasnt been backed up recently", and if so where is it pulling that information from?
0
Comment
Question by:pma111
  • 6
  • 4
11 Comments
 
LVL 25

Accepted Solution

by:
Cyclops3590 earned 250 total points
ID: 39751412
The archive bit on each file is what is used to know if it was backed up or not.  Not all backup utilities use that, but generally that is what is used.  When a file is backed up, the archive bit is cleared.  When the file changes, the archive bit is set to let the backup software know it needs to be archived again as something has changed.
0
 
LVL 3

Author Comment

by:pma111
ID: 39751420
Would there be any tools then to show "no recent backup" type reports?
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 39751422
whatever backup tool you use should have logging.  that is where you'd find that information.
0
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 
LVL 3

Author Comment

by:pma111
ID: 39751427
but nothing external to any backup software that you could run over the drive to show no recent backup files, using the flag you mentioned above?
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 39751443
use the following command

dir /s /b /A:A /O:-S [starting path]

but again, it depends on if the tool you use use's the archive bit or not.  the windows backup tool will use that though.  That command gives you a list of files with the archive bit set but depends on the starting path you give it.
0
 
LVL 3

Author Comment

by:pma111
ID: 39751448
can you elaborate on the "starting path" please?

be useful to udnerstand the switches used in the command too to get an understanding on what its reporting?
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 39751449
like C:\ or C:\Windows.  Whatever path you want to look for the files.  It just gives a starting point and looks down from there.
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 250 total points
ID: 39751479
Apart from what has already been said, the archive bit doesn't tell you anything about when the file was last backed up. It only tells you, if it is set, that it has been backed up. But if anything gets changed in the file, that bit gets unset. So once that has happened, you won't know whether the file was ever backed up or not. It only tells you something has changed with the file, or it has never been backed up yet, so it should get backed up (again) with the next backup task.

So as has already been mentioned, the only reliable way to check this is to go through the logs of your backup utility.
0
 
LVL 3

Author Comment

by:pma111
ID: 39751481
thanks. be useful to understand the switches used in the command too to get an understanding on what its reporting?
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 39751520
dir /s /b /A:A /O:-S [starting path]

/s - all files in current directory and sub directories
/b - list one directory/file one per line
/A:A - files ready for archiving
/O:-S  - order by size, largest first

all parameters of dir command
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/dir.mspx?mfr=true
0
 
LVL 25

Expert Comment

by:Cyclops3590
ID: 39751527
and rindi is right, there's still no real reliable way to know when the file was last modified.  While files/directories do have time entries recorded in their meta-data on a per object basis, those don't necessary change with the archive bit reliably either.  As rindi and I mentioned though, the backup log is your best bet to know what the backup job actually did.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question