]> git.p6c8.net - psmysqlbackup.git/blob - README.md
Create-Backup -> Invoke-DatabaseBackup
[psmysqlbackup.git] / README.md
1 # PSMySQLBackup
2
3 PSMySQLBackup is a script for backing up MySQL / MariaDB databases on Windows using [`mysqldump`](https://mariadb.com/kb/en/mysqldump/). The "PS" in PSMySQLBackup either stands for _**P**ower**S**hell …_ or _**P**atrick's **s**imple …_.
4
5 PSMySQLBackup allows you to backup all databases or only a list of databases and to keep an arbitrary or infinite number of backups.
6
7 PSMySQLBackup was inspired by [AutoMySQLBackup](https://sourceforge.net/projects/automysqlbackup/) and its [continuations](https://github.com/sixhop/AutoMySQLBackup), but has only a minimum amount of features.
8
9 ## Requirements
10
11 * PowerShell x.0 (or higher)
12
13 ## Basic installation
14
15 1. Copy *psmysqlbackup.ps1* to arbitrary directory (for example *C:\PSMySQLBackup*).
16 2. Create a directory for your backups (for example *C:\Backup*).
17 3. Edit *psmysqlbackup.ps1* and modify the following variables:
18 1. Set ``$configBackupDir`` to the path you created in step 2.
19 2. …
20 4. Configure Windows task planner to run the script.
21
22 ## Credits
23
24 Author: Patrick Canterino, https://www.patrick-canterino.de/
25
26 License: [2-Clause BSD License](LICENSE)

patrick-canterino.de