By default, backup is not enabled for every user of the POS application. To enable backup you must add the below line in your .env file

ADMINISTRATOR_USERNAMES=<List of comma-separated username>

Example:

To enable for a user called “admin”

ADMINISTRATOR_USERNAMES=admin

To enable for multiple users, “admin”, “admin_2”

ADMINISTRATOR_USERNAMES=admin,admin_2

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 DropBox & Amazon S3 is supported out-of-box with UltimatePOS.

(Recommended) Enabling Backup to Store in DropBox:

  1. Open .env file.
  2. Add  (or Edit if already present) a key BACKUP_DISK=”dropbox”
  3. Add/Edit another key: DROPBOX_ACCESS_TOKEN=”<your token here>”

Go get the DROPBOX_ACCESS_TOKEN for Dropbox API here: https://www.dropbox.com/developers/apps

See the screenshot below for more details:

Enabling Backup to Store in AWS S3:

  1. Open .env file.
  2. Add  (or Edit if already present) a key BACKUP_DISK=”s3″
  3. Also, add the below keys:
    1. AWS_KEY=”<AWS key here>”
    2. AWS_SECRET=”<AWS secret here>”
    3. AWS_REGION=”<AWS region here>”
    4. AWS_BUCKET=”<AWS buckey here>”

 

Categories: