I know reasons of these errors.
Back-ups (archivator script) were made, while server were running. Some files in a folder, that had to be archived were changed after archiving process was initiated.
horrible problem with .tgz backups
-
- A regular
- Posts: 52
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sat Apr 28, 2012 6:24 pm
Re: horrible problem with .tgz backups
Not really sure, I have a script that compresses using the .tar with the tar -zcvf and I have zero problems. If I need to extract I use the tar -zxvf.
Did you try just tar -xvf?
Carl
Did you try just tar -xvf?
Carl
Re: horrible problem with .tgz backups
Yes, I did. Didn't helped.
Re: horrible problem with .tgz backups
I'm not sure why it isn't working, the tar -zxvf should extract on .tgz files and the tar -xvf should extract on any tar or tgz file.
http://www.linux.ie/newusers/beginners- ... de/tgz.php
There must be an issue with how it is being compressed, have you tried compressing with just the tar -cvf then extracting with tar -xvf to see if that works? This does work on one of my web servers so I am not sure why it wouldn't be working on yours.
Carl
http://www.linux.ie/newusers/beginners- ... de/tgz.php
There must be an issue with how it is being compressed, have you tried compressing with just the tar -cvf then extracting with tar -xvf to see if that works? This does work on one of my web servers so I am not sure why it wouldn't be working on yours.
Carl
Re: horrible problem with .tgz backups
Carl, from what he described, his script didn't perform "save-off" and "save-all" before it tried to compress the server, and tar may have aborted its operation, leaving invalid files.
WoAyumi, a backup plugin may work better for you, moving forward, as it can work with the game to make fully valid and complete backups. However, if you have a large world, anything that's not incremental will hurt server performance.
WoAyumi, a backup plugin may work better for you, moving forward, as it can work with the game to make fully valid and complete backups. However, if you have a large world, anything that's not incremental will hurt server performance.
Re: horrible problem with .tgz backups
save-off may not help in many cases, because there player.dat files and other dynamic data in WorldName folder.
I highly recommend to make a full server stop, before you'll perform a back-up.
I highly recommend to make a full server stop, before you'll perform a back-up.