Skip to main content

pkgacct override tar

Comments

4 comments

  • cPanelMichael
    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
  • speckados
    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
  • cPanelMichael
    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
  • speckados
    A lot of thanks.
    0

Please sign in to leave a comment.