Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

  • Introduced backup-domain command:

    • Archives /home//public_html and MySQL database into .tar.gz
    • Auto-names backup files using domain + timestamp
    • Supports --output-dir flag for custom backup destination
  • Introduced restore-domain command:

    • Restores domain files and database from .tar.gz, .tar, or .zip archives
    • Automatically detects archive type and extracts
    • Recovers MySQL database if .sql file is present inside archive
    • Ensures permissions and ownership are reset correctly

These commands improve disaster recovery and DevOps automation for server admins.

- Introduced `backup-domain` command:
  - Archives /home/<user>/public_html and MySQL database into .tar.gz
  - Auto-names backup files using domain + timestamp
  - Supports --output-dir flag for custom backup destination

- Introduced `restore-domain` command:
  - Restores domain files and database from .tar.gz, .tar, or .zip archives
  - Automatically detects archive type and extracts
  - Recovers MySQL database if .sql file is present inside archive
  - Ensures permissions and ownership are reset correctly

These commands improve disaster recovery and DevOps automation for server admins.
@maheshbhatiya73 maheshbhatiya73 merged commit 1cdf07a into main Jun 29, 2025
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