Choose config file or key from artisan #1508
Unanswered
glennwilton
asked this question in
Ideas
Replies: 1 comment
-
You could make that on your own implementation without problems |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Could we have the option in the command line to choose an alternative config file or key, allowing for different types of backups.
i.e. backup:run --config=backup_user_files
You could choose either a different key in the array from the same backup config file OR a different config file.
$config = config('backup') << Change here to choose a different php file
$backupDestinations = BackupDestinationFactory::createFromArray($config['backup']); <<< here for a different key
My preference would be choosing an alternative config file, as that way, backup/monitor/notifications/cleanup are all changed together, cleaner to manage.
Beta Was this translation helpful? Give feedback.
All reactions