< All Topics

Backup Data

As a regular data backup strategy, all of the data and the configuration pertaining to NirvaShare can be securely backed up in a zip file using a command line utility. The below mentioned steps can help you with the procedure.

  • Log in to the Linux console where NirvaShare is installed.
  • Run the below commands. It requires root access or you can use sudo.
sudo su root
curl -s https://raw.githubusercontent.com/nirvashare/nirvashare/main/linux/backup.sh -o ns_install.sh && bash ns_install.sh && rm -f ns_install.sh

The above commands will take entire database dump along with the configurations as a backup file. The backup file will be created at location /var/nirvashare/backup/

The backup data can be restored using restore script and same is available here

Table of Contents