Skip to main content

/scripts/restorepkg behavior

Comments

3 comments

  • GOT
    Did some testing and deleted files in the backup are deleted from the userdir when restored, so that's good. Will be testing the databases over the next couple of days.
    0
  • 24x7serversecurity
    Hey :), When your restore any account using --force option, the account gets forcefully overwritten with all the files, databases etc. So if anything doesn't exist in the backup but exists in the account, will get deleted when your restore the account.
    0
  • cPanelMichael
    Hello, Documentation on /scripts/restorepkg is available at: Restore Package Script - Documentation - cPanel Documentation Using the --force flag restores the account, and any existing data remains intact on the server. Thus, it's likely a good idea to terminate the account first, then restore it, if you want it to completely match the backup archive contents. Thank you.
    0

Please sign in to leave a comment.