Example for storing database dumps on S3.
yii db/export --outputPath=/app/runtime/_debug && \
yii migrate/history > /app/runtime/_debug/migrate-history.log && \
yii fs/sync runtime://_debug s3:// --interactive=0 && \
yii fs/rmdir runtime://_debug --recursive --interactive=0
Download via Filefly
Note! It is strongly recommended to remove the debug dumps after downloading them.
yii db/destroy --interactive=0 && \
yii db/create && \
yii db/import $X_DB_DUMP_SQL && \
yii migrate --interactive=0 && \
yii cache/flush-all
Transfer data from staging to migrations
/resque
yii db/x-dump/data
:warning: This section is under development.
yii db/x-dump-data
)dev-master
packagesvendor
Help us to improve the documentation, fork this page.