1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Backups screwed me over...

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by gregwhitworth, Aug 2, 2011.

  1. gregwhitworth

    gregwhitworth Guest

    0
     
    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?
     
  2. GeertL

    GeertL New Pleskian

    19
    85%
    Joined:
    Jun 16, 2009
    Messages:
    20
    Likes Received:
    0
    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
     
Loading...