{"id":20036177,"url":"https://github.com/vccw-team/wp-cli-vackup","last_synced_at":"2025-09-06T11:40:19.494Z","repository":{"id":73807494,"uuid":"77987383","full_name":"vccw-team/wp-cli-vackup","owner":"vccw-team","description":"This is a WP-CLI based backup solution for WordPress.","archived":false,"fork":false,"pushed_at":"2017-11-01T11:59:17.000Z","size":55,"stargazers_count":9,"open_issues_count":5,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T18:21:29.184Z","etag":null,"topics":["backup","backup-solution","wordpress","wp-cli"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vccw-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-04T06:20:40.000Z","updated_at":"2019-06-17T09:09:58.000Z","dependencies_parsed_at":"2023-04-14T18:18:56.796Z","dependency_job_id":null,"html_url":"https://github.com/vccw-team/wp-cli-vackup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vccw-team%2Fwp-cli-vackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vccw-team%2Fwp-cli-vackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vccw-team%2Fwp-cli-vackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vccw-team%2Fwp-cli-vackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vccw-team","download_url":"https://codeload.github.com/vccw-team/wp-cli-vackup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252446341,"owners_count":21749211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","backup-solution","wordpress","wp-cli"],"created_at":"2024-11-13T10:11:13.231Z","updated_at":"2025-05-05T05:31:45.313Z","avatar_url":"https://github.com/vccw-team.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp vackup\n\n[![Build Status](https://travis-ci.org/vccw-team/wp-cli-vackup.svg?branch=master)](https://travis-ci.org/vccw-team/wp-cli-vackup)\n\nThis is a WP-CLI based backup solution for WordPress. You can create backups of the files and the DB, and restore the sites back from them.\n\nWith the alias function of the WP CLI, this command helps you to reduce workload on managing multiple sites.\n\n```\n$ wp @all vackup create\n```\n\nSee more about alias: https://make.wordpress.org/cli/handbook/config/#config-files\n\n## Requires\n\n* WP-CLI 0.23 or later\n\n## Getting Started\n\n```bash\n$ mkdir -p ~/.wp-cli/commands \u0026\u0026 cd -\n$ git clone git@github.com:vccw-team/wp-cli-vackup.git\n```\n\nAdd following into your `~/.wp-cli/config.yml`.\n\n```yaml\nrequire:\n  - commands/wp-cli-vackup/cli.php\n```\n\n## Configuration\n\nYou can configure the default directory to store backups.\n\n```\nvackup:\n  dir: /Users/miya0001/backups\n```\n\nSee more about configuration: https://make.wordpress.org/cli/handbook/config/\n\n## Subcommands\n\n* `wp vackup create`: Create a .zip archive from WordPress. It contains files and database.\n* `wp vackup restore`: Restore the WordPress site from a .zip archive.\n* `wp vackup server`: Launch a temporary WordPress site with PHP built-in web server.\n\n### Backup your WordPress files and database.\n\nThe file name of the archive will be generated from `home_url()` and a timestamp.\n\n```bash\n$ wp vackup create --dir=path/to/dir\n```\n\nThe archive file name will be `path/to/dir/example.com-20170101000000.zip`.\n\n### Restore from backup.\n\n```bash\n$ wp vackup restore \u003cfile\u003e\n```\n\nYou'd sometimes need `wp search-replace`, for example when you create a backup from production and restore it to dev environment.\n\n### Launch WordPress from backup with PHP built-in server.\n\n```\n$ wp vackup server /path/to/backup.zip\n```\n\nThen visit [http://localhost:8080/](http://localhost:8080/).\n\n### Usage\n\n```bash\nNAME\n\n  wp vackup\n\nDESCRIPTION\n\n  CLI based backup solution for WordPress\n\nSYNOPSIS\n\n  wp vackup \u003ccommand\u003e\n\nSUBCOMMANDS\n\n  create       Create a `.zip` archive of a WordPress install.\n  restore      Restore the WordPress site from backup.\n  server       Launch WordPress from backup file with PHP built-in web server.\n```\n\n## Upgrade\n\n```\n$ wp package update\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvccw-team%2Fwp-cli-vackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvccw-team%2Fwp-cli-vackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvccw-team%2Fwp-cli-vackup/lists"}