Backup Procedure from 6.0 does not work with 6.1
Hi everyone,
We installed aem 6.0 as Tar MK with help of an Adobe conultant.
For the backup script we used the following online backup command:
INSTALLATION_DIR=/opt/aem/crx-quickstart BACKUP_DIR=/opt/aem/backup CRX_USER=<user> CRX_PASSWORD=<password> CRX_URL=<url> curl -f -u ${CRX_USER}:${CRX_PASSWORD} -X POST "${CRX_URL}/system/console/jmx/com.adobe.granite:type=Repository/op/startBackup/java.lang.String?target=${BACKUP_DIR}"
This procedure did dump the whole segmentstore.
We migrated to 6.1 now and the backup procedure does not seem to work anymore:
java.lang.IllegalArgumentException: The target file must be outside the backup folder
After doing a backup via the GUI, i see that the "source root" was set to /opt/aem. That seems to be the problem, it cannot backup its own backup folder.
Changed to /opt/aem/crx-quickstart; now it works but it backups the whole folder not only the segmentstore.
My questions are:
1. Did the backup change between versions or are am I doing something wrong?
2. Do I need the whole backup or is the segmentstore suffisant?
Kind regards,
Jerry