Create new company and copy settings

I have created a new company, and I want to copy all of my settings and custom invoice templates from the current to the new. I don’t need the data, just the settings and templates.
I would like the customers and vendors that I can do via CSV, but when I export from company A and import into company B, I get the below error

Response: {
“message”: “The POST data is too large.”
}

Headers: {cache-control: no-cache, private, connection: close, content-type: application/json, date: Fri, 12 Sep 2025 01:21:46 GMT, p3p: policyref=“/w3c/p3p.xml”, CP=“IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT”, server: Apache, transfer-encoding: chunked, x-robots-tag: noindex, nofollow}}

When exporting, I don’t see an option to ignore the data.

Hi,

Are you importing using the JSON/ZIP option? There should be an option to choose to import the data and/or settings.

Hello
Yes I am, and I do select Import settings only but get that error

Maybe this suggestion from ChatGPT will help:

Fixing “The POST data is too large.” on CSV import

That error is PHP/Laravel rejecting the upload before the app can read it. Fix the upload limits at the web stack layer you’re using.

PHP (required)

In php.ini (or pool ini, or .htaccess if needed), raise:

upload_max_filesize = 64M
post_max_size       = 64M
memory_limit        = 256M   ; or higher if parsing very large CSVs
max_file_uploads    = 50

Important: post_max_size must be upload_max_filesize.
Restart PHP-FPM/Apache after changes.

Web server / proxy

Depending on your front end:

  • Nginx
client_max_body_size 64m;

Reload Nginx.

  • Apache (httpd)
LimitRequestBody 0      # or a large byte value, e.g., 67108864 for 64 MB
  • HAProxy (usually fine by default for bodies; headers buffer is separate):
    • Not typically the culprit for body size, but make sure you aren’t filtering request bodies; keep defaults or use option http-buffer-request. No special size knob is usually needed for normal CSV sizes.
  • CDN/WAF in front?
    Ensure any request/body-size limits there are increased, too.

Hi

I have tried that fix, but now I get the below error
500: Internal Server Error • Server Error

From the laravel.log, I get this
[2025-09-14 14:07:14] production.ERROR: file_put_contents(): Write of 84989419 bytes failed with errno=28 No space left on device {“userId”:1,“exception”:"[object] (ErrorException(code: 0): file_put_contents(): Write of 84989419 bytes failed with errno=28 No space left on device at /**********/ninja/app/Utils/TempFile.php:38)
[stacktrace]

But I have 3GB of free space on my disk…

Maybe the disk has partitions on it?

I do not believe so, I have online shared hosting with 10GB of disk space. And this is my usage
6.7 GB / 9.77 GB (68.65%)

I think you’ll either need to make more space available or make the json file smaller.

Any suggestions to make the JSON smaller ?
I am not given any options too…

I’m suggesting you try manually editing the file