Currently, there is no way to skip overwriting local snapshot use one line command because the --overwrite_local_copy option doesn't accept any value. This option should be able to skip using one line command like --include_db or --include_files.
By the way, this breaks wpacceptance test because of overwriting snapshot issue inside the WPA docker container:
Warning: rmdir(/root/.wpsnapshots/a3f2959614a18989ea365da4d86945f1/): Device or resource busy in /root/.composer/vendor/10up/wpsnapshots/src/utils.php on line 359
IMO, in the WPA context, it's safe to always skip overwriting local snapshots because the latest snapshot is pulled at the creation time of the docker container.
Describe the bug
Currently, there is no way to skip overwriting local snapshot use one line command because the
--overwrite_local_copy
option doesn't accept any value. This option should be able to skip using one line command like--include_db
or--include_files
.By the way, this breaks wpacceptance test because of overwriting snapshot issue inside the WPA docker container:
IMO, in the WPA context, it's safe to always skip overwriting local snapshots because the latest snapshot is pulled at the creation time of the docker container.