Solved

files backed up knowledge

Posted on 2014-01-02
11
136 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

777 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