MobaXterm 10.250.159.10 20231208 224453
MobaXterm 10.250.159.10 20231208 224453
MobaXterm 10.250.159.10 20231208 224453
[email protected]'s password:
┌──────────────────────────────────────────────────────────────────────┐
│ • MobaXterm Professional Edition v22.2 •
│
│ (SSH client, X server and network tools)
│
│
│
│ ⮞ SSH session to [email protected]
│
│ • Direct SSH : ✓
│
│ • SSH compression : ✓
│
│ • SSH-browser : ✓
│
│ • X11-forwarding : ✓ (remote display is forwarded through
SSH) │
│
│
│ ⮞ For more info, ctrl+click on help or visit our website.
│
└──────────────────────────────────────────────────────────────────────┘
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
root@XCRVPWSDB001:/var/log/postgresql# exit
exit
svc_commvault@XCRVPWSDB001:/var/log/postgresql$ sudo su
root@XCRVPWSDB001:/var/log/postgresql#
root@XCRVPWSDB001:/var/log/postgresql# su postgres
postgres@XCRVPWSDB001:/var/log/postgresql$ pg_dump -U svc_commvault -v postgres
Password:
pg_dump: last built-in OID is 16383
pg_dump: reading extensions
pg_dump: identifying extension members
pg_dump: reading schemas
pg_dump: reading user-defined tables
pg_dump: reading user-defined functions
pg_dump: reading user-defined types
pg_dump: reading procedural languages
pg_dump: reading user-defined aggregate functions
pg_dump: reading user-defined operators
pg_dump: reading user-defined access methods
pg_dump: reading user-defined operator classes
pg_dump: reading user-defined operator families
pg_dump: reading user-defined text search parsers
pg_dump: reading user-defined text search templates
pg_dump: reading user-defined text search dictionaries
pg_dump: reading user-defined text search configurations
pg_dump: reading user-defined foreign-data wrappers
pg_dump: reading user-defined foreign servers
pg_dump: reading default privileges
pg_dump: reading user-defined collations
pg_dump: reading user-defined conversions
pg_dump: reading type casts
pg_dump: reading transforms
pg_dump: reading table inheritance information
pg_dump: reading event triggers
pg_dump: finding extension tables
pg_dump: finding inheritance relationships
pg_dump: reading column info for interesting tables
pg_dump: flagging inherited columns in subtables
pg_dump: reading partitioning data
pg_dump: reading indexes
pg_dump: flagging indexes in partitioned tables
pg_dump: reading extended statistics
pg_dump: reading constraints
pg_dump: reading triggers
pg_dump: reading rewrite rules
pg_dump: reading policies
pg_dump: reading row-level security policies
pg_dump: reading publications
pg_dump: reading publication membership of tables
pg_dump: reading publication membership of schemas
pg_dump: reading subscriptions
pg_dump: reading large objects
pg_dump: reading dependency data
pg_dump: saving encoding = UTF8
pg_dump: saving standard_conforming_strings = on
pg_dump: saving search_path =
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- PostgreSQL database dump complete
--
postgres=>
postgres=>
postgres=>
postgres=> \l
List of databases
Name | Owner | Encoding | Locale Provider
| Collate | Ctype | ICU Locale | ICU Rules | Access
privileges
----------------------+----------+----------+-----------------+-------------
+-------------+------------+-----------+----------------------------
postgres | postgres | UTF8 | libc
| en_US.UTF-8 | en_US.UTF-8 | | |
=Tc/postgres +
| |
| | |
| | | postgres=CTc/postgres +
| |
| | |
| | | readaccess=c/postgres +
| |
| | |
| | | svc_commvault=CTc/postgres
strapi-paymentgw | postgres | UTF8 | libc |
en_US.UTF-8 | en_US.UTF-8 | | |
=Tc/postgres +
| |
| | |
| | | postgres=CTc/postgres +
| |
| | |
| | | strapi=CTc/postgres +
| |
| | |
| | | svc_commvault=CTc/postgres
strapi-paymentgw-uat | postgres | UTF8 | libc |
en_US.UTF-8 | en_US.UTF-8 | | |
=Tc/postgres +
| |
| | |
| | | postgres=CTc/postgres +
| |
| | |
| | | svc_commvault=CTc/postgres
template0 | postgres | UTF8 | libc
| en_US.UTF-8 | en_US.UTF-8 | | |
=c/postgres +
| |
| | |
| | | postgres=CTc/postgres +
| |
| | |
| | | svc_commvault=CTc/postgres
template1 | postgres | UTF8 | libc
| en_US.UTF-8 | en_US.UTF-8 | | |
=c/postgres +
| |
| | |
| | | postgres=CTc/postgres +
| |
| | |
| | | svc_commvault=CTc/postgres
(5 rows)
postgres=> \c strapi-paymentgw
You are now connected to database "strapi-paymentgw" as user "svc_commvault".
strapi-paymentgw=> \dt
List of relations
Schema | Name
| Type | Owner
--------+-----------------------------------------------+-------+--------
public | admin_permissions
| table | strapi
public | admin_permissions_role_links | table |
strapi
public | admin_roles
| table | strapi
public | admin_users
| table | strapi
public | admin_users_roles_links |
table | strapi
public | banks
| table | strapi
public | banks_c_payment_paygate_links | table |
strapi
public | components_demo_demo_components | table |
strapi
public | components_response_data_response_data | table | strapi
public | files
| table | strapi
public | files_folder_links |
table | strapi
public | files_related_morphs |
table | strapi
public | gen_q_rcodes
| table | strapi
public | gen_sha256s
| table | strapi
public | i18n_locale
| table | strapi
public | paygates
| table | strapi
public | paygates_user_links |
table | strapi
public | payments
| table | strapi
public | payments_response_message_links | table |
strapi
public | payments_transaction_message_links | table | strapi
public | payments_user_links |
table | strapi
public | refunds
| table | strapi
public | refunds_payment_links |
table | strapi
public | refunds_user_links |
table | strapi
public | request_logs
| table | strapi
public | strapi_api_token_permissions | table |
strapi
public | strapi_api_token_permissions_token_links | table | strapi
public | strapi_api_tokens
| table | strapi
public | strapi_core_store_settings | table |
strapi
public | strapi_database_schema |
table | strapi
public | strapi_migrations
| table | strapi
public | strapi_transfer_token_permissions | table | strapi
public | strapi_transfer_token_permissions_token_links | table | strapi
public | strapi_transfer_tokens |
table | strapi
public | strapi_webhooks
| table | strapi
public | thank_you_pages
| table | strapi
public | transaction_statuses |
table | strapi
public | transaction_statuses_localizations_links | table | strapi
public | up_permissions
| table | strapi
public | up_permissions_role_links | table
| strapi
public | up_roles
| table | strapi
public | up_users
| table | strapi
public | up_users_role_links |
table | strapi
public | upload_folders
| table | strapi
public | upload_folders_parent_links | table |
strapi
public | vendor_listeners
| table | strapi
public | vendor_listeners_crv_payment_links | table | strapi
(47 rows)
─────────────────────────────────────────────────────────────────────────────────────
─────────────────────────────────────────────────────────────────────────────────────
─────────────────────────
Session stopped
- Press <return> to exit tab
- Press R to restart session
- Press S to save terminal output to file
login as: svc_commvault
[email protected]'s password:
┌──────────────────────────────────────────────────────────────────────┐
│ • MobaXterm Professional Edition v22.2 •
│
│ (SSH client, X server and network tools)
│
│
│
│ ⮞ SSH session to [email protected]
│
│ • Direct SSH : ✓
│
│ • SSH compression : ✓
│
│ • SSH-browser : ✓
│
│ • X11-forwarding : ✓ (remote display is forwarded through
SSH) │
│
│
│ ⮞ For more info, ctrl+click on help or visit our website.
│
└──────────────────────────────────────────────────────────────────────┘
Welcome to Ubuntu 23.04 (GNU/Linux 6.2.0-36-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
postgres=#
postgres=#
postgres=# select variables like '%dir%';
ERROR: column "variables" does not exist
LINE 1: select variables like '%dir%';
^
postgres=# show vari