Direkt zum Inhalt

Backup deletion (with script)

Thread needs solution

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

0 Users found this helpful

Hello Jerome,

Thank you for posting. I will definitely help you with this.

We do not provide scripts unfortunately but I can suggest this article that has a few examples which can be used to create your own scripts.

Also, I can recommend this article which shows how you create retention rules which can delete unneeded backups.

Please let me know if you have any other questions.

Thank you.

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

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.

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,