12-10-2014
UNIX Folder Recovery
I had a data folder in MySQL that has simply disappeared. Something about a compromised server and MySQL crashing. This happened a few days ago. Although there has been one reboot, nothing new has been written to the server, so I'm thinking in theory it might still be there.
Has anyone had any luck with recovering this kind of data? We're talking about around 100MB and a specific folder name and location.
If you have any suggestions on how to do this or people that could help (who aren't cost prohibitive), I'd appreciate it.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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
: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
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
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
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
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
LEARN ABOUT SUSE
apache::session::store::mysql
Session::Store::MySQL(3) User Contributed Perl Documentation Session::Store::MySQL(3)
NAME
Apache::Session::Store::MySQL - Store persistent data in a MySQL database
SYNOPSIS
use Apache::Session::Store::MySQL;
my $store = new Apache::Session::Store::MySQL;
$store->insert($ref);
$store->update($ref);
$store->materialize($ref);
$store->remove($ref);
DESCRIPTION
Apache::Session::Store::MySQL fulfills the storage interface of Apache::Session. Session data is stored in a MySQL database.
SCHEMA
To use this module, you will need at least these columns in a table called 'sessions', or another table name if you provide the TableName
argument:
id char(32) # or however long your session IDs are.
a_session text
To create this schema, you can execute this command using the mysql program:
CREATE TABLE sessions (
id char(32) not null primary key,
a_session text
);
If you use some other command, ensure that there is a unique index on the table's id column.
CONFIGURATION
The module must know what datasource, username, and password to use when connecting to the database. These values can be set using the
options hash (see Apache::Session documentation). The options are:
DataSource
UserName
Password
TableName
Handle
Example:
tie %hash, 'Apache::Session::MySQL', $id, {
DataSource => 'dbi:mysql:database',
UserName => 'database_user',
Password => 'K00l',
TableName => 'sessions'
};
Instead, you may pass in an already-opened DBI handle to your database.
tie %hash, 'Apache::Session::MySQL', $id, {
Handle => $dbh
};
AUTHOR
This modules was written by Jeffrey William Baker <jwbaker@acm.org>
SEE ALSO
Apache::Session
perl v5.12.1 2007-09-28 Session::Store::MySQL(3)