db:cloneconnects to your existing database to copy data out and imports it into your new database.
db:clonecreates load on your existing database, and can be slow or disruptive if you have a lot of data to copy. It might even fail if the new database is underprovisioned, since this is a resource-intensive process.
This also means
db:cloneonly works for a subset of Supported Databases (those that allow for convenient import / export of data).
backup:restoreinstead uses a snapshot of your existing database's disk, which means it doesn't affect your existing database at all and supports all Aptible-supported Databases.
Usage: aptible db:clone SOURCE DEST Options: [--environment=ENVIRONMENT] Clone a database to create a new one
Updated 2 days ago