8byr0 / strapi-plugin-backup-restore

Plugin to backup & restore your strapi installation (database + uploads) from admin panel.
MIT License
38 stars 3 forks source link

mysqldump is just creating schema not the data and uploads zip is empty #4

Open raees-digitalsalt opened 3 years ago

raees-digitalsalt commented 3 years ago

Hi,

Thanks for creating such a lovely plugin, But we found some issue with the plugin when we run the manual backup it only generates schema of database and not the data. We are using mysqldump.

Secondly I could see there is a uploads folder which is there in the zip but it is always empty.

raees-digitalsalt commented 3 years ago

Further, immediately after writing the issue I noticed that since my files are stored on S3 bucket I think it is not creating a backup of that. Is that the way the plugin functions?

8byr0 commented 3 years ago

Hi! Thanks for taking the time to make a feedback.

Could you provide more information about your environment please? At least: MySQL version, strapi version, Host OS, deployment method (e.g. docker or other).

Regarding uploads you're right, only local uploads are actually supported by this plugin. I developped it in a really simple way to get it in prod fast for a project I was working on. To make it better it'd be more convenient to use strapi API to retrieve content instead of doing it manually with "low" level FS package. But since V4 is likely to come soon I won't do anymore development until it's released.

raees-digitalsalt commented 3 years ago

Hi

We are using an Ubuntu Serve hosted in AWS and for database we are using mySQL RDS instance at amazon.

The strapi version which we are using is 3.6. We have manually deployed the whole strapi application on AWS by following the guide as mentioned on the strapi website under deployment section.