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
The folder 'files' that is hardcoded at the moment should be configurable. All my applications use the folder 'system' for alle the files such as user pictures.
So the possibility to define the folder name, which should packed into the backup archive, would be fine :)
The text was updated successfully, but these errors were encountered:
Hmm. It seems saving attachments as files directly to the filesystem is quite uncommon, and as you point out, can be handled very differently.
There might even be more than one folder that should be backed up.
Another consideration is that rake tasks have very poor (and ugly) parameters support from the command line.
I have two ideas for a solution:
Change the task to be using a standalone command-line script instead of a rake task (e.g., "rails" or "bundle")
Specify the folder to be backed up in a config file
I think 2 would be better since you could link the config file to the app in source control so that other deployments would backup/restore in the same manner.
Of, course, other suggestions are welcome! Thoughts?
The folder 'files' that is hardcoded at the moment should be configurable. All my applications use the folder 'system' for alle the files such as user pictures.
So the possibility to define the folder name, which should packed into the backup archive, would be fine :)
The text was updated successfully, but these errors were encountered: