By talvi on
In 2012 I installed Drupal 7 (not sure which version) on a subdomain. Updating a module something when wrong. Drupal and I parted and I deleted the subdomain. All I have to remember it by is some backups. Now I'd like to get hold of the things I wrote, and realise it's not going to be that easy.
Could someone please advise on the easiest way to do this?
There are includes directories in the backups. These contain a database directory with mysql. pgsql and sqlite folders. Each is only about 50kb though.
Thanks in advance.
Comments
_
Depends on what you backed up. The data will normally not be in any of the directories belonging to the website that was drupal based. If you have backups of the dbs, or even of the db files, you can get to it from those without booting or otherwise using drupal.
I recently had to do something similar, so I installed mysql locally, restored the db backups, and just pulled what I needed from the various tables that made up the nodes (node, node_revision, and the field_data_field_ tables for fields on the node type in question).
Hiya
Hiya
Thanks. Honestly, I don't know what I have.
I guess from:
that the databases (dbs?) are not those .inc files etc in the mysql. pgsql and sqlite folders etc.
So if the data/content is not in the directories of the website then where would it have been? I thought backing up the site was.. backing up the site but sounds like what I backed up was just pipework :(
_
I believe the .inc files you mention are the db specific drupal code to support the type of db your site uses. Nothing of the db itself will normally live inside the website folder unless you did handstands and backflips to manually install it there yourself on purpose.
In order to access the data from the db, you'd have to have a backup of the db itself (a lot of hosting offers this, but may not be automatic) or of the file system that includes the db files that house the data. For mysql/maria in windows, that's going to be \ProgramData\MySQL\MySQL Server x.x\data. In linux it's typically something like /var/lib/mysql, but can vary widely.