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.
Setup:
latest code from 7.x branch
PHP 5.3.18 without PEAR installed
I grabbed the PEAR.php, PEAR5.php and Tar.php as instructed in Backup Migrate Files module.
Attempting to download a backup of public files directory results in "PEAR is not installed correctly. See the README.txt file in the backup_migrate_files module directory for help". Turns out the include path in sources.filesource.inc was not complete. Attached patch fixed the issue for me.
Comment | File | Size | Author |
---|---|---|---|
file_backup_without_pear.patch | 1.4 KB | nonsie | |
Comments
Comment #1
ronan CreditAttribution: ronan commentedThere should be no need to install anything in Drupal 7 as it now comes with a working copy of Archive_Tar. I've pushed a fix which no longer checks for the PEAR library.
Comment #2
ronan CreditAttribution: ronan commented