ex3ndr
(Steve Korshakov)
May 19, 2021, 9:07am
1
I just upgraded foundationdb in our cluster and now backup_agent, dr_agent and other tools seems to be gone: no binaries in the folder /usr/lib/foundationdb/
except fdbmonitor and fdbbackup.
ajbeamon
(A.J. Beamon)
May 19, 2021, 4:30pm
2
As you observed, we have a fix written for this that I would expect should be part of a patch release in the next couple weeks.
apple:release-6.3
← sfc-gh-anoyes:sfc-gh-anoyes/cherry-pick-4801-to-release-6.3
opened 04:57PM - 12 May 21 UTC
Cherry pick https://github.com/apple/foundationdb/pull/4801 to release-6.3
- … [x] Make the structure of the server pkg match 6.2.28
- [x] Fix OSX lib path
- [x] Fix install destinations in client
- [x] Test installing osx package
- [x] Test installing deb package
- [x] Test installing rpm package
- [x] Include python bindings in packagebuild to match 6.2
Problems fixed:
- Previously, some packages did not include backup_agent
- Restore pkg behavior to that of 6.2.28 and previous
- Fixed a bug where the postinstall script for pkg generated an invalid cluster file
Need to cherry pick to 7.0 and 6.3.
Closes #4789
# Code-Reviewer Section
The general guidelines can be found [here](https://github.com/apple/foundationdb/wiki/FoundationDB-Commit-Process).
Please check each of the following things and check *all* boxes before accepting a PR.
- [ ] The PR has a description, explaining both the problem and the solution.
- [ ] The description mentions which forms of testing were done and the testing seems reasonable.
- [ ] Every function/class/actor that was touched is reasonably well documented.
## For Release-Branches
If this PR is made against a release-branch, please also check the following:
- [ ] This change/bugfix is a cherry-pick from the next younger branch (younger `release-branch` or `master` if this is the youngest branch)
- [ ] There is a good reason why this PR needs to go into a release branch and this reason is documented (either in the description above or in a linked GitHub issue)
ex3ndr
(Steve Korshakov)
May 19, 2021, 9:02pm
3
Am i right that i just need to put backup_agent
from raw linux distrib to /var/lib/foundationdb/backup_agent
folder?
ajbeamon
(A.J. Beamon)
May 19, 2021, 9:44pm
4
I think that should work. You should also be able to copy the fdbbackup
binary you do have and rename it backup_agent
, and then it will behave as a backup_agent
. I think you could even do this with a symbolic link to fdbbackup
.
I have same questions that when I checked latest release to download binaries (we don’t use Docker and we dont want to use RPM install either) I only see fdbbackup binaries and not fdbrestore/fdbdr and backup_agent.
If is ok to create softlink for all fdbrestore/fdbdr and backup_agent pointing to fdbbackup binaries for a given version ?
johscheuer
(Johannes Scheuermann)
June 21, 2022, 8:47am
6
That okay and that’s actually what we are doing when we build the Docker images: foundationdb/build-images.sh at main · apple/foundationdb · GitHub we probably should document that step.