OSError: [Errno 18] Invalid cross-device link
Installed cassback according to the instructions. When I am running the backup command -
cassback --endpoint s3 --aws-key xx --aws-secret xx --bucket-name cassandra-backup backup --include-system --cassandra_data_dir=/mnt/cassandra/data/
I get the following error. Let me know if this can be fixed.
Error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/scripts.py", line 126, in cassback_main
rv, out = sub_command()
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/subcommands/backup_subcommand.py", line 119, in call
watcher.start()
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/subcommands/backup_subcommand.py", line 254, in start
enqueue=not(self.ignore_existing))
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/subcommands/backup_subcommand.py", line 286, in _maybe_queue_file
with file_util.FileReferenceContext(file_path) as file_ref:
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/file_util.py", line 142, in enter
os.link(self._source_path, stable_path)
OSError: [Errno 18] Invalid cross-device link
Thanks,
Amey
OSError: [Errno 18] Invalid cross-device link
Installed cassback according to the instructions. When I am running the backup command -
cassback --endpoint s3 --aws-key xx --aws-secret xx --bucket-name cassandra-backup backup --include-system --cassandra_data_dir=/mnt/cassandra/data/
I get the following error. Let me know if this can be fixed.
Error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/scripts.py", line 126, in cassback_main
rv, out = sub_command()
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/subcommands/backup_subcommand.py", line 119, in call
watcher.start()
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/subcommands/backup_subcommand.py", line 254, in start
enqueue=not(self.ignore_existing))
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/subcommands/backup_subcommand.py", line 286, in _maybe_queue_file
with file_util.FileReferenceContext(file_path) as file_ref:
File "/usr/local/lib/python2.7/dist-packages/cassback-0.1.1-py2.7.egg/cassback/file_util.py", line 142, in enter
os.link(self._source_path, stable_path)
OSError: [Errno 18] Invalid cross-device link
Thanks,
Amey