FTB Backups 2

FTB Backups 2

16M Downloads

backup does not preserve file attributes like modified date and created date

Twisted-Code opened this issue ยท 2 comments

commented

instead these get set to the time at which they are added to the archive during the backup task. For example, if the backup runs at 5 PM, all of the files inside the archive it creates will have file attributes as if they were created/modified at or shortly after 5 PM.

Expected behavior

preserve the file attributes from the "live" copy of the world data. I don't know much about your backup task or the implementation of DEFLATE (I presume) you are using, but I'm hoping there is a way to preserve the ENTIRE data being compressed, not just the file contents?

Reproduction steps

  1. Run a backup task in the usual way
  2. go to your backups folder
  3. extract the backup you just created (I used 7-zip)
  4. notice that all the file times got "squashed" in the compression.
commented

Thanks! That was getting really annoying since it was making it hard to determine the age of Gravestone Mod's inventory backups from before the most recent world restore, since they all go to the same folder and are otherwise only identified by a UUID...

commented

Fixed in latest release