In Acumatica ERP, you can create company snapshots containing your company’s full or partial data. Snapshots that can be saved locally in the same database, or at a specified location.
You can import and restore snapshot to another company, in this case test company, it's pretty handy tool very useful during implementations, customization and support/troubleshooting while you work with data.
You will occasionally run into few technical issues with snapshots, the newer version now needs you to keep all users logged out and in maintenance mode to take snapshot, link to blog article here.
Today we are going to discuss how to export and import snapshots which are larger in file size of above 1GB, this is not a limitation from Acumatica and more to do with constraint and default value set in IIS (Internet Information Server).
IIS by default allows uploading of a file size of 1GB and it limits the upload process and it can be tweaked to upload upto 4 GB file size and that's the limitation of IIS.
Step 1: Locate your Acumatica web.config file on your application server if you have access to your instance if hosted locally or you have access to server.
Open in notepad or your favorite editor and look for specific tag "<httpRuntime" and your code should look something like below screenshot
Step 2: In order to have Acumatica upload and restore larger file size we need to tweak the following code and specify the file size in bytes.
Note: If you make any changes to web.config ensure all users are logged out and save the file, which will restart the IIS instance and reload this configuration
You can import and restore snapshot to another company, in this case test company, it's pretty handy tool very useful during implementations, customization and support/troubleshooting while you work with data.
You will occasionally run into few technical issues with snapshots, the newer version now needs you to keep all users logged out and in maintenance mode to take snapshot, link to blog article here.
Today we are going to discuss how to export and import snapshots which are larger in file size of above 1GB, this is not a limitation from Acumatica and more to do with constraint and default value set in IIS (Internet Information Server).
IIS by default allows uploading of a file size of 1GB and it limits the upload process and it can be tweaked to upload upto 4 GB file size and that's the limitation of IIS.
Step 1: Locate your Acumatica web.config file on your application server if you have access to your instance if hosted locally or you have access to server.
Open in notepad or your favorite editor and look for specific tag "<httpRuntime" and your code should look something like below screenshot
Step 2: In order to have Acumatica upload and restore larger file size we need to tweak the following code and specify the file size in bytes.
<httpRuntime executionTimeout="300" requestValidationMode="2.0" maxRequestLength="2097152" />By specifying the maxRequestLength we are allowing Acumatica to process files upto 2 GB.
Note: If you make any changes to web.config ensure all users are logged out and save the file, which will restart the IIS instance and reload this configuration
Step 3: Log back and test uploading a larger file size of 1.5GB and restore the snapshot.
All snapshot files uploaded will be stored under Acumatica root/snapshot folder, we have tested uploading upto 5 GB of snapshot size so it's quite possible depending on your IIS version and latest Acumatica ver 6.1
Comments
Post a Comment