neosrulez / backup-googlecloudstorage
Backup your persistent data and database in Google Cloud Storage
Installs: 7 902
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:neos-package
Requires
- google/cloud-storage: *
- ifsnop/mysqldump-php: 2.9
- neos/flow: ^7.0 || ^8.0 || ^8.1
- wapmorgan/unified-archive: ^1.1
This package is not auto-updated.
Last update: 2025-03-09 00:50:02 UTC
README
A package for Neos CMS and Neos Flow to create and restore backups on and from Google Cloud Storage.
Installation
composer require neosrulez/backup-googlecloudstorage
Settings.yaml
Define an individual identifier for your backups, a Google Cloud Storage Bucket and specify the storage location of the credential .json:
NeosRulez:
Backup:
GoogleCloudStorage:
backup_identfier: 'backup' # your own backup identifier (extend filename on storage)
storage_bucket_name: 'my_neos_backups'
key_file_path: '/var/www/html/Packages/Sites/Acme.Site/Resources/Private/.credentials/credential.json'
CLI
CLI command | Action |
---|---|
./flow backup:create | Create backup on Google Cloud Storage |
./flow backup:create --name name_of_the_backup |
Create custom named backup in Google Cloud Storage (without file extension) |
./flow backup:restore name_of_the_backup.zip |
Restore backup from Google Cloud Storage (can't be undone!) |
./flow backup:restoredata name_of_the_backup.zip |
Restore persistent data backup from Google Cloud Storage (can't be undone!) |
./flow backup:restoredatabase name_of_the_backup.zip |
Restore persistent data backup from Google Cloud Storage (can't be undone!) |
./flow backup:delete | Delete backup on Google Cloud Storage (can't be undone!) |
Author
- E-Mail: mail@patriceckhart.com
- URL: http://www.patriceckhart.com