Aller au contenu principal

Is a documentation to the XML structure for the backups available?

Thread needs solution

Hi there,

for some reasons we use acrocmd and scripting to backup and recover our systems.

I have download the comandline reference to find al the comands for acrocmd (list archives, list backups, and so on). But now, I think it would be easier to read the "Backup.XML" file via XML-Parser to get directly the right backup-id for recovering.

Is there any documetation for reading (and understanding) your backup.xml structur available?

How do we read the different types of metainfo in xml (archive, volume, slice)?

How do we convert the timestamp to real date/time?

Where do we find the right backup-id for recovering the latest backup in archive?

 

Many thanks for your help

Sigi

0 Users found this helpful

Hi

There is no public documentation about xml file structure.

We do not recommend parsing our internal meta data xml files. Moreover, new backup format "version 12" does not have such meta in separate xml file.

Thus, I recommend to use acrocmd commands for listing backups because they are working for archives of both backup formats (version 11 and 12).

Hi Ramil,

as always, many thanks for your reply.

You'r right, I didn't thought on the new backup format 12 and the missing xml file in that case. My script works well with acrocmd and does all the necessary steps to identify the last backup in archive. But I thought it could be done faster because we need some more steps with acrocmd do finish the job.

best regards

Sigi

Why do you need to find the latest backup? To get it's backup date?

If you need to specify the latest backup for acrocmd commands, then just omit "--backup" option - if option "--backup" is not specified, the latest backup will be used.

 

En réponse à par truwrikodrorow…

I'm not always want to use the latest backup, because it could be corrupted by some trojaner ...

In my tests I got an error if I use "resore disk" with --loc="atis:///asz" but without the parameter --backup, this will work for restoring from network shares or local disks, but not with location ASZ.

So I have to start my script after Reboot in WinPE as an HTA-file and collect all infos by using the acrocmd one by one and this takes a "long" time...

Reading the XML file would be much more faster, but if it isn't available for the new tibx format I can't use it in all cases.