• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Deleted a subscription. Where to find databases in rsync

edenweb

New Pleskian
I foolishly deleted a subscription and database which I desperately need to retrieve (somehow).

Luckily I do have a weekly backup of the server's file system which I can browse.

I am unclear though as to the best place to find a downloadable .sql file as the server structure is large.

I can see for example
var/lib/psa/dumps contains
  • mysql.daily.dump.0.gz
  • mysql.daily.dump.1.gz
  • mysql.daily.dump.2.gz
    etc
but these don't seem to be the individual standalone .sql databases I expected

Any ideas? Any help appreciated.
Cheers
 
@edenweb: You are not using the built-in backup functionality of Plesk???
Hi Peter

Do you mean the backup which backs up to FTP storage and/or Dropbox?
I am and actually backup the site daily. But I discovered something interesting regarding backups (which I have yet to verify).

When Subscription A uses a database stored in another Subscription B and does a backup, Subscription A is backed up with database A. It doesn't backup the actual database the subscription is using.
 
Quick update to this in case it helps anyone in future.

I didn't have a backup of the database but I did have a partial backup of the file system on the server.

Within the directory structure and somewhere similar to var > lib > mysql > subscription-name

Within this, there are a series of separate files ending in MYI, FRM, MYD

I didn't know if they were usable but found a corresponding set of files in MAMP Pro. Copying the server files onto the local copy worked once I flushed the cache a few times etc.

Doing a few tests at the moment but all seems well. Thanks for the help/
 
Back
Top