Comments (3)
possibly related
[root@dev mariadb]# twindb-backup status
Traceback (most recent call last):
File "/usr/bin/twindb-backup", line 9, in <module>
load_entry_point('twindb-backup==2.15.3', 'console_scripts', 'twindb-backup')()
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 722, in _call_
return self.main(*args, **kwargs)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, args[1:]
, *kwargs)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/twindb_backup-2.15.3-py2.7.egg/twindb_backup/cli.py", line 128, in status
print(json.dumps(dst.status(), indent=4, sort_keys=True))
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/twindb_backup-2.15.3-py2.7.egg/twindb_backup/destination/base_destination.py", line 120, in status
return self._read_status()
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/twindb_backup-2.15.3-py2.7.egg/twindb_backup/destination/ssh.py", line 230, in _read_status
return json.loads(base64.b64decode(stdout.read()))
File "/opt/twindb-backup/embedded/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/opt/twindb-backup/embedded/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/twindb-backup/embedded/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Unterminated string starting at: line 1 column 48220 (char 48219)
from backup.
and restore fails due to a status
2018-01-25 23:03:57,459: WARNING: restore._get_status_key():39: key dev.xxx.com/hourly/mysql/mysql-2018-01-25_22_20_49.xbstream.gz is not found
Traceback (most recent call last):
File "/usr/bin/twindb-backup", line 9, in <module>
load_entry_point('twindb-backup==2.15.3', 'console_scripts', 'twindb-backup')()
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 722, in _call_
return self.main(*args, **kwargs)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, args[1:]
, *kwargs)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/twindb_backup-2.15.3-py2.7.egg/twindb_backup/cli.py", line 160, in restore_mysql
restore_from_mysql(cfg, backup_copy, dst)
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/twindb_backup-2.15.3-py2.7.egg/twindb_backup/restore.py", line 352, in restore_from_mysql
if get_backup_type(status, key) == "full":
File "/opt/twindb-backup/embedded/lib/python2.7/site-packages/twindb_backup-2.15.3-py2.7.egg/twindb_backup/restore.py", line 72, in get_backup_type
raise DestinationError('Unknown backup type for backup copy %s' % key)
twindb_backup.destination.exceptions.DestinationError: Unknown backup type for backup copy dev.xxx.com/hourly/mysql/mysql-2018-01-25_22_20_49.xbstream.gz
from backup.
from backup.
Related Issues (20)
- Enhancement - Add Google Cloud Storage Support HOT 6
- Integration test fails due to intermittent S3 error HOT 2
- Backup fails: pymysql.err.InternalError: (1381, u'You are not using binary logging')
- [Question] Hard-Coding --host=127.0.01 in mysql_source.py HOT 2
- `MemoryError` not handled
- Error creating backup
- Deleting binlog issue HOT 1
- Packagecloud repository is gone HOT 2
- Prevent multiple twindb-backup processes from running simultaneously (pid file/lock file) HOT 3
- Unable to install via script.deb.sh HOT 4
- unexpected keyword argument 'ssh_port'
- Skip tar exit code 1
- Fix for ssh destination delete issues HOT 1
- Manual is incorrect HOT 1
- make package now fails due to OpenSSL validation issues HOT 2
- Releases not available anymore HOT 1
- Initial Update
- Support twindb backup with FIPS mode
- Can't connect to MySQL server.
- Continue support for CentOS 7 Releases till CentOS EOL in June 2024 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backup.