You must have had previous free sna in D:\System_Backup\Drive_Snapshot. They got moved to the Entire folders. One more batch file run and Entire-3 would have been deleted. Don't have any free sna in D:\System_Backup\Drive_Snapshot.
Sorry, my mistake. The last line should be... Code: REN hadron Entire-1 Almost there. Delete the hadron folder.
Lovely. It worked. I think probably 4 backups to keep would be OK considering that I also use IFW and Reflect. And Snapshot backups seem to be smaller than compared to the other 2 backup apps.
4 backups... Code: IF EXIST Entire-4 (RD Entire-4 /s /q) IF EXIST Entire-3 (REN Entire-3 Entire-4) IF EXIST Entire-2 (REN Entire-2 Entire-3) IF EXIST Entire-1 (REN Entire-1 Entire-2) REN hadron Entire-1
You will always have the 4 most recent backups. When you make a new backup, the oldest one will be deleted.
If I wanted to save another backup number, how would I do it? What does this line do? IF EXIST Entire-4 (RD Entire-4 /s /q)
Just keep running the same batch file. Easy. IF EXIST Entire-4 (RD Entire-4 /s /q) This line deletes the current Entire-4 folder. Then Entire-3 is renamed to Entire-4.
OK. So, this would retain 5 backups. Code: IF EXIST Entire-5 (RD Entire-5 /s /q) IF EXIST Entire-3 (REN Entire-4 Entire-5) IF EXIST Entire-3 (REN Entire-3 Entire-4) IF EXIST Entire-2 (REN Entire-2 Entire-3) IF EXIST Entire-1 (REN Entire-1 Entire-2) REN hadron Entire-1