This shell script should be used when migrating from an Eventual to Eventual-Cluster filestore configuration.
The complete migration procedure is available at: How to migrate from "s3" to "cluster-s3"? Knowledge Base article. This script is only a "helper" to fully complete the migration.
Instructions: The script has to run from the $EVENTUAL_DIR/_add/ or $EVENTUAL_DIR/_delete/ folder. Run the script only if there are remaining binaries in the folder.
During the script you will need to set several parameters:
- Function - add / delete. Select according to the corresponding directory the script is running from.
- Artifactory user - The user that runs the Artifactory process and owns the $ARTIFACTORY_HOME directory.
- Artifactory group - The group that is associated with the $ARTIFACTORY_HOME directory.
- Destination - The location of the "_queue" folder. Should be $ARTIFACTORY_HOME/data/eventual/.
- Operation - copy / move. Based on the selection the script will perform a
cp
ormv
function. Copying is usually a safer option, but moving will be much faster and will not result in additional storage.