[Borgbackup] [Errno 2] No such file or directory:
Dmitri Chebotarov
dchebota at gmu.edu
Tue Dec 11 11:34:52 EST 2018
Hello
Is is possible to ignore missing files during backup?
F.e. I get these error messages:
/graylog/elasticsearch/data/nodes/0/indices/1drnTgR7Rgq6MtI2zv4WRQ/0/index/_dkrn.cfe: stat: [Errno 2] No such file or directory: '/graylog/elasticsearch/data/nodes/0/indices/1drnTgR7Rgq6MtI2zv4WRQ/0/index/_dkrn.cfe'
/graylog/elasticsearch/data/nodes/0/indices/1drnTgR7Rgq6MtI2zv4WRQ/0/index/_dkrn.si: stat: [Errno 2] No such file or directory:
'borg create' exists with non-0 code ($? != 0).
I couldn't find any options for 'borg create' to ignore these errors.
As a workaround I'm excluding /graylog/elasticsearch/data/nodes/0/indices/* dir from backup, but I've seen it's happening on other dirs as well...
Thank you,
--
Dmitri Chebotarov.
George Mason University,
4400 University Drive,
Fairfax, VA, 22030
GPG Public key# 5E19F14D: [https://goo.gl/SlE8tj]
More information about the Borgbackup
mailing list