Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The backup set excluded the designated table names, but still backed up #1885

Open
gyp719 opened this issue Feb 8, 2025 · 0 comments
Open

Comments

@gyp719
Copy link

gyp719 commented Feb 8, 2025

The backup set excluded the designated table names, but still backed up

'mysql' => [
    // 其他配置...
    'dump' => [
        'excludeTables' => [
            'request_logs', 'telescope_entries', 'telescope_entries_tags', 'telescope_monitoring', 'optimizer_logs', 'http_logs', 'admin_operation_log',
        ],
        'useSingleTransaction' => true, // InnoDB 避免表锁定
    ],
],

php artisan backup:run

The compressed backup file still contains the tables and their data on top ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant