You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,7 @@ Backup solution for Masonite.
23
23
-[x] Backup Database
24
24
-[x] Backup Files
25
25
-[x] Store Backup Locally in the filesystem
26
-
-[ ] Send Backup Notifications
27
-
-[ ] Email Backup
26
+
-[x] Email Backup
28
27
-[ ] Store Backup in other Masonite Supported Storage Drivers [s3]
29
28
30
29
@@ -78,6 +77,20 @@ SOURCE = {
78
77
# add more...
79
78
],
80
79
}
80
+
81
+
EMAIL_BACKUP=False# Whether or not to email the backup.
82
+
EMAIL_BACKUP_TO=""# The email address to send the backup to.
83
+
EMAIL_SUBJECT="System Backup"# The email subject.
84
+
```
85
+
> Note: Make sure you have `EMAIL_BACKUP` set to `True` and `EMAIL_BACKUP_TO` set to a valid email address, to send the backup via email. Also don't forget to setup SMTP in `config/mail.py` configuration file or in `.env` file.
0 commit comments