Question about the /usr/local/cpanel/bin/userdata_update script.
I have a large number of users migrated from another cPanel server that have customizations to /var/cpanel/userdata/<user>/<domain>. I want to remove the customizations as they're old and obsolete.
I don't want to nuke everything in /var/cpanel/userdata/ so userdata_update --rebuild is overkill. It appears from the code that if I delete the user data file (/var/cpanel/userdata/<user>/<domain>) and run /usr/local/cpanel/bin/userdata_update with no flags, the /var/cpanel/userdata/<user>/<domain> file will be recreated and no other user files will be changed.
Is this correct -- and safe? Any caveats?
Thanks in advance for any insight.
I have a large number of users migrated from another cPanel server that have customizations to /var/cpanel/userdata/<user>/<domain>. I want to remove the customizations as they're old and obsolete.
I don't want to nuke everything in /var/cpanel/userdata/ so userdata_update --rebuild is overkill. It appears from the code that if I delete the user data file (/var/cpanel/userdata/<user>/<domain>) and run /usr/local/cpanel/bin/userdata_update with no flags, the /var/cpanel/userdata/<user>/<domain> file will be recreated and no other user files will be changed.
Is this correct -- and safe? Any caveats?
Thanks in advance for any insight.