Sort order of backup files in "bam-backups"

Created on 16 December 2011, about 13 years ago
Updated 12 December 2023, about 1 year ago

I think it would be very helpful to order the backup files listed in "bam-backups" alphabetically. Actually I cannot see a specific order and it is somehow difficult to find the latest backup (I have the timestamp as part of the file name). The file timestamp doesn't match the backup time stamp, especially if the codebase is rsync'ed from one location to another or version controlled with git.

In the 6.x and 7.x branch of the module it is only necessary to insert

asort($files);

at line 206 in includes/backup_migrate.drush.inc.

It might also be possible to provide an option to the "bam-backups" command for this. In this case I would provide a patch, off course :)

Feature request
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024