Manual:Special pages and Setup:Installation Guide/Advanced/Backup: Difference between pages

(Difference between pages)
No edit summary
 
No edit summary
 
Line 1: Line 1:
<bookshelf src="Book:User manual" />


Special pages are an important tool for wiki maintainers to track changes in the wiki and to analyze important information about all wiki pages.
===<span class="mw-headline" id="Backup_der_Datenbank" style="box-sizing: inherit;">Backup of the database</span>===
==Characteristics of special pages==
To back up your database, use the native program "mysqldump" of MySQL/MariaDB: Open a console, switch to the directory <code style="box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);"><installpath-bluespice></code> and backup your database with the following command:
*Their main purpose is:
mysqldump -u <username> -p --lock-tables <database> > database.sql
**to track changes
For <code style="box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);"><username></code> <span>,</span> use the administrative database user, and for <code style="box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);"><database></code> <span>, use the database of your</span> MediaWiki/BlueSpice installation.
**to view statistics and logs
{{Messagebox|boxtype=Hinweis|Note text=In Windows, make sure that your environment variables are set correctly, so that you can access the command "mysqldump".}}
**to provide bulk editing tools for administrators, (e.g. , global find/replace, import/export pages)
===<span class="mw-headline" id="Backup_des_Filesystems" style="box-sizing: inherit;">Backup of the file system</span>===
**to detect problems (e.g., broken redirects, uncategorized pages)
Back up the complete directory <code style="box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);"><installpath-bluespice></code>, which now also includes the database image, to a different location on your server.


* They cannot be created or edited by any user
'''For security reasons, immediately delete the file<code style="box-sizing: inherit; font-family: monospace, Courier; font-size: 13.5px; padding: 1px 4px; color: black; background-color: rgb(249, 249, 249); border-radius: 2px; border: 1px solid rgb(221, 221, 221);"><installpath-bluespice>/database.sql</code>, since it can be accessed from the browser.'''
* They are listed on  the page <code>Special:Special Pages</code> 
* Some pages are only shown to users with admin rights
* They have their own (pseudo-)namespace <code>Special</code>
* Users with admin rights see more special pages than other users
 
== Accessing special pages ==
To access a list of all Special pages, click Special pages in the [[Manual:Extension/BlueSpiceDiscovery#Header bar|Global actions]] menu or navigate directly to the <code>Special: Special Pages</code> page. Some frequently used special pages are also linked directly from the Global Actions menu.
 
It is not possible to create a redirect page that links to a special page.
 
== Useful special pages ==
Numerous special pages for administrators and wiki maintainers are available. Take some time to click through them and see which ones are useful to you. The overview page also contains all special pages provided by BlueSpice.
 
If you want to use some specific pages frequently and they are not already listed in your wiki's navigation, you can create links to these pages in your [[Manual:Extension/BlueSpiceUserSideBar|user menu]].
 
=== Maintenance lists ===
 
* '''Wanted pages/  Wanted files / Wanted templates:''' Pages and files that are linked or used on wiki pages, but that don't exist.
* '''Dead-end pages:'''  Pages that do not link to other pages.
* '''Orphaned Pages:''' Pages that are not linked from or transcluded into other pages.
* '''Uncategorized Pages:''' Pages that do not belong to any category.
* '''Short Pages:''' Pages with little or no content.
* '''Broken Redirects:''' Redirects to non-existent pages.
 
=== Lists of pages ===
 
* '''All pages:''' All pages of the wiki are listed here. The default view shows all pages in the main namesapce. You can switch to any namespace by selecting it from the namespace drop-down menu and then clicking go. If your wiki administrators have set up namespaces that are only used in your wiki, they will be listed at the end of the menu selection.
* '''Categories:''' All categories that exist in your wiki. If they are shown in red, they are used as tags on pages, but don't have their own wiki page yet.
* '''List of redirects:''' Shows all redirected pages and their target pages.
 
=== Users and rights ===
'''Active users list:''' Shows the users who have performed an activity in the last 30 days.
 
'''User rights:''' Shows what user groups a user belongs to.
 
=== Recent changes and logs ===
 
* '''Logs:''' Shows all logs such as the ''deletion log'' or the ''move log'') (only available to users with admin rights). An individual log can be picked from the drop down menu.
* '''Recent changes:''' Lists changes that have occurred recently. Users can [[mediawikiwiki:Help:New_filters_for_edit_review/Quick_tour|save multiple filters]] to see different views of the change log.
 
=== Data and tools ===
 
* '''Popular pages:''' Lists the pages with the most page views.
* '''System messages:''' Lists system messages available in the MediaWiki namespace. They can be customized by administrators to override default messages.
* '''Replace text:''' Allows a global search and replace option for the wiki (admins only).
 
=== Redirecting special pages ===
 
* '''Random page:''' Takes you to a randomly selected page of the wiki.
* '''Random redirect:''' Takes you to a randomly selected redirected page of the wiki.
 
=== High use pages ===
 
* '''Most used categories:''' Displays the categories with the most member pages (with number of members).
* '''Most linked-to pages:''' Lists pages linked to most frequently (with number of links).
 
=== Page tools ===
 
* '''Export pages:''' Text and edit history of a specific page can be exported to another wiki using this form.
* '''Import pages:''' External wiki pages can be imported here as XML data.
* '''Import CSV:''' Allows to create new wiki pages from a [[Reference:Data Transfer|csv-file]].

Revision as of 13:41, 3 August 2023

Backup of the database

To back up your database, use the native program "mysqldump" of MySQL/MariaDB: Open a console, switch to the directory <installpath-bluespice> and backup your database with the following command:

mysqldump -u <username> -p --lock-tables <database> > database.sql

For <username> , use the administrative database user, and for <database> , use the database of your MediaWiki/BlueSpice installation.

Hinweis:In Windows, make sure that your environment variables are set correctly, so that you can access the command "mysqldump".

Backup of the file system

Back up the complete directory <installpath-bluespice>, which now also includes the database image, to a different location on your server.

For security reasons, immediately delete the file<installpath-bluespice>/database.sql, since it can be accessed from the browser.




To submit feedback about this documentation, visit our community forum.

No categories assignedEdit

Discussions