diff --git a/docs/update.rst b/docs/update.rst index 99459281dfce..fd1657935ac3 100644 --- a/docs/update.rst +++ b/docs/update.rst @@ -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. diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 5d7fb5a6f9d1..f27982b41d45 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -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.
The file includes clients, products, invoices, quotes and payments.', + 'selfhost_export_help' => '
We recommend using mysqldump to create a full backup.', 'JSON_file' => 'JSON File', 'view_dashboard' => 'View Dashboard', diff --git a/resources/views/accounts/import_export.blade.php b/resources/views/accounts/import_export.blade.php index 41d6eeb44e05..742e65bc19d7 100644 --- a/resources/views/accounts/import_export.blade.php +++ b/resources/views/accounts/import_export.blade.php @@ -75,7 +75,7 @@ ->addOption('XLS', 'XLS') ->addOption('JSON', 'JSON') ->style('max-width: 200px') - ->help('
' . trans('texts.export_help')) !!} + ->help('
' . trans('texts.export_help') . (Utils::isSelfHost() ? '' . trans('texts.selfhost_export_help') . '' : '')) !!}