FTB Backups

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
M

Mortern

Guest
Hi All

I've noticed something strange going on with the Auto Backing up of my World, i noticed this in the logs and from my position it looks like it creates it, then deletes it straight away!

I can't see a backup zip file anywhere which i would like to set up to auto grab and save somewhere.

Could anyone see anything odd in the logs and maybe help me fix whatever its doing so it creates a backup zip file each time?

[20:20:40] [Server thread/INFO]: Server Backup started!
[20:20:40] [Server thread/INFO]: Turned off world auto-saving
[20:20:40] [Server thread/INFO]: Saving...
[20:20:40] [Client thread/INFO]: [CHAT] Server Backup started!
[20:20:40] [Client thread/INFO]: [CHAT] [Server: Turned off world auto-saving]
[20:20:40] [Server thread/INFO]: Saved the world
[20:20:40] [Client thread/INFO]: [CHAT] [Server: Saved the world]
[20:20:40] [Thread-21030/INFO] [FTBU Backups]: Backing up 1125 files...
[20:20:40] [Thread-21030/INFO] [FTBU Backups]: Compressing 1125 files!
[20:20:40] [Thread-21030/INFO] [FTBU Backups]: [0 | 0.00%]: Discovery\AE2\compass\-1858.dat
[20:20:45] [Thread-21030/INFO] [FTBU Backups]: [657 | 58.40%]: Discovery\DIM-100\region\r.0.1.mca
[20:20:50] [Thread-21030/INFO] [FTBU Backups]: [754 | 67.02%]: Discovery\DIM-7\region\r.0.0.mca
[20:20:56] [Thread-21030/INFO] [FTBU Backups]: [870 | 77.33%]: Discovery\DIM_MYST3\region\r.-1.0.mca
[20:21:01] [Thread-21030/INFO] [FTBU Backups]: [1002 | 89.07%]: Discovery\region\r.-1.-3.mca
[20:21:06] [Thread-21030/INFO] [FTBU Backups]: [1018 | 90.49%]: Discovery\region\r.-2.3.mca
[20:21:11] [Thread-21030/INFO] [FTBU Backups]: [1039 | 92.36%]: Discovery\region\r.-5.2.mca
[20:21:16] [Thread-21030/INFO] [FTBU Backups]: [1057 | 93.96%]: Discovery\region\r.0.6.mca
[20:21:21] [Client thread/INFO] [inventorytweaks]: tconstruct.armor.gui.ArmorExtendedGui
[20:21:21] [Client thread/INFO] [inventorytweaks]: tconstruct.armor.inventory.ArmorExtendedContainer
[20:21:21] [Thread-21030/INFO] [FTBU Backups]: [1076 | 95.64%]: Discovery\region\r.2.-5.mca
[20:21:27] [Thread-21030/INFO] [FTBU Backups]: [1090 | 96.89%]: Discovery\region\r.3.-6.mca
[20:21:32] [Thread-21030/INFO] [FTBU Backups]: [1122 | 99.73%]: Discovery\region\r.8.9.mca
[20:21:32] [Thread-21030/INFO] [FTBU Backups]: [1124 | 99.91%]: Discovery\stats\b566af32-9509-4c8f-b3eb-c3ea2cc8ad75.json
[20:21:32] [Thread-21030/INFO] [FTBU Backups]: Done compressing in 00:00:51 seconds (689.7MB)!
[20:21:32] [Thread-21030/INFO] [FTBU Backups]: Created e:\ftb\FTBInfinity\minecraft\.\backups\2016-03-14-20-20-40\backup.zip from e:\ftb\FTBInfinity\minecraft\saves\Discovery
[20:21:32] [Thread-21030/INFO] [FTBU Backups]: Deleting 1 old backups
[20:21:32] [Thread-21030/INFO] [FTBU Backups]: Deleted old backup: .\backups\2016-03-14-20-20-40
[20:21:32] [Thread-21030/INFO]: Server backup done in 00:00:51! (0.0B | 5.9GB)
[20:21:32] [Server thread/INFO]: Turned on world auto-saving
[20:21:32] [Client thread/INFO]: [CHAT] Server backup done in 00:00:51! (0.0B | 5.9GB)
[20:21:32] [Client thread/INFO]: [CHAT] [Server: Turned on world auto-saving]
[20:22:06] [Client thread/INFO] [journeymap]: Mapping halted in e:\ftb\FTBInfinity\minecraft\journeymap\data\sp\Discovery\DIM1
[20:22:10] [Client thread/INFO] [NEIAddons]: Received handshake from server
[20:22:10] [Client thread/INFO] [NEIAddons]: Available server commands: SetAE2FakeSlot

This folder: "e:\ftb\FTBInfinity\minecraft\.\backups\" doesn't exist, without a dot it does, but this one doesn't even with show hidden files on.

Mort
 
M

Mortern

Guest
Did a little more poking around and saw this in the config.json file of the FTBU folder

"backups": {
"backup_timer": 2.0,
"backups_to_keep": 12,
"compression_level": 1,
"display_file_size": true,
"enabled": true,
"folder": "./backups/",
"need_online_players": true,
"use_separate_thread": true
}

In the folder that didn't have a dot in, there were 12 backups, however as i mentioned the ./backups doesn't exist.

So, as its got 12 backups can it not delete the oldest and replace?
Can i change the ./backups to /backups?
If i change 12 to say 50 would that cause an issue?

I've never edited a .json file before and don't want to screw anything up.