How long should a backup take? | Community
Skip to main content
January 4, 2017
Solved

How long should a backup take?

  • January 4, 2017
  • 7 replies
  • 2938 views

I did a backup yesterday of AEM 6.2, a simple AEM quickstart. Through the JMX interface:

URL: http://localhost:4502/system/console/jmx/com.adobe.granite%3Atype%3DRepository (startBackup(java.lang.String target))

I was watching the backup progress before leaving for the day using:

http://localhost:4502/libs/granite/backup/content/admin.html

It was at 20% around 3:30 pm EST. I came in this morning, and it showed that it had completed at 23:26:16 EST

Question: Should I expect 8 hrs for a backup?

Question: Should I expect more than 8 hours?

Question: What should I be telling my customer? (Immigration, Refugees and Citizenship Canada)

Thanks

-Joel

P.S. It did appear to work. I was able to unzip it and use it.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi 

As mentioned by Runal,

You might be doing online backup which talk more time as compare to offline.

Documentation says that in Offline Backup, a snapshot backup usually takes only a few seconds, the entire downtime is less than a few minutes.

Please read the documentation which explain both process in details.

Doc:-  https://docs.adobe.com/docs/en/aem/6-2/administer/content/backup-and-restore.html

 

Also read, this reference article :- http://labs.6dglobal.com/blog/2013-12-16/aem-live-backup-strategy/

~kautuk

7 replies

smacdonald2008
Level 10
January 4, 2017

According to the docs -- 

https://docs.adobe.com/docs/en/aem/6-2/administer/content/backup-and-restore.html

It depends on the size of the JCR. 

Runal_Trivedi
Level 6
January 4, 2017

I guess you triggered online backup which is supposed to take more time as compared to offline backup.

If you have luxury to stop the server then offline backup will be lot faster, its more like a snapshot backup.

Please go through the link that Scott shared, it will give you more details around the type of backup supported.

- Runal

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
January 5, 2017

Hi 

As mentioned by Runal,

You might be doing online backup which talk more time as compare to offline.

Documentation says that in Offline Backup, a snapshot backup usually takes only a few seconds, the entire downtime is less than a few minutes.

Please read the documentation which explain both process in details.

Doc:-  https://docs.adobe.com/docs/en/aem/6-2/administer/content/backup-and-restore.html

 

Also read, this reference article :- http://labs.6dglobal.com/blog/2013-12-16/aem-live-backup-strategy/

~kautuk

Kautuk Sahni
Ashish_Saxena
January 5, 2017

As mentioned by others in the thread already, if you can share the size of repository, it can be validated whether 8 Hrs is good enough or not due to the dependency.

Also if you have a slave standby available, you can bring down the slave to take the offline backup, as that would be equal to a snapshot without the need of impacting the live author instance.

Ashish

January 9, 2017

Thanks very much. I will research the offline option and present that to the client.

-Joel

January 9, 2017

Looking at https://docs.adobe.com/docs/en/aem/6-2/administer/content/backup-and-restore.html#Filesystem Snapshot Backup

Do a snapshot of the filesystem AEM is deployed on.

Is this simply cloning the directory?

I'm in Windows 7.

-Joel

Runal_Trivedi
Level 6
January 9, 2017

Yes. Snapshot backup is indeed cloning/copying your entire crx-quickstart folder.

- Runal