Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
AutoMysqlBackup
(view source)
Revision as of 20:04, 23 May 2013
360 bytes added
,
20:04, 23 May 2013
→RESTORING
Line 66:
Line 66:
===RESTORING===
===RESTORING===
+
====restoring a .sql file====
In a root terminal
In a root terminal
cd /root/backup/db/ and choose your backup
cd /root/backup/db/ and choose your backup
Line 77:
Line 78:
mysql --user=username --pass=password --host=dbserver database < /path/file.sql
mysql --user=username --pass=password --host=dbserver database < /path/file.sql
+
+
====restoring a database sent by mail attachment====
+
+
The attachments have been split into multiple files, use this command line to combine them :
+
cat mail_attachment_2011-08-13_13h15m_* > mail_attachment_2011-08-13_13h15m.tar.bz2
+
and do this to extract the content
+
bunzip2 <mail_attachment_2011-08-13_13h15m.tar.bz2 | pax -rv
Stephdl
Administrators
5,576
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version