-
Notifications
You must be signed in to change notification settings - Fork 3
Tasks
Home > Tasks
This page will contain a listing of every task that you can do with the plugin
Tasks that deal with ec2 are listed under the ec2 namespace.
This task will deploy your symfony project to an ec2 instance. To make it work you need to add something similar in your properties.ini
file.
[cloud]
host=public-dns.amazonaws.com
user=ec2-user
dir=/var/html/www
keypair=/path/to/key.pem
Then to deploy your project, just run php symfony ec2:deploy --go cloud
and it should connect and rsync your files.
This will create a backup of your databases and send the files to the bucket of your choice. This function runs mysqldump.
$ php symfony s3:backup-db backup-bucket-name
underdevelopment
This is one of the task that you will use the most. The task is modeled after the rsync command. With this command you will be able to sync files from one of your s3 buckets to a local folder, or sync files from a local folder to one of your s3 buckets.
Sync files from a local directory to a s3 bucket
php symfony s3:sync /path/to/local/directory bucketName:/