Skip to content

Commit

Permalink
Update dump.js
Browse files Browse the repository at this point in the history
  • Loading branch information
emengweb authored Dec 12, 2024
1 parent 96326fc commit 15bd939
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dump.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ async function backupMysqlAllDatabase() {
WHERE TABLE_SCHEMA = ?
AND TABLE_TYPE = 'BASE TABLE'
`, [config.database]);
console.log('tables:',tables)

const timestamp = moment().format('YYYYMMDDHHmmss');
// const backupFile = path.join(backupDir, `mysql-backup-${timestamp}.sql`);
Expand Down

0 comments on commit 15bd939

Please sign in to comment.