WARNING: JetBackup 4 is set to reach its End-of-Life (EOL) on July 1st, 2024. For More Information, please visit: JetBackup 4 EOL Announcement.
NOTICE: JetBackup 5 is now available in the Stable Tier. For more information, please visit our Jetbackup 5 Documentation.

manageFilePermission

Description

With this function, you can create/manage restore file permission.

Parameters

Parameter name Type Description Possible values Example
_id String Required on action modify
The ID of the file permissions.
  59f1db26f7ec181ba44138df
action String Required
The action you want to perform.
  • create
  • modify
 
regex String Required on action create
The pattern of the file/folder that you want the permissions apply to.
  ^public_html$
owner String The restored file ownership.    
group String The restored file group.   nobody
permissions String Required on action create
The restored file permissions.
  0750

Returns

This API call returns file permission object.
To view the parameters returned, click on File Permissions Object

Example