HELP!!! Cannot Find my Back Up File

[expired user #9339]'s profile image [expired user #9339] posted 9 years ago in General Permalink
I did a heidi backup of my files, but inadvertantly checked truncate. I cannot find where the .sql database was backup up to or how to import it. Emergency,
jfalch's profile image jfalch posted 9 years ago Permalink
if you checked 'truncate', all that did was to write a "TRUNCATE" command to the resulting sql file, where it is dormant until you use that file (cf below). The content of the database where you used "Tools" / "Export database as sql" are not changed in any way by the export. Look into the appropriate table's "Data" tab to see the data there.

Then, do you know the name you used for the backup file ? then everything is for you. install it and let it find the backup file by name (ie the folder that contains it); then use "File" / "Load sql file" from heidisql's menu to load it into a heidisql Query tab, and press F9 to run it.

NB the "Export database as sql" Dialog has a small "Disk" icon in the lower right; this shows a standard system "store file" dialog as is used by all other programs on your computer to determine where to store files. This "Disk" dialog gives you explicit control over where your backup file is written.

HTH..
[expired user #9339]'s profile image [expired user #9339] posted 9 years ago Permalink
I am in my database, in the data, the data is gone.I am not sure I am following you. when i click on the "disk" icon, nothing shows. I dont know where it backed the database up to.
jfalch's profile image jfalch posted 9 years ago Permalink
do you know the filename that you used with the backup ? did you perhaps use the name of the database +'.sql' ?

Please login to leave a reply, or register at first.