Backing up your Osclass data is a crucial task that ensures your classifieds platform remains secure and recoverable in case of data loss, server crashes, or accidental modifications.
Backup data
This guide explains how to create backups, where they are stored, and best practices for data security.
Backup Folder
If you do not specify a backup folder, the backup files will be created in the root directory of your Osclass installation. It is strongly recommended to set a secure, non-public path to store backups.
How to Configure Backup Folder
To change the backup folder location, follow these steps:
Go to Backoffice > Tools > Backup.
Specify a secure, non-public directory where backups will be stored.
Ensure the directory has correct write permissions so Osclass can create backup files.
Backup Process
Osclass allows you to back up the following:
Database – A full backup of all Osclass tables and data.
Files – A backup of uploaded media, themes, plugins, and settings.
Creating a Backup
Navigate to Tools > Backup in the Osclass admin panel.
Select the components you want to back up (Database, Files, or Both).
Click the Create Backup button.
Wait for the backup process to complete.
Restoring a Backup
Go to Tools > Backup.
Find the backup file you want to restore.
Click the Restore button next to the backup file.
Confirm the restore operation and wait for the process to complete.
Best Practices for Backups
Store backups in a secure, non-public folder. Keeping backups in the root directory makes them vulnerable to security risks.
Download backups regularly. Keep copies in an external location to prevent data loss in case of server failure.
Automate backup creation. Set up a cron job or scheduled task to create backups at regular intervals.
Test backup restoration. Ensure your backups are functional by restoring them in a test environment.
Summary
Backing up your Osclass installation is an essential step to safeguard your classifieds website. Ensure that backups are stored securely and restored properly when needed. Regular backups will protect your data and keep your website running smoothly.