Skip to main content

6. Backup and restore

Set periodic backup of directories:
/etc/isp-go
/var/lib/isp-go/.ssh

Set periodic backup of Redis database (you can get file name and path from the dbfilename and dir parameters of /etc/redis/redis.conf configuration file).

Restore process:

• Install ISP-Go. During the installation process, specify 127.0.0.1 as the IP from which access to the API is allowed in the /etc/nginx/sites-available/isp-go-api file. Do not make API requests until recovery is complete;
• Restore Redis database;
• Restore files to /etc/isp-go and /var/lib/isp-go/.ssh from backup directories;
• Restart redis-server, isp-go-dnsproxy, isp-go-api and isp-go-blockpage ;