Skip to content

Commit

Permalink
backup issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Feb 3, 2022
1 parent 572bdc3 commit 4800015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/MicroweberPackages/Backup/GenerateBackup.php
Expand Up @@ -9,7 +9,7 @@
class GenerateBackup extends Export
{
public $type = 'json';
public $allowSkipTables = false;
public $allowSkipTables = true; // this will skip sensitive tables

public function __construct() {
$this->logger = new BackupLogger();
Expand Down
Expand Up @@ -195,6 +195,7 @@ public function start(Request $request)
$backup->setExportTemplates($request->get('include_templates', []));
} else {
$backup->setType('json');
$backup->setAllowSkipTables(true); // skip sensitive tables
$backup->setExportAllData(true);
$backup->setExportMedia(true);
$backup->setExportWithZip(true);
Expand Down

0 comments on commit 4800015

Please sign in to comment.