By default, backup is not enabled for every user of the POS application. To enable backup follow these steps:
NOTE: For backup to work mysqldump must be enabled in your server.
Storing Backup in the same server where you have the application hosted can be dangerous, imagine what will happen if the server crashes? the backup will be lost.
So it is always advisable to store the backup in some external drive. Luckily AWS s3 is supported out-of-box with ZimozoPOS.
Step 1: Create a Bucket
Follow the steps mentioned in the article below for creating a bucket
Step 2: Add Bucket Details in the .env file
Follow these steps:
If it shows undefined package zip follow these steps to install php_zip package:
Backups are stored inside public/uploads/ZImozoPos
Follow the file path in the codebase pos\app\Console\Kernel.php
Search for the line twiceDaily(1, 13) and change it as per required.
Refer to the laravel official document below.
https://laravel.com/docs/9.x/scheduling#schedule-frequency-options
Add the cleanup cron command found in the Administer Backup page in your server.
This cron command will work every day between 11 to 12 pm.
It’ll keep only the last 7 days’ backup.
Inorder to change the time interval of the command to work follow the file path .
pos\app\Console\Kernel.php
Search for the line twiceDaily(1, 13) and just two lines above this you will find the code to change the interval for the cleanup cron command.
Enable proc_open in your server. Contact your hosting provider to enable it.
NOTE: For some technical issues, the Dropbox backup support is removed.
The backup file created by ZimozoPOS includes the following items:
To restore the backup, please follow these simple steps:
Step 1: Download the code files from your POS account.
Step 2: Upload the files to your domain and proceed to install UltimatePOS.
Step 3: After the installation, replace the current database with the one provided in the backup (filename.sql).
Step 4: Similarly, replace the other files in the code directory with the ones available in the backup.
Step 5: Lastly, follow the update steps outlined in the Update Guide
Was this page helpful?
Thank you for your feedback!
Please Login First
Comments (00)