# Iceshrimp restore script ## Introduction: Restoring the Iceshrimp Drive files and / or database * A small menu that presents two options: * Restore the iceshrimp database * Restore the iceshrimp /user/ files To restore both, the menu will have to be cycled through twice. **Note:** The [**backup_iceshrimp_files.sh**] script also creates a copy of the *default.yml*, the *iceshrimp.nginx.conf* and the *iceshrimp.service* files. These files are not part of this restore script and will have to be restored manually. ## Files: The bash file that restores either the iceshrimp user /files/ directory or the previously created iceshrimp database backup: * ### [iceshrimp_restore.sh] Menu Options: * "Restore the iceshrimp database": This process will restore the iceshrimp database (if a backup exists) * Check to see if a backup has previously completed successfully * If a backup is in place then carry on and restore it * "Restore the iceshrimp /files/ directory": This process will restore the iceshrimp /files/ (if a backup exists) * Check to see if a backup has previously completed successfully * If a backup is in place then carry on and restore it