Skip to main content

Acronis 10 and post backup script

Thread needs solution

Hi,

I use this script as a post backup script in the backup task. Its goal is to move the .tib files in a subfolder called "archive" after 1 complete backup and 4 incremental backups ( 5 .tib files ).

I use echo names.

The script works. But after its execution, the next complete backup won't restart with the original name of the backup destination file.
Example : if the name is "PC1_backup", and the first incremental files "PC1_backup2", "PC1_backup3", "PC1_backup4", "PC1_backup5", the next complete backup will be named "PC1_backup51" and incremental backups "PC1_backup52" (...) "PC1_backup55".
It won't be a problem if Acronis will do the backup correctly, but after a random number of backups, the .tib archives will be corrupted too ( or the .meta file I don't know ). Then the backup fails with random errors ( can't find the archive, can't find the specified file, can't start, can't open the archive etc ... ).

I've tried to disable echo names, but I had the same problems, sometimes Acronis does 2 complete backups ( with 2 .meta files ) and the task failed too.

What's wrong with this script ?
Is it possible to move the .tib files in the post backup script option ?
How can I have a working backup plan with the result I want ( 1 complete backup and 4 incrementals before to restart with a new complete backup ) ?

Thank you for your help.
Kind regards.

Attachment Size
script.zip 685 bytes
0 Users found this helpful