Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sensson/acronis-mysql-scripts
Acronis MySQL backup support
https://github.com/sensson/acronis-mysql-scripts
acronis acronis-cyber-cloud mysql mysqldump
Last synced: about 2 months ago
JSON representation
Acronis MySQL backup support
- Host: GitHub
- URL: https://github.com/sensson/acronis-mysql-scripts
- Owner: sensson
- Created: 2020-02-29T07:08:57.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T06:33:10.000Z (8 months ago)
- Last Synced: 2024-09-28T00:42:48.846Z (3 months ago)
- Topics: acronis, acronis-cyber-cloud, mysql, mysqldump
- Language: Shell
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Acronis MySQL
Acronis MySQL Scripts includes two backup scenarios. You can do a standard
`mysqldump` type backup before it runs but you can also do a freeze and thaw
of MySQL to create consistent backups of the raw data directory.## Installation
The following command will install the Sensson OSS-repository.
```bash
$ curl -1sLf \
'https://dl.cloudsmith.io/public/sensson/base/cfg/setup/bash.rpm.sh' \
| sudo bash
```Or on Ubuntu.
```bash
curl -1sLf \
'https://dl.cloudsmith.io/public/sensson/base/setup.deb.sh' \
| sudo -E bash
```Once the Sensson OSS-repository is available you can use `yum` or `apt`
to install these scripts and keep them up to date.```
# Redhat/CentOS
$ sudo yum install acronis-mysql-scripts# Ubuntu
$ sudo apt update && apt install acronis-mysql-scripts
```## Configuration
This configuration example includes both methods. You can skip whichever you
want or include both.1. Go to cloud.acronis.com and click on the server you're backing up.
2. Click on **Backup** and select the cog-wheel on the right. This allows you
to make changes to the existing backup plan.
3. Select **Backup options** and go to **Pre-post commands**.
4. Set the command before the backup to:
`/var/lib/Acronis/mysqlbackup.sh`
6. We suggest to leave all default settings as they are.
7. Go to **Pre-post data capture commands**. Be sure to select the
**data capture** commands.
8. Set the command before data capture to:
`/var/lib/Acronis/mysqlfreeze.sh`
9. Set the command after data capture to:
`/var/lib/Acronis/mysqlthaw.sh`
10. We suggest to leave all default settings as they are.
11. Click **Done** and **Save changes** and apply it to the backup plan.
12. Run the backup to test if things are working.## Limitations
These scripts have been tested on:
- CentOS 7 and 8.
- Ubuntu 22.04 and 24.04.## Tests
Sorry, this code doesn't come with tests yet.
## Development
We strongly believe in the power of open source. This module is our way of
saying thanks.If you want to contribute please:
1. Fork the repository.
2. Push to your fork and submit a pull request to the develop branch.