Sponsored Content
Full Discussion: UNIX Folder Recovery
Top Forums UNIX for Dummies Questions & Answers UNIX Folder Recovery Post 302928324 by Don Cragun on Wednesday 10th of December 2014 11:16:21 PM
Old 12-11-2014
Note that this is a continuation of an issue started here: MySQL Database Missing on UNIX server. Possible to recover?

There is no easy way to recover data from directories or regular files that have been removed by accident, by hardware malfunction, or by power failure. Once a file is unlinked, any data added to or changed in any file on that filesystem may overwrite the blocks that were freed by the unlink operations.

Last edited by Don Cragun; 12-11-2014 at 01:51 AM.. Reason: Reopen thread.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UNIX Recovery

Hi I changed a file in Vi editor but couldnt save it as it gave a message that file system is full.So we came out without saving it but later on we found that CONTENT OF FILE GOT ERASED and we are no more able to view that file. This file is an important configuration file . Can somebody... (8 Replies)
Discussion started by: Abhishek
8 Replies

2. UNIX for Dummies Questions & Answers

How can i get my windows 98 folder from unix?

Haya mates, I have 2 seperate physical drives ie c:\ with windows 98 and D:\ with Linux mandrake installed. I need to have access to certain directories in my windows d drive how can i manage that? best regards abdul ::email removed:: (2 Replies)
Discussion started by: abdul
2 Replies

3. UNIX for Dummies Questions & Answers

space in perticular folder in unix

can any one tell me how to know the free space in perticular folder in unix. size in bytes/MB. thanks in adv. spandu (7 Replies)
Discussion started by: spandu
7 Replies

4. Programming

unix C++: get the files from a folder

Hello everybody! How can I get the list of files from a folder in C++ (unix)? thanks in advance for any help! regards (2 Replies)
Discussion started by: nadiamihu
2 Replies

5. UNIX for Dummies Questions & Answers

folder replication between windows and unix

1. How do i replicate folders between windows and unix. if i create a subfolder under NDC in windows, it should automatically create a subfolder in unix as well. windows nt /NDC/SUBFOLDERS hp ux /NDC/SUBFOLDERS 2. How do i ftp a file from windows to unix using automated... (0 Replies)
Discussion started by: systemsb
0 Replies

6. Shell Programming and Scripting

How to monitor a unix folder?

:confused:Hi All, I have a folder on Sun Solaris 5.8 SPAC and I'm trying to build a monitoring shell or perl script that sends an email to a user whenever a file was put into this folder. issue: if I create a new file in the folder using like 'touch newfile', then the newfile has a current... (9 Replies)
Discussion started by: bizheng
9 Replies

7. Shell Programming and Scripting

Folder Lock in Unix

I am a new user of linux. I have 2 Queries 1) I recently started working with shell script, and now i plan to make a folder lock using a shell script. I have ubuntu 8.04 installed on my system. 2) When i searched on this forum all i got was mini-httpd, and apache2-utils package, but they... (2 Replies)
Discussion started by: tsunami
2 Replies

8. Windows & DOS: Issues & Discussions

How can I upload a zip folder on a unix path from my windows folder?

Hello, I am an amature at UNIX commands and functionality. Please could you all assist me by replying to my below mentioned querry : How can I upload a zip folder on a unix path from my windows folder? Thanks guys Cheers (2 Replies)
Discussion started by: ajit.yadav83
2 Replies

9. Shell Programming and Scripting

how to create folder and sub-folder in UNIX ?

Hi all, I have the following code to check the whether the folder is exist in my system. if ; then echo 'folder exist'; else echo 'folder not exist'; mkdir /home/batch/testing ; fi When I remove the "testing" folder from "/home/batch" directory, the code is working fine. But when I... (2 Replies)
Discussion started by: suigion
2 Replies

10. Shell Programming and Scripting

Getting the Folder Structure in Unix

Hi All, I have a compute box and I want to tar directory structure under a directory and then Deploy/untar it in a new compute box so that the directory structure will be exactly the same. I do not want any of the file to be extracted and deployed but instead only the directory structure. ... (2 Replies)
Discussion started by: filter
2 Replies
MYSQL_GET_HOST_INFO(3)							 1						    MYSQL_GET_HOST_INFO(3)

mysql_get_host_info - Get MySQL host info

SYNOPSIS
Warning This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include: omysqli_get_host_info(3) o PDO::getAttribute string mysql_get_host_info ([resource $link_identifier = NULL]) DESCRIPTION
Describes the type of connection in use for the connection, including the server host name. o $ link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is assumed. If no such link is found, it will try to create one as if mysql_connect(3) was called with no arguments. If no connection is found or established, an E_WARNING level error is generated. Returns a string describing the type of MySQL connection in use for the connection or FALSE on failure. Example #1 mysql_get_host_info(3) example <?php $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); if (!$link) { die('Could not connect: ' . mysql_error()); } printf("MySQL host info: %s ", mysql_get_host_info()); ?> The above example will output something similar to: MySQL host info: Localhost via UNIX socket mysql_get_client_info(3), mysql_get_proto_info(3), mysql_get_server_info(3). PHP Documentation Group MYSQL_GET_HOST_INFO(3)
All times are GMT -4. The time now is 11:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy