Backup deletion (with script)
Hello,
I need to script backup deletion. As it is not possible to delete properly backups through Windows Explorer... How can I delete my backups (with a script).
Thanks,
Jerome

- Accedi per poter commentare

Thanks for reply.
I'm using Acronis Backup Recovery advanced workstation 10, and we are developpping a web interface to manage the backups.
Users have to manage their own backups through this web console (no Acronis GUI). The tasks (backup, retention or deletion) can't be scheduled. We managed to script all functionnality unless the backup deletion.
This is an important funcctionnality for us because we limit the number of backups and users have to delete backups when they reach the limit.
Up to now we didn't find any solution...
Thanks,
Jerome
- Accedi per poter commentare

Hello again, Jerome,
I discussed this issue with our Expert team and I would like to suggest the following workaround, hopefully it is something you can utilize in your environment.
We have one example for a batch file, that deletes backups on an Iomega REV drive, because at the moment retention rules do not work on it. You can check the example and how to create the batch file in this article.
If you need anything else, please let me know.
Thank you.
- Accedi per poter commentare

This solution cannot work, because Acronis writes metadata in XML files (%VAULT%\.meta\xml_file)
If I only delete the .tib file, the backup listing is no more exact. And if I try to delete this XML file it's worse..
I wanted to update the XML file during the deletion process, but the problem is that I didn't find any connection between the XML file and the workstation name (I looked for it in the database). So I don't know wich XML belongs to which workstation (unless I read all files, but it would be to heavy for the server).
Thanks,
- Accedi per poter commentare