• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Backups screwed me over...

G

gregwhitworth

Guest
Ok. Let me first state that it was my own fault and or ignorance, but I ended up backing up backups on top of backups and now I am simply setting up a chron job to backup the dbs. However, I want to globally turn off backups, or be able to see which accounts have backups on them. Is there a way to do either of these?
 
Ok. Let me first state that it was my own fault and or ignorance, but I ended up backing up backups on top of backups and now I am simply setting up a chron job to backup the dbs. However, I want to globally turn off backups, or be able to see which accounts have backups on them. Is there a way to do either of these?

Well, one way to do it - is by pairing up the information via the PSA database - a simple commandline throwing a statement to Mysql should do it:

Code:
/usr/bin/mysql -u admin -p`cat /etc/psa/.psa.shadow` -e "SELECT dom.name, bs.* FROM BackupsScheduled AS bs, domains AS dom WHERE bs.obj_id = dom.id;" psa

That should output a list with domains with backup schedules and list the current settings for that backup schedule.

Hope that will help you in any way.

--
Kind regards
Geert Lund,
www.GLD.dk
 
Back
Top