-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Attic: debian package 0.13-1
The target is one shared archive for all hosts.
Backup is via local lan and ssh, except one host which uses local direct backup.
I want to run backups from several hosts via ssh to one backup host. Running those backups at the same time will crash attic:
Traceback (most recent call last):
File "/usr/bin/attic", line 3, in
main()
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 715, in main
exit_code = archiver.run(sys.argv[1:])
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 705, in run
return args.func(args)
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 129, in do_create
archive.save()
File "/usr/lib/python3/dist-packages/attic/archive.py", line 196, in save
self.manifest.write()
File "/usr/lib/python3/dist-packages/attic/helpers.py", line 121, in write
self.repository.put(self.MANIFEST_ID, self.key.encrypt(data))
File "/usr/lib/python3/dist-packages/attic/remote.py", line 234, in put
return self.call('put', id_, data, wait=wait)
File "/usr/lib/python3/dist-packages/attic/remote.py", line 127, in call
for resp in self.call_many(cmd, [args], **kw):
File "/usr/lib/python3/dist-packages/attic/remote.py", line 158, in call_many
raise self.RPCError(error)
attic.remote.RPCError: b'AttributeError'
OR
Traceback (most recent call last):
File "/usr/bin/attic", line 3, in
main()
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 715, in main
exit_code = archiver.run(sys.argv[1:])
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 705, in run
return args.func(args)
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 128, in do_create
self._process(archive, cache, args.excludes, args.exclude_caches, skip_inodes, path, restrict_dev)
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 177, in _process
os.path.join(path, filename), restrict_dev)
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 177, in _process
os.path.join(path, filename), restrict_dev)
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 177, in _process
os.path.join(path, filename), restrict_dev)
File "/usr/lib/python3/dist-packages/attic/archiver.py", line 163, in process
archive.process_file(path, st, cache)
File "/usr/lib/python3/dist-packages/attic/archive.py", line 407, in process_file
self.add_item(item)
File "/usr/lib/python3/dist-packages/attic/archive.py", line 170, in add_item
self.write_checkpoint()
File "/usr/lib/python3/dist-packages/attic/archive.py", line 174, in write_checkpoint
self.save(self.checkpoint_name)
File "/usr/lib/python3/dist-packages/attic/archive.py", line 196, in save
self.manifest.write()
File "/usr/lib/python3/dist-packages/attic/helpers.py", line 121, in write
self.repository.put(self.MANIFEST_ID, self.key.encrypt(data))
File "/usr/lib/python3/dist-packages/attic/remote.py", line 234, in put
return self.call('put', id, data, wait=wait)
File "/usr/lib/python3/dist-packages/attic/remote.py", line 127, in call
for resp in self.call_many(cmd, [args], **kw):
File "/usr/lib/python3/dist-packages/attic/remote.py", line 158, in call_many
raise self.RPCError(error)
attic.remote.RPCError: b'AttributeError'
I need to run them one after each other. This should be fixed.