Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module defines a default backup source for files and, correctly, excludes a number of sub folders from the public files directory as they contain generated content. However, in multilingual or non English installs, Drupal also creates a languages directory that contains translations that are used in js. So i think it woul be better if this modules excludes that folder by default as well.
To do so, change this: File includes\sources.filesource.inc, line 70 to:
function backup_settings_default() {
return array(
'exclude_filepaths' => "backup_migrate\nstyles\ncss\njs\nlanguages\nctools\nless",
);
}
Comment | File | Size | Author |
---|---|---|---|
#3 | backup_migrate-n2663928-3.patch | 478 bytes | DamienMcKenna |
Comments
Comment #2
couturier CreditAttribution: couturier as a volunteer commentedComment #3
DamienMcKennaIn patch format.
Comment #4
DamienMcKennaCommitted. Thanks.