1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Clarify mysqldump in docs/notes

This commit is contained in:
Hillel Coren 2018-05-08 23:07:33 +03:00
parent 7c1b451ae3
commit 5df2397c1c
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Update
======
.. NOTE:: We recommend backing up your database before updating the app.
.. NOTE:: We recommend backing up your database with mysqldump before updating the app.
To update the app you just need to copy over the latest code. The app tracks the current version in a file called version.txt, if it notices a change it loads ``/update`` to run the database migrations.

View File

@ -1345,6 +1345,7 @@ $LANG = array(
'product_key' => 'Product',
'created_products' => 'Successfully created/updated :count product(s)',
'export_help' => 'Use JSON if you plan to import the data into Invoice Ninja.<br/>The file includes clients, products, invoices, quotes and payments.',
'selfhost_export_help' => '<br/>We recommend using mysqldump to create a full backup.',
'JSON_file' => 'JSON File',
'view_dashboard' => 'View Dashboard',

View File

@ -75,7 +75,7 @@
->addOption('XLS', 'XLS')
->addOption('JSON', 'JSON')
->style('max-width: 200px')
->help('<br/>' . trans('texts.export_help')) !!}
->help('<br/>' . trans('texts.export_help') . (Utils::isSelfHost() ? '<b>' . trans('texts.selfhost_export_help') . '</b>' : '')) !!}
<div id="csvIncludes">