Select Page

Flush and Rebuild Data

Welcome Forums Appliance and OS Flush and Rebuild Data

This topic contains 0 replies, has 1 voice, and was last updated by Charles Herring Charles Herring 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1944
    Charles Herring
    Charles Herring
    Keymaster

    Running the command below will back up all users and settings then delete data (so it can be rebuilt on reboot). This command needs to be run on every data node.

    sh /witfooprecinct/foley/scripts/temp_backup.sh ; sudo /home/witfooadmin/stop ; sudo rm -rf /data/mysql/* ; sudo /home/witfooadmin/update ; sudo reboot now

    It will take up to 30 minutes for data structures to be rebuilt. After waiting 30 minutes, run the command below to restore users and settings. This command should only be run from one data node.

    sh /witfooprecinct/foley/scripts/temp_restore.sh ; sudo reboot now

    Once this command has started, all other nodes should be rebooted by running sudo reboot now

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.