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
Solved! Go to Solution.
Views
Replies
Total Likes
Backup of specific folder within AEM can be taken using the below curl command
curl -u admin:admin --data "delay=10&force=false&installDir=SEGMENTSTORE-PATH&target=BACKUP-PATH" http://localhost:4502/libs/granite/backup/content/admin/backups/
Like the other reply, this does not take the backup of datastore, bin, config's etc... if you sure you want to take the backup of only the segment store, you could use the above command for it.
Views
Replies
Total Likes
The backup segmentstore will not be of any use as the configs, datastore , bin folders etc will no be backed up. we have seen this issue in 6.0 online automated backup.have raised an ticket with the adobe that time.they responded it is not working and they will update there docs.But i don't think they have updated.
Views
Replies
Total Likes
Backup of specific folder within AEM can be taken using the below curl command
curl -u admin:admin --data "delay=10&force=false&installDir=SEGMENTSTORE-PATH&target=BACKUP-PATH" http://localhost:4502/libs/granite/backup/content/admin/backups/
Like the other reply, this does not take the backup of datastore, bin, config's etc... if you sure you want to take the backup of only the segment store, you could use the above command for it.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies