feat: CLI command for content snapshots #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add
mokosuitebackup:snapshotCLI command to create and restore content snapshots from the command line.Subcommands
mokosuitebackup:snapshot create --types=articles,categories,modules --description="Pre-migration"mokosuitebackup:snapshot restore --id=5 --mode=replace --types=articlesmokosuitebackup:snapshot listmokosuitebackup:snapshot delete --id=5Why
Enables cron-scheduled content snapshots (e.g., nightly article snapshot before automated content imports) and scripted restore workflows.
Files
plg_console_mokosuitebackup/src/Command/SnapshotCommand.php(new)