06-26-2017 02:47 AM
Hi,
Can anyone mention the steps to perform automatic backup for the entire repository in alfresco share 5.2 for windows?
Thanks in advance
06-26-2017 02:54 PM
From what I have been experiencing since I'm new here too.. I did copy the "alf_data" folder located in my alfresco installation folder, then reinstalled Alfresco Community (without starting the service yet, uncheck that in the final installation step), copied the alf_data from the older installation to the new installation folder, it will ask you if you want to replace the files inside, you click yes, then you start the service again, and log in with your user and everything you had is there.
I've read some different things about "hot and cold" backups, something that I don't understand that much for now really, but this method worked for my needs, just gotta check if it works when a new alfresco community version comes out.
06-26-2017 10:14 PM
First you should check what a backup is, and how it should be done.
A good source of information on the topic is following link Alfresco Backup and Disaster Recovery - White Paper.pdf - Google Drive
And then you can check a simple script I created in the past to perform incremental backups on Windows
A simple incremental backup script for Alfresco on Windows · GitHub
I hope you find this useful
06-27-2017 02:57 AM
Hi Douglas,
Thank you for providing the solution. Can you please provide the steps to use the bat file?
Thanks,
Rajiv
06-27-2017 08:45 AM
Can someone please help me out??
06-27-2017 09:37 PM
Well, all you have to do is to edit the script in order to reflect your environment (file paths, parameters, etc), and then use the Windows scheduler to execute it the time you want it.
06-29-2017 02:11 AM
Whenever i try to run the script, I exits itself within 2-3 seconds. Is there any problem with the script?
Thanks
06-29-2017 02:16 AM
I get this error when i run the bat file
06-30-2017 09:29 AM
Well, judging by the log file you shared, I see you executed the script without even trying to understand it. That is dangerous, and you should never do that. Can you imagine if it had a "delete" command somewhere?
Try to read and understand it, then do the required changes to match your environment (change the file paths, users and passwords) and only after that, execute it.
Explore our Alfresco products with the links below. Use labels to filter content by product module.