Latest version: Beta 3.1
Translations (Version) German: Beta 3.1 Dutch: Beta 3 Russian: Beta 2
Here's a mod that should be useful to everyone. It allows you to select what YaBB directories to backup and then allows you to run backups in the Admin Center.
If you've seen any of my other mods, you'll notice that this started at Beta 1 rather then 1.0. While my other mods are fairly simple by comparision, this depends on the system configuration and platform differences. I also haven't tested this as much as I could. Please help by reporting good and bad experiences along with your server's OS and what method used.
Features: - Select just what you want backed up - Support for .tar, .tar.gz, .tar.bz2, and .zip formats - All methods implemented as Perl modules and as system() calls. This means that there should be a method working for everyone. - Autodetected methods. Only the ones supported will be shown.
To install: Use BoardMod like normal Upload Languages/English/YaBB2Backup.lng (in zip) Upload AdminIndex.pl, Admin/AdminSublist.pl, Admin/ModList.pl (changed files) Upload Admin/YaBB2Backup.pl (in zip) Upload Modules/Archive/Tar.pm (in zip) if you want it Upload Modules/MIME/Lite.pm (in zip) if you want it Make a Backups directory (default is ./Backups) and chmod it 777 or 755. I strongly advise using a .htaccess file with this. (.htaccess is included as of Beta 3)
Modules supported / directly used: Archive::Tar (pure Perl implementation and included in zip) Compress::Bzip2 Compress::Zlib Archive::Zip MIME::Lite (appears to be pure Perl so it's included in the zip), optional
Binary methods supported: As of Beta 2, $ENV{'PATH'} is searched for the following binary methods: tar, gzip, bzip2, zip
I also plan to add support for a native Win32 binary method (likely pkzip) as the modules are generally slow.
Version History: Beta 3.1 (YaBB 2.0/2.1): Bugfixes for Beta 3, and German, Dutch, and partial Russian language files included. Beta 3 (YaBB 2.0/2.1): Added "Manage Backups" area to download, delete, or email. Fixed problem with autodetecting paths to binary versions of tar, bzip2, gzip, zip. Added MIME::Lite to mod package, as well as the Backups/ directory. (February 11th, 2006) Beta 2 (YaBB 2.0/2.1): Fixed bug with getting to the backup area. Added support for tar, bzip2, gzip, and zip anywhere in PATH. Added Archive::Tar to the mod package. Added timing of your backup. (December 17th, 2005) Beta 1 (YaBB 2.0/2.1): Mod package made available on BoardMod. (December 13th, 2005)
|