Simple Backup Utility is a PHP script that allows you to create and manage backups of sibling folders within the same directory.
- Backup Folders: Select one or more folders to backup.
- Delete Backups: Select one or more backups to delete.
- Easy Update: Built-in update feature for seamless updates to the latest version.
- User-Friendly Interface: Intuitive web interface for straightforward operation.
- PHP (version 5.6 or higher recommended)
- Web server (e.g., Apache, Nginx)
- Clone the repository or download the latest release.
- Place the script (
index.php
) in the directory where you want to manage backups. - Ensure the directory has appropriate permissions for creating and deleting files and folders.
- Access the script via a web browser after installation.
- Enter a name for your backup(s) in the "Backup Name" field.
- Place a checkmark next to each of the folders you'd like to backup.
- Click the "Backup Selected Folders" button.
- Click the trash icon next to the Existing Backups entry.
- Select the checkmark for each backup folder to be deleted.
- Click the trash icon in the checkbox column header.
Note: The trash icon only appears when two or more checkboxes are selected.
Only available if you see the New Version Available message in the bottom right corner of the screen.
- Click the (Update Now) link in the New Version Available message.
- When the page reloads, the new version number should be shown.
The Simple Backup Utility expects the following parent/child directory structure:
- Project Directory
- prod
- staging
- test
- dev
- backups
- index.php (this script)
- prod_release-v1
- staging_benchmark-tests
- test_data-fixtures
- dev_feature-branch-backup
The script displays all of its parent directory's sibling folders. In this example, prod, staging, test, and dev.
The backup process names the selected directory using the format <source folder>_<backup-name>
based on the selected directory to backup.
Note: The names of all files and folders are arbitrary and can be customized as needed, including index.php
.
This project is licensed under the MIT License - see the LICENSE file for details.
For any issues, questions, or feature requests, please open an issue.