Introduction
cPanel Software does not have a built-in API or commands that will allow you to restore multiple cP-moves files.
However, you can craft up a custom loop in order to restore all the cP-moves files.
Procedure
1. You'd want to group all the cP-moves files all into a single location, then construct a find command to locate all the files.
You should be able to construct a find command with the following manual page:
2. After you have construct a find command to locate all the cP-move files, you can set it as a variable by using a FOR loop command with the restorepkg script.
Here is our documentation on restorepkg script:
Here is instruction on how to create a FOR loop command (Specifically Section 7.2):
Note: If you do not have the experience in constructing the For loop command, it is best to reach out to a qualified system administrator to create a well-crafted for loop on your behalf. If you do not have one, you can also visit the link below:
Comments
0 comments
Article is closed for comments.