listbackup does not list backups with custom names #586
-
Bug ReportPlease help us help you by filling out any applicable information in this template and removing the rest! Describe the buglistbackup shows backups created without a -o option, but does not show ones created with this option To Reproduce
Expected behaviorExpect to see mymedia.tar in the output Screenshots or reproductionIf applicable, add screenshots (errors, example of the behavior, etc.) to help explain your problem or post a link to a repository that replicates the issue. VersionsDjango-dbbackup
External tools
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This occurs because of how we process the files in the backup directory. At the moment, only files that are marked with the same date format provided in the The other option would logically be to apply the time format to the file name in some other way through the backup command, though we would need to make sure it's very deliberately applied and communicated with the user. |
Beta Was this translation helpful? Give feedback.
This occurs because of how we process the files in the backup directory. At the moment, only files that are marked with the same date format provided in the
DBBACKUP_DATE_FORMAT
setting. It should technically be possible to add a setting or a command option to show the other files, but the date time field wouldn't be populated, making the management command a shortcut to list the documents in your backup directory.The other option would logically be to apply the time format to the file name in some other way through the backup command, though we would need to make sure it's very deliberately applied and communicated with the user.