0

I'm creating migrations for my existing mysql database. I like to backup my target database before running migration.

Is there any sequelize-cli commad like npx sequelize-cli db:backup? Or any other methods?

I can't find it in sequelize cli documentation

Freddy Daniel
  • 602
  • 11
  • 25

2 Answers2

0

TL;DR

No there currently no support for this.

REF: https://github.com/sequelize/sequelize/issues/8257

Sheraz Ahmed
  • 564
  • 9
  • 29
0

You can backup your db just by coping db file.

smirnov
  • 413
  • 3
  • 9