Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

what is the impact on the index when taking back up, either online or offline

Avatar

Avatar
Level 1
rohan07
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
rohan07
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
rohan07
Level 1

16-05-2020

Does online back up consider index, or harm

Does offline back up consider index, or harm

There are other back up also like tape and Snapshot, whats the relevance of that in regards to back up. 

Whats the best back up in regards to index of AEM OOB/Custom?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

66 likes

Total Posts

108 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile

Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

66 likes

Total Posts

108 posts

Correct Reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
Level 4

16-05-2020

Hi @rohan07,

I'm assuming you're talking about content backup(pages, assets, configurations).
Create a content package(package manager) and it will just be fine. For the automation you can write cURL scripts and save it on your linux machine(usually hosted on linux servers) and create a crontab entry and that will take care of your periodic content backup(s). The only information you lose is version history.

snippet:

 

# creates the package
curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/mySite-backup-images.zip?cmd=create -d packageName=mySite-backup-images -d groupName=mySite-Backup

#adds the filters
curl -u admin:admin -Froot="/content/dam/mySite/images" http://localhost:4502/etc/packages/mySite-Backup/mySite-backup-images.zip/jcr:content/vlt:definition/filter/f0

#builds the package
curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/mySite-Backup/mySite-backup-images.zip?cmd=build

#downloads the package
curl -u admin:admin http://localhost:4502/etc/packages/mySite-Backup/mySite-backup-images.zip > /home/<USER>/<DIRECTORY>/mySite-backup-images_$(date '+%m%d%Y').zip

echo "Backup is done!"
pause

 

 

On the other hand if you want to create a backup of the entire repository, you have three options-

1. offline backup

2. online - AEM integrated backup tool

3. online - filesystem snapshot

 

You can read more about it here : Backup and Restore

 

I hope that helps!

 

Thanks,

Bilal.

Answers (0)