Backup (pkgacct) as non-root user
Hello there.
I'm able to manually administrate my backups using /scripts/pkgacct, however, I'd like to use a non-root user to do this without the need to sudo.
Is there a group or permission I can assign to my "newuser" to allow the use of "/scripts/pkgacct" ?
Thanks!
-
Hello, The pkgacct script requires root access due to the privileges required to generate a backup of the account. Documentation on this script is available at: Pkgacct script One workaround is to utilize an API function, however note that no comparable functions with cPanel API 2 or UAPI match the functionality in the Fileman::fullbackup cPanel API 1 function: cPanel API 1 Functions - Fileman::FullBackup There's a user-submitted workaround that's discussed on the following thread: Backing up accounts (hacky way) While cPanel API 1 is deprecated, there are no plans to remove this API call until a comparable UAPI call is implemented. I encourage you to vote and add feedback to this feature request: Ability to create a full backup in cPanel API 2 Thank you. 0 -
The link is working for me. Please try it again. 0 -
Please see attached screen shot. Page Not found. This screen shot includes the URL bar. 0 -
What happens if you go to this URL: Welcome to the cPanel & WHM 56 documentation home. - Documentation - cPanel Documentation Use the search box, top right corner and search for: Package a cPanel Account For me, in the results, the top 2 links both work for me. One is to an earlier version of the doc, the other linked above in this thread. 0 -
Thanks. Both the link you sent (to the main doc page) and the search took me to: /scripts/pkgacct " Package a cPanel Account - 11.50 Documentation - cPanel Documentation those seem to work. Thanks! 0 -
Happy to help. :) 0
Please sign in to leave a comment.
Comments
7 comments