I just discovered an interesting bug.
If the file_directory_temp value is set to "/tmp", your database will NOT get backed up. This is because the tar command excludes that directory. The reason it excludes that directory is because I use Drupal in an environment where my temp directory is under my Document Root, and did not want to back up temporary files. Clearly I did not think that one though. :-(
I will issue a fix shortly by removing the code that excludes the temp directory and making sure that the database file is backed up by name. This will result in the following effects under the following scenarious:
1) temp directory is /tmp: The database dump will be the only thing that gets backed up under that directory. We won't have to worry about temp files from other processes getting backed up.
2) temp directory is under document root: The entire Drupal temp directory will be backed up, but this should only contain Drupal files.
-- Doug
Comments
Comment #1
dmuth commentedThis has been fixed. I simplified the code so that the database dump gets written to /tmp no matter what, and removed the exclusion logic.
-- Doug
Comment #2
(not verified) commented