Is a documentation to the XML structure for the backups available?
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

- Se connecter pour poster des commentaires

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
- Se connecter pour poster des commentaires

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.
- Se connecter pour poster des commentaires
En réponse à Why do you need to find the… 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.
- Se connecter pour poster des commentaires