Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for mysql backup and restore #361

Merged
merged 5 commits into from
Feb 1, 2024

Conversation

vishalanarase
Copy link
Member

❯ ./civo --config staging.civo.json db bk ls psql
Scheduled backup
+-------------+---------------+------------+-----------+-------------+------------------+
| Database ID | Database Name | Software   | Schedule  | Backup Name | Backup           |
+-------------+---------------+------------+-----------+-------------+------------------+
| f41a3f      | psql          | PostgreSQL | 0 0 0 * * | update-test | 20240131-000009F |
+-------------+---------------+------------+-----------+-------------+------------------+
Manual backups
+-------------+---------------+------------+------------------+
| Database ID | Database Name | Software   | Backup           |
+-------------+---------------+------------+------------------+
| f41a3f      | psql          | PostgreSQL | 20240129-092223F |
+-------------+---------------+------------+------------------+
| f41a3f      | psql          | PostgreSQL | 20240129-093432F |
+-------------+---------------+------------+------------------+
| f41a3f      | psql          | PostgreSQL | 20240129-095942F |
+-------------+---------------+------------+------------------+
  cli   mysql-manual-backup-restore !9                                                                                                  3s  02:08:58 PM
❯ ./civo --config staging.civo.json db bk ls mysql
Manual backups
+-------------+---------------+-----------+---------------+----------+--------+
| Database ID | Database Name | Backup ID | Backup Name   | Software | Status |
+-------------+---------------+-----------+---------------+----------+--------+
|      599730 | mysql         | 2daa05    | mysql-backup2 | MySQL    | FAILED |
+-------------+---------------+-----------+---------------+----------+--------+
|      599730 | mysql         | a2c199    | mysql-backup  | MySQL    | READY  |
+-------------+---------------+-----------+---------------+----------+--------+

@RealHarshThakur
Copy link
Member

I think it might be worth updating README with some basic steps around creating and restoring backups

Signed-off-by: Vishal Anarase <[email protected]>
Vishal Anarase added 2 commits January 31, 2024 16:14
Signed-off-by: Vishal Anarase <[email protected]>
Signed-off-by: Vishal Anarase <[email protected]>
Signed-off-by: Vishal Anarase <[email protected]>
@vishalanarase vishalanarase merged commit 5fe8a51 into master Feb 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants