Generalize links

This commit is contained in:
cytopia
2018-07-26 09:37:30 +02:00
parent ddc23aafd8
commit dcbff8c44a
18 changed files with 227 additions and 124 deletions

View File

@ -1,3 +1,5 @@
.. include:: /_includes/all.rst
.. _backup_and_restore_mysql:
************************
@ -30,8 +32,8 @@ dump date, dump options as well as the server version it came from.
Mysqldump-secure
----------------
`mysqldump-secure <https://mysqldump-secure.org/>`_ is bundled, setup and ready to use in every
PHP container. You can run it without any arguments and it will dump each available database as a
|ext_lnk_tool_mysqldump_secure| is bundled, setup and ready to use in every PHP container.
You can run it without any arguments and it will dump each available database as a
separated compressed file. Backups will be located in ``./backups/mysql/`` inside the Devilbox
git directory or in ``/shared/backups/mysql/`` inside the PHP container.
@ -185,8 +187,8 @@ occured during backups. Let's have a look at one of them:
mysqldump
---------
`mysqldump <https://dev.mysql.com/doc/refman/5.7/en/mysqldump.html>`_ is bundled with each PHP
container and ready to use. To backup a database named ``my_db_name`` follow the below listed
|ext_lnk_tool_mysqldump| is bundled with each PHP container and ready to use.
To backup a database named ``my_db_name`` follow the below listed
example which shows you how to do that from within the PHP container:
.. code-block:: bash
@ -201,26 +203,21 @@ example which shows you how to do that from within the PHP container:
devilbox@php-7.1.6 in /shared/httpd $ mysqldump -h mysql -u root -p my_db_name > /shared/backups/mysql/my_db_name.sql
To find out more about the configuration and options of mysqldump, visit its project page under:
https://dev.mysql.com/doc/refman/5.7/en/mysqldump.html
|ext_lnk_tool_mysqldump|
phpMyAdmin
----------
If you do not like to use the command line for backups, you can use
`phpMyAdmin <https://www.phpmyadmin.net>`_. It comes bundled with the devilbox intranet.
To find out more about the usage of phpMyAdmin, visit its project page under:
https://www.phpmyadmin.net.
If you do not like to use the command line for backups, you can use |ext_lnk_tool_phpmyadmin|.
It comes bundled with the devilbox intranet.
Adminer
-------
If you do not like to use the command line for backups, you can use
`Adminer <https://www.adminer.org>`_. It comes bundled with the devilbox intranet.
To find out more about the usage of Adminer, visit its project page under: https://www.adminer.org.
If you do not like to use the command line for backups, you can use |ext_lnk_tool_adminer| .
It comes bundled with the devilbox intranet.
Restore
@ -281,7 +278,7 @@ binary. Here are a few examples for different file types:
phpMyAdmin
----------
`phpMyAdmin <https://www.phpmyadmin.net>`_ supports importing many different formats out-of-the-box.
|ext_lnk_tool_phpmyadmin| supports importing many different formats out-of-the-box.
Simply select the compressed or uncompressed file and press ``Go`` in the import section of
the web interface.
@ -289,6 +286,6 @@ the web interface.
Adminer
-------
`Adminer <https://www.adminer.org>`_ supports importing of plain (``*.sql``) or gzipped compressed
|ext_lnk_tool_adminer| supports importing of plain (``*.sql``) or gzipped compressed
(``*.sql.gz``) files out-of-the-box. Simply select the compressed or uncompressed file and press
``Execute`` in the import section of the web interface.