Last modified October 31, 2024

manageSettingsBinary

This function allows you to create/modify the Settings Binary Object.
Parameters
Parameter name Type Description Possible Values Example
rsync String Absolute path to the binary for rsync.   rsync=/usr/local/jetapps/usr/bin/rsync
psql String Absolute path to the binary for psql.   psql=psql
pgrestore String Absolute path to the binary for pgrestore.   pgrestore=pg_restore
pgdump String Absolute path to the binary for pgdump.   pgdump=pg_dump
mysql String Absolute path to the binary for mysql.   mysql=mysql
mysqldump String Absolute path to the binary for mysqldump.   mysqldump=mysqldump
tar String Absolute path to the binary for tar.   tar=tar
gzip String Absolute path to the binary for gzip.   gzip=gzip
gunzip String Absolute path to the binary for gunzip.   gunzip=gunzip
mongodump String Absolute path to the binary for mongodump.   mongodump=/usr/local/jetapps/usr/bin/mongodump
mongorestore String Absolute path to the binary for mongorestore.   mongorestore=/usr/local/jetapps/usr/bin/mongorestore

Example Call JETAPI

jetbackup5api -F manageSettingsBinary -D "gzip=/usr/bin/gzip&tar=/usr/bin/tar"
success: 1 message: Binary Settings Updated Successfully. 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: /usr/bin/tar gzip: /usr/bin/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=manageSettingsBinary&gzip=/usr/bin/gzip&tar=/usr/bin/tar