Direkt zum Inhalt

Archiv-Attribut wird nicht gesetzt

Thread needs solution

Mein Batchfile fragt das Archiv-Attribut ab, um geänderte oder neu erstellte Dateien auf einem zweiten Datenträger zu sichern. Bei allen anderen Dateien funktioniert das, nur bei durch ATI 2015 erstellten Images nicht, weil hier wohl nach der Erstellung das Archiv-Attribut nicht gesetzt wird.

Weiß jemand, woran das liegen könnte? Ich verwende Windows 10 Pro 64 Bit.

0 Users found this helpful
My batch file queries the archive attribute to secure modified or newly created files 
on a second disc. For all other files works, only created by ATI 2015 Images not because 
here well after creating the archive attribute is not set.
Does anyone know why this might be? I'm using Windows 10 Pro 64 bit.

I found two posts which discuss the archive bit which may help with your question:

https://forum.acronis.com/forum/33642 - this relates to ATIH 2012 but is still relevant for 2016.

https://forum.acronis.com/forum/20255 - this relates to ATIH 2011 and is a longer discussion, still relevant.

If these don't answer your question, please provide more details of what you are doing in your batch file, how this relates to ATIH 2015 or 2016?

Meine Vorgehensweise ist folgende:

Zunächst wird ATI 2016 gestartet (von der Disk, nicht innerhalb von Windows). Ziel ist es, ein Backup der Systempartition (C:) zu erstellen. Ausgewählt wird ein laufwerks-basiertes Voll-Backup. Dieses Backup wird auf einer getrennten Partion (hier O:) erzeugt. Der Name der Backup enthält die Partitionskennung (C) und das Erstelldatum, hier 'Drive C Backup (17-03-2016)_full_b1_s1_v1.tib'. Nach Erstellung befindet sich die *.tib-Datei wie gewünscht auf der Partition O. Allerdings enthält die Datei keinerlei im Explorer sichtbare Attribute. Ich hätte hier das A-Attribut erwartet, es ist aber nur 'N' zu sehen (siehe Anhang). Die Datei-Eigenschaften zeigen die entsprechende Checkbox deaktiviert.

Weil ich die neu erstellte *.tib-Datei gerne gesichert hätte, sollte die Batchdatei das (hier nicht gesetzte) A-Attribut testen und die *.tib-Datei sichern, was sie jetzt natürlich nicht tut. Die Frage ist nun: Warum setzt ATI 2016 nicht das A-Attribut der *.tib-Datei?

Ich hoffe, mein Problem ist nun etwas klarer.

Danke für einen Tipp

 

Anhang Größe
340080-126766.jpg 39 KB

Goldhand wrote:

My approach is the following:

First, ATI 2016 launched (from the disk, not from within Windows). The aim is to create a backup of the system partition (C :). Selection is a drive activity-based full backup. This backup is here produced in a separate partion (O :). The name of the backup containing the partition identifier (C) and the creation date, here 'Drive C Backup (17-03-2016) _full_b1_s1_v1.tib'. After creation is the * .tib file as needed on the partition O. However, the file does not contain any visible in Explorer attributes. I would here expect the A attribute, but it is to see only 'N' (see Appendix). The file properties show the corresponding checkbox deactivated.

Because I would like to have backed up the newly created * .tib file, the batch file should test the (not set here) O attribute and get the * .tib file, which of course does not do now. The question now is: Why not put ATI 2016 O attribute of the * .tib file?

I hope my problem is now somewhat clearer.

Thanks for a tip

I think we're lost in translation on the attribute letters.  What are the O and N attributes supposed to be for in reference to my screenshots for the Attributes that Windows shows in English?  All of my .tib files are maked with "A" for archive, which makes sense to me since these are non chaning backup/archive files.

 

Anhang Größe
340098-126769.png 23.75 KB
340098-126772.png 48.67 KB

This is a good explanation of why backup files use the A attribute for archive (in English).  If A mathes N in German, this should be correct:

http://www.2brightsparks.com/resources/articles/understanding-file-attr…

  • Archive (A) : This bit is used by software applications that modify files as well as backup software as a “communication link”. Some backup software (for example SyncBackPro and SyncBackSE) allows incremental backups by the user, which only backs up files that have changed since the previous backup. When the backup software archives or backs up the file, it resets the archive bit (tagging it zero or Off). Any software that subsequently make changes to the file is expected to set the archive bit. Thus when the backup software runs the next time, it will be able to identify the modified files by analyzing the archive bits, and backs up those files with the modified bits.

Das Rätsel um das Attribut 'N' scheint gelöst. Win 10 Pro (deutsche Version) kennt auch das Attribut 'A' für Archiv. Ich habe testweise verschiedene Attribute ein- und ausgeschaltet (egal, ob über die Dialogbox 'Datei-Eigenschaften' oder über das Attrib-Kommando auf dem DOS-Prompt). Sobald ein oder mehrere andere Attribute gesetzt sind, verschwindet das 'N'. Das 'N' erscheint anscheinend nur, wenn alle normalen Attribute ausgeschaltet sind. Das ist aber nur eine Annahme. Eine Erklärung habe ich nicht gefunden.

Zu meinem ersten Problem: Mir ist in den Sinn gekommen,  dass ATI beim Schreiben eventuell keine Attribute verändert. Daher habe ich einen zweiten Versuch zur Erzeugung einer *.tib-Datei gemacht, diesmal aber nicht von der Disk, sondern aus Windows heraus. Überraschung: Das 'A'-Attribut war gesetzt. Nun hat auch mein Batchfile die *.tib-Datei gesichert. Versuch macht Klug!

Danke für die Unterstützung und schönen Tag noch...

Goldhand wrote:
The mystery of the attribute 'N' appears solved . Win 10 Pro ( German
Version ) also knows the attribute 'A' for archive . I have a test basis
different attributes on and off (whether using the dialog box
' File Properties' or the Attrib command at the DOS prompt ) .
Once one or more Anderea attributes are set , the 'N' disappears .
The 'N' appears appears only when all the normal attributes off
are. But that is only an assumption . I have not found an explanation .

To my first problem : It has come to mind , Â that ATI at
Writing may not change any attributes . Therefore, I have a second
Attempt to generate a * .tib file made ​​, but this time not from the
Disk , but from within Windows . Surprise : The 'A' attribute was
set . Now my batch file has secured the * .tib file . experiment makes
Klug !

Thanks for your support and have a nice day ...

Glad to hear it!