Taking periodic backups of a web-based software is essential to ensure that in case of unexpected issues, such as server crashes, cyberattacks, or data corruption, you can quickly restore the system and minimize downtime.
To take a full backup, you need to complete two steps:
Follow the steps below to back up the files:
Example: appskull_app__backup__2025_01_15
Example: appskull_app__backup__2025_01_15__18_55_37
[app_root]\public\assets\nudasoft
directory that were originally symbolic link directories, if any exist.
Follow the steps below to back up the database:
.sql
database backup using terminal commands or database management software, such as PostgreSQL pgAdmin 4.
.sql
database backup file, place that file in the database directory that was created earlier.
To complete the backup, simply zip/archive the main backup directory and store it somewhere safe.
While creating backups is essential for data protection, testing them verifies that the backup files are complete, functional, and can be restored successfully when needed. Without testing, there is a risk that your backups may be corrupted, incomplete, or otherwise unusable, leaving you vulnerable to data loss in case of system failure or disasters.
Regularly testing backups helps identify any potential issues in the backup process, such as missing files, incorrect configurations, or compatibility problems. It also gives you the confidence that the recovery process will work smoothly and that you can quickly restore your system to full functionality when necessary.
Restoration is similar to the installation process. Once you have all the files and the database, you can upload them back to the server and restore your database. Make sure to run the necessary installation commands, such as those for install Composer packages.
If you haven't changed your hosting or domain configurations, no further configuration is needed. However, if you have changed any hosting or domain settings, update the old configuration values with the new ones. If you're unsure about these changes, refer to the Installation chapter, which contains all the information you need.