Hello All,
We've just released a new version of AutoBackup:
http://www.interactivetools.com/add-ons/detail.php?1003
NOTE: This version requires CMSB 2.10, so don't upgrade until you're on that version (currently in beta and due for release soon)
Here's what's new in 1.03
- Backup filenames now default to server IP address instead of hostname.
This prevents duplicate backup files being created when there are multiple hostnames used to access a site.
- Auto backups will no longer be created if software isn't completely installed yet.
- Fixed typo on line 13 of autoBackup.php: "last X years" is now "last X months"
The main issue we were seeing is that sites that were accessible with multiple hostnames caused multiple backup files to be created. So www.example.com, m.example.com, etc.example.com automatically created files such as:
www.example.com-v2.10-monthly-Jun.sql.php
m.example.com-v2.10-monthly-Jun.sql.php
etc.example.com-v2.10-monthly-Jun.sql.php
These files all had the same content so they were confusing to users. Additionally, some automated vulnerability scanners used by hackers send fake hostnames, so sometimes you'd get a file starting with yahoo.ru or something like that.
So now we're using $_SERVER['SERVER_ADDR'] as the default which should give you an IP like this:
192.168.1.1-v2.10-monthly-Jun.sql.php
The reason to have a prefix on the backup file at all is to tell what server it came from if you have multiple servers (development and production servers).
Hope that helps! Please let us know if you have any questions or comments.
Dave Edis - Senior Developer
interactivetools.com