Last modified October 31, 2024

getSettingsBinary

This function prints the objects data given its Settings Binary Object.
Returns
Parameter name Type Description
rsync String Absolute path to the binary for rsync.
psql String Absolute path to the binary for psql.
pgrestore String Absolute path to the binary for pgrestore.
pgdump String Absolute path to the binary for pgdump.
mysql String Absolute path to the binary for mysql.
mysqldump String Absolute path to the binary for mysqldump.
ionice String Absolute path to the binary for ionice.
tar String Absolute path to the binary for tar.
gzip String Absolute path to the binary for gzip.
gunzip String Absolute path to the binary for gunzip.
mongodump String Absolute path to the binary for mongodump.
mongorestore String Absolute path to the binary for mongorestore.

Example Call JETAPI

jetbackup5api -F getSettingsBinary
success: 1
message:
system:
  version: 5.3.3
  version_panel: 5.3.3
  tier: EDGE
  type: cPanel
  retry_ms: 0
  disableui:
  dr:
  agreement_panel:
  agreement:
  licenseIssue:
data:
  rsync: /usr/local/jetapps/usr/bin/rsync
  rear: /usr/local/jetapps/usr/bin/rear
  psql: psql
  pgrestore: pg_restore
  pgdump: pg_dump
  mysql: mysql
  mysqldump: mysqldump
  ionice: ionice
  tar: tar
  gzip: gzip
  gunzip: gunzip
  mongodump: /usr/local/jetapps/usr/bin/mongodump
  mongorestore: /usr/local/jetapps/usr/bin/mongorestore

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getSettingsBinary