MODx — Integrating Sypex Dumper
Good News Everyone!
So, the news from the website of Sypex Dumper:
Files integration can download
Download Sypex Dumper 2.0.8
Manual:
1. Unpack the downloaded archive SypexDumper_208.zip the root
2. Unzip the folder "manager" and "sxd" from the archive to the root (with replacement of files)
3. Set write permissions for the server for the backup folder in the directory of sxd (modx/sxd/backup) => 0777
4. To install chmod 666 for files modx/sxd/cfg.php and modx/sxd/ses.php.
5. To go to the admin area of MODx, the menu Tools -> Backup (Tools — Backup).
Now, in theory, you can do a backup/restore database in Sypex Dumper 2 without additional authorization.
How all this will look like:
Now put yourself on one project somehow automatically not included yet, will try to understand what it is.
PS: the Comrades who yesterday downloaded files integration — update on the same link, as there is corrected an error of authorization.
P. P. S: not replace standard backuper, and to make the module.
Installation instructions:
1. Unpack the downloaded archive SypexDumper_208.zip in the root of the site
2. To unpack the archive sxd2_for_modx.zip only the folder "sxd" and throw in the root (with replacement of files)
3. Set write permissions for the server for the backup folder in the directory of sxd (modx/sxd/backup) => 0777
4. To install chmod 666 for files modx/sxd/cfg.php and modx/sxd/ses.php.
5. To go to the admin Modules- > Manage modules and create a module, fill in the fields
Name: Sypex Dumper 2
Description: Backup and restore MySQL
To enable blocking only for admins
In the module code to add the contents of the file module_code.php from the archive sxd2_for_modx.zip
Note: the developers rushed it and botched the quotes, the correct code would look like this:
the
6. Log in MODx admin panel, menu Modules - > Sypex Dumper 2 where you can do backup/restore database in Sypex Dumper 2 without additional authorization.
Article based on information from habrahabr.ru
So, the news from the website of Sypex Dumper:
Added files integration for MODx 1.0.x.
File authorization uses the authorization MODx, checks for the session and the user rights for backup. Ie if I went to the admin panel of MODx, it has not yet come, the dumper will be able to login without a password.
By default, it is calculated that the dumper will be in the directory MODx. When integrated damper to replace standard backup of MODx.
Tested on MODx 1.0.4
Files integration can download
Download Sypex Dumper 2.0.8
Manual:
1. Unpack the downloaded archive SypexDumper_208.zip the root
2. Unzip the folder "manager" and "sxd" from the archive to the root (with replacement of files)
3. Set write permissions for the server for the backup folder in the directory of sxd (modx/sxd/backup) => 0777
4. To install chmod 666 for files modx/sxd/cfg.php and modx/sxd/ses.php.
5. To go to the admin area of MODx, the menu Tools -> Backup (Tools — Backup).
Now, in theory, you can do a backup/restore database in Sypex Dumper 2 without additional authorization.
How all this will look like:
Now put yourself on one project somehow automatically not included yet, will try to understand what it is.
PS: the Comrades who yesterday downloaded files integration — update on the same link, as there is corrected an error of authorization.
P. P. S: not replace standard backuper, and to make the module.
Installation instructions:
1. Unpack the downloaded archive SypexDumper_208.zip in the root of the site
2. To unpack the archive sxd2_for_modx.zip only the folder "sxd" and throw in the root (with replacement of files)
3. Set write permissions for the server for the backup folder in the directory of sxd (modx/sxd/backup) => 0777
4. To install chmod 666 for files modx/sxd/cfg.php and modx/sxd/ses.php.
5. To go to the admin Modules- > Manage modules and create a module, fill in the fields
Name: Sypex Dumper 2
Description: Backup and restore MySQL
To enable blocking only for admins
In the module code to add the contents of the file module_code.php from the archive sxd2_for_modx.zip
Note: the developers rushed it and botched the quotes, the correct code would look like this:
the
if(!$modx- > hasPermission('bk_manager')) {
$e->setError(3);
$e- > dumpError();
}
if ($manager_theme)
$manager_theme .= '/';
else $manager_theme = ";
echo '<HTML>
<h1>Sypex Dumper 2</h1>
<div class="sectionHeader" > Backup and restore MySQL</div>
<div class="sectionBody" id="lyr4">
<iframe src="../sxd/" width="586" height="462" frameborder="0" style="margin:0;"></iframe>
</div>
</HTML>';
6. Log in MODx admin panel, menu Modules - > Sypex Dumper 2 where you can do backup/restore database in Sypex Dumper 2 without additional authorization.
Комментарии
Отправить комментарий