tgxn / Backup

A Backup plugin for the Bukkit Server API.
http://bukkitbackup.com
GNU General Public License v3.0
23 stars 14 forks source link

insane Backup size with backupeverything option. #127

Closed BluBb-mADe closed 12 years ago

BluBb-mADe commented 12 years ago

The Plugin generates zipfiles up to 120GB filesize while backupeverything was true. I don't know how big the file would be if i have more hard drive space... The whole server directory is only 49mb.

my system: win7(x64) java7u5(x64) mc1.2.5 craftbukkit server1.2.5r5.0

my setup: Server: w:\server1\ Backup: W:\backups\ Other stuff: w:\otherstuff\

ive already tried to save the backups in W:\server1\backups\ but same problem occurred again.

There are no Servererrors because of this except the HDD was crowded and the server crashed because no more space left over.

Plugins: Backup, WorldEdit, Authme, PermissionsBukkit, Essentials

config: backupinterval: 5M norepeat: false alwayssaveall: false saveallinterval: 0 maxbackups: 40 backupemptyserver: true onlyops: true ignorebypass: true enableautosave: true backupeverything: true backuppath: 'W:\Backups\' usetemp: false tempfoldername: zipbackup: true splitbackup: false dateformat: 'Server1-%1$tY-%1$tm-%1$td-%1$tH-%1$tM-%1$tS' ftpuploadenable: false ftpserveraddress: ftpserverport: 21 ftpusername: ftppassword: ftpdirectory: backups backupworlds: true backupplugins: true skipworlds: pluginlistmode: true pluginlist: displaylog: true notifyallplayers: false enableversioncheck: true requiredstrings: str-200 version: 2.0

(my english is not good but i think you understand what i mean :D)

tgxn commented 12 years ago

"backupeverything" can sometimes cause issues depending on your configuration.

Can you try turning it off and let me know if you still have errors?

Also, can you do the following: Stop server Delete server.log start server run /backup stop server (after backup completes) send me server.log

Thanks :)

BluBb-mADe commented 12 years ago

i've found the problem by myself. If i use "backupseverything: true" simultaneously with "usetemp: false" the error occurs. for now i will enable the usetemp option but maybe you want to fix that. I don't think this would be difficult to fix. I suspect the plugin tries to write the backup zip into the backup zip and then you will get an endless loop an an endless growing file.

By the way... first : the first backup after serverstart doesnt end...never! the plugin only posts that an backup is already in progress:D second: yes, if i turn off the backupeverything option or/and turn on the usetemp option the plugin runs normaly.

...ohh i accidentally closed the issue, this was not intentional...

tgxn commented 12 years ago

Okay, I understand the problem now. :)

I will go over the code tonight.

Thanks.

tgxn commented 12 years ago

Please test this version and let me know how it goes. http://ci.tgxn.net/job/dev-Backup/138/

tgxn commented 12 years ago

Closing issue.