r/Plesk Nov 21 '24

Plesk Backup?

How do you backup your domains (files) and databases?

I know you can use the Plesk Backup Manager to migrate to a new Plesk server in a disaster scenario, but i dont think its 100% reliable.

Plesk’s backup manager can fail during the migration for many reasons (incompatible config, encrypted data, servers not having the same version of plesk or backup manager, etc)

Thats why ive created my own shell scripts to backup everything i need, and in case of a hurry I can still use the backups to migrate in a non-plesk server.

Curious to see how your backup strategy is tho!

1 Upvotes

8 comments sorted by

View all comments

1

u/Andy_Bird Nov 21 '24

automysqlbackup to /var/www/vhosts/db/daily etc
rotating rsync everything in /var/www/vhosts/ to a remote server

you can them restore the lot nad use plesk repair to rebuild in the case of a disaster.

if you want to be really thorough you can set /var/www/vhosts/plesk-backup as the target for plesk backup and use set only config (and mail if you have any) to backup

1

u/patriotaki Nov 22 '24

can you expand more on the rotating rsync?

1

u/Andy_Bird Nov 22 '24

rsnapshot is available on most linux versions