Strapi backup plugin for the cloud.
released April 9, 2026
npm install strapi-plugin-backupAutomate the backup of uploads and database to the cloud.
npm install strapi-plugin-backupPlease see documentation for more information about configuration.
// ./config/plugins.js
module.exports = ({env}) => {
return ({
// ...
backup: {
enabled: true,
config: {
cronSchedule: '0 9-17 * * *', // At minute 0 past every hour from 9 through 17
storageService: 'aws-s3',
awsAccessKeyId: '<AWS_ACCESS_KEY_ID>',
awsSecretAccessKey: '<AWS_SECRET_ACCESS_KEY>',
awsRegion: '<AWS_REGION>',
awsS3Bucket: '<AWS_S3_BUCKET>',
databaseDriver: env('DATABASE_CLIENT'),
mysqldumpExecutable: '/path/to/your/mysqldump/bin',
mysqldumpOptions: [
'--add-drop-table',
'--extended-insert',
'--lock-tables',
'--dump-date'
],
allowCleanup: true,
timeToKeepBackupsInSeconds: 172800, // 2 days
cleanupCronSchedule: '0 9 * * *', // Each day at 09:00 AM
errorHandler: (error, strapi) => {
console.log(error);
},
}
},
// ...
})
};This project follows the Semantic Versioning convention (https://semver.org) for version numbering.
If you discover any security-related issues, please email mail@adebayo.fr instead of using the issue tracker.
Please see License File for more information.
Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.
Submit
