{"id":29195427,"url":"https://github.com/basemax/wordpress-backuper","last_synced_at":"2026-04-13T22:34:41.044Z","repository":{"id":301516541,"uuid":"1009490629","full_name":"BaseMax/wordpress-backuper","owner":"BaseMax","description":"Wordpress-Backuper is a shell script designed to create structured, compressed backups of a WordPress site-specifically focusing on core files, wp-content, and uploads by year.","archived":false,"fork":false,"pushed_at":"2025-06-27T08:23:11.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-27T09:26:27.045Z","etag":null,"topics":["backup","backup-wordpress","backup-wp","bash","sh","tar","targz","wordpress","wordpress-backup","wp","zip"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-27T08:08:46.000Z","updated_at":"2025-06-27T08:23:14.000Z","dependencies_parsed_at":"2025-06-27T09:36:53.617Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/wordpress-backuper","commit_stats":null,"previous_names":["basemax/wordpress-backuper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/wordpress-backuper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fwordpress-backuper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fwordpress-backuper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fwordpress-backuper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fwordpress-backuper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/wordpress-backuper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fwordpress-backuper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263077630,"owners_count":23410167,"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-wordpress","backup-wp","bash","sh","tar","targz","wordpress","wordpress-backup","wp","zip"],"created_at":"2025-07-02T05:04:23.538Z","updated_at":"2026-04-13T22:34:40.997Z","avatar_url":"https://github.com/BaseMax.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📦 Wordpress Backuper\n\n**Wordpress-Backuper** is a shell script by [Max Base](https://github.com/BaseMax) designed to create structured, compressed backups of a WordPress site-specifically focusing on core files, `wp-content`, and `uploads` by year.\n\n---\n\n## ✅ Features\n\n- Zips the root directory (excluding `.zip`, `.gz`, `.sql`, etc.)\n- Separately zips `wp-content` (excluding `uploads`)\n- Scans `uploads/` for folders like `2020`, `2021`, etc., and zips each one independently\n- Generates an `others.zip` for non-year subdirectories in `uploads`\n- Logs all actions to `zip_process.log`\n- Supports dry-run and verbose modes\n- Safe: skips zip files that already exist\n\n---\n\n## 🧰 Requirements\n\n- `zip`\n- `find`\n- Bash (Linux/macOS)\n\nInstall missing dependencies (Debian-based example):\n\n```bash\nsudo apt install zip findutils\n````\n\n---\n\n## 🚀 Usage\n\n### Quickly\n\n```bash\ncurl -L -o wordpress-backuper.sh https://github.com/BaseMax/wordpress-backuper/raw/refs/heads/main/wordpress-backuper.sh\nchmod +x wordpress-backuper.sh\n./wordpress-backuper.sh\n```\n\n### Clone the repo:\n\n```bash\ngit clone https://github.com/BaseMax/Wordpress-Backuper.git\ncd Wordpress-Backuper\n```\n\n### Run the script:\n\n```bash\n./wordpress-backuper.sh\n```\n\n### Options\n\n| Option | Description                   |\n| ------ | ----------------------------- |\n| `-v`   | Verbose mode (print log live) |\n| `-n`   | Dry-run (simulate, no zip)    |\n| `-h`   | Show help                     |\n\n### Example:\n\n```bash\n./wordpress-backuper.sh -v\n```\n\n---\n\n## 📁 Output Files\n\nAll zip files are saved in the root directory:\n\n* `root.zip` — All root files except `wp-content` and known archive formats\n* `wp-content.zip` — All content except `uploads/`\n* `2020.zip`, `2021.zip`, ... — Individual zip files for each year in `uploads`\n* `others.zip` — Remaining contents of `uploads/` excluding year folders\n\nLog file:\n\n* `zip_process.log` — Full log of the operation\n\n---\n\n## 🧪 Example Directory Structure\n\n```\n.\n├── index.php\n├── wp-content/\n│   └── uploads/\n│       ├── 2021/\n│       ├── 2022/\n│       ├── other-dir/\n```\n\nAfter running the script, you’ll get:\n\n```\nroot.zip\nwp-content.zip\n2021.zip\n2022.zip\n2....zip\nothers.zip\nzip_process.log\n```\n\n---\n\n## 📬 Feedback \u0026 Contributions\n\nSuggestions, issues, and pull requests are welcome via [GitHub Issues](https://github.com/BaseMax/Wordpress-Backuper/issues).\n\n---\n\n## 🙏 Credits\n\n* Developed by [Max Base](https://github.com/BaseMax)\n* Script licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fwordpress-backuper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fwordpress-backuper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fwordpress-backuper/lists"}