JeKrNL
New Pleskian
Yesterday we had an 2.3Gb database to restore from Plesk backup. This restore took around 3 hours. Ofcourse this is always to long for a live site, so I'm looking for a quicker solution to restore a DB when needed.
In Plesk there is a nice feature "Copy Database" where the destination can be chosen. Is it possible to create a "live" backup/copy/clone of the database (eg nightly)? So when something goes wrong I just have to switch credentials in the Website and we are back to the latest backup.
Found already some scripts to create a backup, but all to file and no scripts where the DB is directly live and accessible from Plesk.
eg:
https://scottlinux.com/2011/03/04/rotate-mysql-backups-with-logrotate/
https://github.com/todiadiyatmo/bash-backup-rotation-script
In Plesk there is a nice feature "Copy Database" where the destination can be chosen. Is it possible to create a "live" backup/copy/clone of the database (eg nightly)? So when something goes wrong I just have to switch credentials in the Website and we are back to the latest backup.
Found already some scripts to create a backup, but all to file and no scripts where the DB is directly live and accessible from Plesk.
eg:
https://scottlinux.com/2011/03/04/rotate-mysql-backups-with-logrotate/
https://github.com/todiadiyatmo/bash-backup-rotation-script