Skip to content

v1.0

Choose a tag to compare

@austinginder austinginder released this 08 Jun 17:01
· 84 commits to main since this release

v1.0.0 - June 8th 2024

Initial Release

  • Provides a connect command to securely save a site URL and token.
  • Credentials are saved to a .disembark file in the user's home directory.
  • The tool can add new site credentials or update the token for an existing site.
  • Verifies that the site URL format is valid before attempting to connect.
  • Includes a backup command to initiate the backup process for a specified site.
  • Reads the appropriate token for the site from the configuration file.
  • Performs backups by making a series of requests to the Disembark WordPress plugin API.
  • The backup process includes exporting individual database tables, zipping the full database, and processing site files in batches.
  • Finalizes the backup by executing a remote script via curl to generate a complete zip archive.
  • The script is designed to be run from the command line.
  • A version command is included to display the current version of the tool.
  • A showHelp function displays usage instructions for available commands.
  • Provides real-time progress and status messages during the backup process.
  • Includes a utility to convert bytes into a human-readable file size format.