keboola / kbc-project-restore
Restore KBC project
2.16.1
2024-09-24 18:00 UTC
Requires
- php: ^8.2
- keboola/notification-api-php-client: ^3.0
- keboola/php-temp: ^2.0
- keboola/storage-api-client: ^15.2
- monolog/monolog: ^2.3
Requires (Dev)
- cweagans/composer-patches: ^1.7
- keboola/coding-standard: ^15.0
- php-parallel-lint/php-parallel-lint: ^1.4
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^11.3
- symfony/finder: ^7.1
- symplify/vendor-patches: ^11.3
- dev-master
- 2.16.1
- 2.16.0
- 2.15.2
- 2.15.1
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.2
- 2.12.1
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.1
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.1
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-webrouse-COM-575-update-client-kbc
- dev-erik-fix-row-restore
This package is auto-updated.
Last update: 2024-10-24 18:58:46 UTC
README
PHP library for clone KBC project from backup in:
- Amazon Simple Cloud Storage Service (S3)
- Microsoft Azure Blob Storage
Usage
Library is available as composer package.
Installation
composer require keboola/kbc-project-restore
Development
Clone github repository and build Docker container
git clone https://github.com/keboola/php-storage-api-restore.git
cd php-storage-api-restore
docker-compose build
Create .env
file from this template
TEST_STORAGE_API_URL= TEST_STORAGE_API_TOKEN= TEST_AWS_ACCESS_KEY_ID= TEST_AWS_SECRET_ACCESS_KEY= TEST_AWS_REGION= TEST_AWS_S3_BUCKET= TEST_AZURE_ACCOUNT_NAME= TEST_AZURE_ACCOUNT_KEY= TEST_AZURE_CONTAINER_NAME=
TEST_STORAGE_API_*
variables are from the destination projectTEST_AWS_*
variables are from the S3 bucket where the backup files are stored (Use aws-cf-template.json CloudFormation stack template to create all required AWS resources)TEST_AZURE_ACCOUNT_
create new Storage Account in your Azure SubscriptionTEST_AZURE_CONTAINER_NAME
container whhich will be created in your Storage Account
docker-compose run --rm tests
License
MIT licensed, see LICENSE file.