pkgacct override tar
Hi.
I need override tar archive on
I see a this: "allow-override Causes the script to use instructions in /var/cpanel/lib/Whostmgr/Pkgacct/pkgacct, if any are present.
But /var/cpanel/lib/Whostmgr/Pkgacct/ not exists, and not see any doc about how to override anything. Apreciate help.
/usr/local/cpanel/scripts/pkgacct --skiphomedir --nocompress --backup $user $destinationI see a this: "allow-override Causes the script to use instructions in /var/cpanel/lib/Whostmgr/Pkgacct/pkgacct, if any are present.
But /var/cpanel/lib/Whostmgr/Pkgacct/ not exists, and not see any doc about how to override anything. Apreciate help.
-
Hello :) You can find instructions on this on the following thread: How to use migrations override script However, could you elaborate on what you need to change with the Pkgacct script? Thank you. 0 -
On ost i says. I need OVERRIDE tar process (not tar copy structure) when use /usr/local/cpanel/scripts/pkgacct --skiphomedir --nocompress --backup $user $destination This crea a tar file. I like not tar, I like only user_backupdir/ BEFORE tar processs Apreciate help. 0 -
The "--nocompress" flag still combines the files, despite not compressing them. It's not possible to alter the pkgacct script to change this behavior. You will need to manually extract the archive after the pkgacct process completes if you want them extracted. Or, you could develop a custom script that extracts the archive and implement it with a pkgacct script hook: Guide to Standardized Hooks - PkgAcct Functions Thank you. 0 -
A lot of thanks. 0
Please sign in to leave a comment.
Comments
4 comments