Skip to content

Error when backing up to S3 #2

Description

@ameyb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions