Comments (1)
Hmm, I checked backend.ai mgr dbshell
command options.
bai@dhsung:~/manager$ backend.ai mgr dbshell --help
Usage: backend.ai mgr dbshell [OPTIONS] [PSQL_ARGS]...
Run the database shell.
All additional arguments and options except `--psql-container` and `--psql-
help` are transparently forwarded to the psql command. For instance, you can
use `-c` to execute a psql/SQL statement on the command line.
Note that you do not have to specify connection-related options because the
dbshell command fills out them from the manager configuration.
Options:
--psql-container ID_OR_NAME Open a postgres client shell using the psql
executable shipped with the given postgres
container. If not set or set as an empty string
"", it will auto-detect the psql container from
the halfstack. If set "-", it will use the
host-provided psql executable. You may append
additional arguments passed to the psql cli
command. [default: auto-detect from halfstack]
--psql-help Show the help text of the psql command instead
of this dbshell command.
-h, --help Show this message and exit.
bai@dhsung:~/manager$ backend.ai mgr dbshell --psql-container postgres-cluster-default-backendai-pg-active-1
2024-04-24 15:59:58.990 INFO ai.backend.manager.cli [2551136] using the db container postgres-cluster-default-backendai-pg-active-1 ...
psql (15.1)
Type "help" for help.
backend=#
I think that after checking docker's postgres container name, I have to enter backend.ai mgr dbshell
command with --psql-container ID_OR_NAME
option.
As a result, I'll have to revise the install from package guide.
from backend.ai.
Related Issues (20)
- Simplify the image label specification
- Revisit the unmanaged vfolder with the latest storage-proxy architecture
- Race of `SessionStarted` event and startup-cmd execution in multi-node batch-type cluster sessions HOT 1
- Support for GitLab, GitHub and AWS ECR container registry
- Project-level sharing of compute sessions
- Per-user preferences HOT 1
- Domain-level frontend settings
- User-defined timeout for batch sessions
- Custom Python package loader for the plugin subsystem with scie distributions and local devs
- Add option to disable the `check-presets` API
- Enhance overall VFolder removal experience HOT 2
- If a codespace create operation fails, cancel the creation.
- Add resource group property to list accessible vfolder hosts (storage volumes)
- Upstream issue in `inquirer` depending on deprecated `distutils`
- Make sure to use node package manager as pnpm HOT 1
- Prettify exceptions in the kernel runner
- Add a column to the table.
- Health metric API to expose Redis connection pool metrics
- Verify that the node.js version is correct in `install-dev.sh`
- Refine namings of `images()`, `customized_images()` GraphQL queries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backend.ai.