Closed shawnbyday closed 6 years ago
It appears my server was in an error state. I'm restarting the Minecraft server now (takes about 15 minutes). Will wait for it to start then try to run a backup again. Will post back once I have the results.
Apparently my world was corrupted. I'm instructed to run rdiff-backup --check-destination-dir but that just gives me another error:
sudo rdiff-backup --check-destination-dir /opt/mscs/backups/gtnh/
Exception 'CRC check failed 0xf130fbcf != 0x6547077eL' raised of class '<type 'exceptions.IOError'>':
File "/usr/lib/python2.7/dist-packages/rdiff_backup/robust.py", line 32, in check_common_error
try: return function(*args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/restore.py", line 468, in get_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Rdiff.py", line 73, in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 62, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 77, in read
self._add_to_outbuf_once()
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 86, in _add_to_outbuf_once
if not self.infile_eof: self._add_to_inbuf()
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 96, in _add_to_inbuf
new_in = self.infile.read(blocksize)
File "/usr/lib/python2.7/gzip.py", line 268, in read
self._read(readsize)
File "/usr/lib/python2.7/gzip.py", line 332, in _read
self._read_eof()
File "/usr/lib/python2.7/gzip.py", line 354, in _read_eof
hex(self.crc)))
Exception 'CRC check failed 0xf130fbcf != 0x6547077eL' raised of class '<type 'exceptions.IOError'>':
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 282, in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 872, in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 71, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rorpiter.py", line 281, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 268, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 290, in restore_orig_regfile
tf.write_from_fileobj(rf.get_restore_fp())
File "/usr/lib/python2.7/dist-packages/rdiff_backup/restore.py", line 488, in get_restore_fp
return robust.check_common_error(error_handler, get_fp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/robust.py", line 32, in check_common_error
try: return function(*args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/restore.py", line 468, in get_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Rdiff.py", line 73, in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 62, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 77, in read
self._add_to_outbuf_once()
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 86, in _add_to_outbuf_once
if not self.infile_eof: self._add_to_inbuf()
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 96, in _add_to_inbuf
new_in = self.infile.read(blocksize)
File "/usr/lib/python2.7/gzip.py", line 268, in read
self._read(readsize)
File "/usr/lib/python2.7/gzip.py", line 332, in _read
self._read_eof()
File "/usr/lib/python2.7/gzip.py", line 354, in _read_eof
hex(self.crc)))
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 304, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 324, in Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 282, in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line 872, in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 71, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rorpiter.py", line 281, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 268, in fast_process
if rf.metadata_rorp.isreg(): self.restore_orig_regfile(rf)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/regress.py", line 290, in restore_orig_regfile
tf.write_from_fileobj(rf.get_restore_fp())
File "/usr/lib/python2.7/dist-packages/rdiff_backup/restore.py", line 488, in get_restore_fp
return robust.check_common_error(error_handler, get_fp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/robust.py", line 32, in check_common_error
try: return function(*args)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/restore.py", line 468, in get_fp
Rdiff.write_patched_fp(current_fp, delta_fp, new_fp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Rdiff.py", line 73, in write_patched_fp
rpath.copyfileobj(librsync.PatchedFile(basis_fp, delta_fp), out_fp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/rpath.py", line 62, in copyfileobj
inbuf = inputfp.read(blocksize)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 77, in read
self._add_to_outbuf_once()
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 86, in _add_to_outbuf_once
if not self.infile_eof: self._add_to_inbuf()
File "/usr/lib/python2.7/dist-packages/rdiff_backup/librsync.py", line 96, in _add_to_inbuf
new_in = self.infile.read(blocksize)
File "/usr/lib/python2.7/gzip.py", line 268, in read
self._read(readsize)
File "/usr/lib/python2.7/gzip.py", line 332, in _read
self._read_eof()
File "/usr/lib/python2.7/gzip.py", line 354, in _read_eof
hex(self.crc)))
IOError: CRC check failed 0xf130fbcf != 0x6547077eL
This was due to my world being corrupted. I'm not sure what was going on with rdiff not doing the check destination correctly. I never fixed but I no longer have the world so I'm just going to close this out.
Sorry you lost your world! Are you not able to restore a previous save point?
Sorry you lost your world! Are you not able to restore a previous save point?
I could but I wasn't interested in doing so. I just thought I had come across something that would affect any new worlds I made. The world corrupted itself at some point I hadn't played it for several months lol. Don't worry about the loss because I'm not concerned about it. I'm pretty sure the corruption was due to some sort of memory issue with my server and mod pack.
I'm receiving the error: Previous backup seems to have failed, regressing destination now. I've checked my NAS to make sure it is available and accessible and that all seems ok. Not really sure what is causing this specific issue. I've included some command line output below as well as an entry from the backup.log file. If more information is needed just let me know and I will gladly dig it up.
### Command line output:
### One of the error entries in the backup.log file: