TL;DR fdbbackup seems to require permission for parent directory of a backup url. (e.g for
file:///path/to/backup, permission of
/path/to do matter)
UPDATE: It seems that parent of parent directory affect the error.
I’m trying to execute fdbbackup.
Using the latest docker file of Simple Dockerfile.
Start a server.
$ docker run --init --rm --name=fdb-a -v fdb-a:/var/lib/foundationdb hiroshi3110/foundationdb:5.1.5-1_ubuntu-16.04 ./start.sh Configure new cluster. /etc/init.d/foundationdb: line 94: log_daemon_msg: command not found /etc/init.d/foundationdb: line 100: log_end_msg: command not found /etc/foundationdb/fdb.cluster is now using address 172.17.0.2 Time="1526304215.233771" Severity="10" LogGroup="default" Process="fdbmonitor": Started FoundationDB Process Monitor 5.1 (v5.1.5) Database created
Then try to do fdbbackup…
$ docker exec -ti fdb-a bash root@93f96ad9d4c0:~# mkdir backup root@93f96ad9d4c0:~# chmod a+w backup/ root@93f96ad9d4c0:~# fdbbackup status No previous backups found. root@93f96ad9d4c0:~# fdbbackup start -d file:///root/backup The backup on tag `default' was successfully submitted. root@93f96ad9d4c0:~# fdbbackup status The backup on tag `default' is in progress to file:///root/backup/backup-2018-05-14-13-26-05.896971. Snapshot interval is 864000 seconds. The initial snapshot is still running. Details: LogBytes written - 0 RangeBytes written - 0 Last complete log version and timestamp - 149804665, 05/14/18 13:26:06 Last complete snapshot version and timestamp - N/A, N/A Current Snapshot start version and timestamp - 149804665, 05/14/18 13:26:06 Expected snapshot end version and timestamp - 149804665, 05/14/18 13:26:06 Backup supposed to stop at next snapshot completion - Yes Recent Errors (since initialization) 11 second(s) ago : 'Platform error' on 'file_backup_write_range' root@93f96ad9d4c0:~# ls -l backup/ total 0
How can I do fdbbackup properly?
Thanks in advanced as always.