In this article you will learn how to use the sail restore
command to restore
a local backup to your production WordPress site.
Use the following command to restore a local backup to production:
sail restore <filename>
By default, this will restore all application files, your media uploads as well
as the database to your production server. If you would like to skip restoring
uploads, use the --skip-uploads
flag. Similarly, if you would like to skip
the database, use the --skip-db
flag.
Note that after a successful backup restore, it is recommended to download all files from production to your local copy to make sure they're in sync.