View Single Post
Old January 21st, 2013, 12:43 PM   #19 (permalink)
SUroot
ROM Developer
Thread Author (OP)
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,324 Times in 3,995 Posts
Default Re: [Profile] [Root] Auto Nandroid backup

Quote:
Originally Posted by silentwitness View Post
ok i deleted both index files and ran the backup again now only have 1 index file called index2.txt. It contains information for 21_01_13 which is the new backup i created today. So now when the task runs automatically on the weekend it will create index1.txt i assume?

So when the task runs, it will delete the folder mentioned in index1 (but this time it doesn't exist).

Then it renames index2 to index1

Then it creates a new index2 with the name of the backup its going to take.

Then it takes a backup.



To clarify, index2 is always newest backup. Index1 is always the next one to be deleted.

So it:

Deletes oldest backup
Renames newest backup to oldest backup
Creates new newest backup.

Its hard to describe. Hope it makes sense
SUroot is offline  
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
silentwitness (January 21st, 2013)