Best way to "backup" Amibroker and important files/folders

Recently reading Tomasz's post: Make backups! Yes YOU need a backup!, I'm trying to be more pro-active in my backups.

As well as doing a system or drive image at somewhat regular intervals, I'm also using a cloud backup service to regularly backup files. In the past, I was backing up the "Amibroker/Formulas" folder, since I figured that's where all my important stuff was (code and systems I had been writing), but I figured other folders should probably be backed up as well. When I select all files and folders within Amibroker directory to be backed up, the cloud backup fails for 2 files that are in the Amibroker main directory (not in subdirectory). The Cloud backup service is telling me that it is because there are 2 files that will be temp files or files where access is not granted. They are not super helpful at narrowing down which 2 files are causing the problem.

I guess this is my long winded way of asking If I perform my cloud backup on all sub-directories (but not the files in the Amibroker main directory, would I later be able to use this backup to get Amibroker working again in exactly the same way on a different computer (in a worst case scenario)?

Alternatively, if there is a better way to perform some kind of daily backup of what I am doing in Amibroker, please let me know.

Thanks!

You should backup everything, except the

  • .EXE files
  • .DLL files
  • .CHM files

As these are installed by AmiBroker setup and in case of failure it is better to have them original coming from setup, than from backup.

More information:
https://www.amibroker.com/guide/x_files.html

4 Likes

Thank you Tomasz. I tried a test, and set the backup to backup all files in the Amibroker directory and subdirectories, except .EXE, .DLL and .CHM files in the Amibroker master directory, and there are still two files that are causing errors on the back up (which are in the Amibroker master directory). I have created a query to the backup service help, to tell me the name of the two files, and once I have a response from them, I will consult the link to the guide you have provided to educate myself on what these 2 particular files do, and if I can leave them out of the backup.

Thanks again.

Just to close out the feedback loop, the backup service finished their investigation and were finally able to tell me the name of the two files failing to backup:

AmiBroker/Plugins/NorgateData-AmiBroker.dll
AmiBroker/Plugins/NorgateData-AmiBrokerAFL.dll

I don't see this being as issue for myself, as in the event of a catastrophic failure of my computer, I would have the rest of my AB files backed up and could re-install Norgate Data on a new computer. I've tagged @NorgateData , just so they are aware of this, in case other users using iDrive report the same "Error message".

1 Like

@Narcissus We do some trickery here and install them as symbolic links - but your *.DLL exception should have avoided them anyway. I doubt there's anything you need to backup within the Plugins folder as a fresh install will certainly restore them all anyway.

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.