Welcome, Guest
Please Login or Register.
Lost Password?
Post Reply

TOPIC: Re:Import CSV

#14696
postbus1@postbus.info (User)
Posts: 13
graphgraph
Import CSV 2008/07/11 21:51  
I've been able to recreate all tables i need with Virtualmin. I see a button "Export as CSV" but where can i import a csv file?

Post edited by: postbus1@postbus.info, at: 2008/07/11 23:01
Why is this forum posting my e-mail address??
  The administrator has disabled public write access.
#14706
Joe (Admin)
Posts: 3798
graph
Re:Import CSV 2008/07/12 14:23  
Why is this forum posting my e-mail address??

I'll answer this one first. ;-)

Because you've chosen your email address as your username. You can change it on the "Your Account" page, and I'd recommend you do so. Once you've changed it, all prior posts will have your new username.
  The administrator has disabled public write access.
#14707
Joe (Admin)
Posts: 3798
graph
Re:Import CSV 2008/07/12 14:27  
I've been able to recreate all tables i need with Virtualmin. I see a button "Export as CSV" but where can i import a csv file?

There is no such option. Exporting as CSV is merely a convenience function for folks that want to pull a table into a spreadsheet or other data processor...but CSV does not contain the data needed to re-create a table. A CSV export is not a database backup.

You need a native dump of the database to be able to restore data (using the "Backup database" option--Virtualmin also has a virtual server backup feature that can safely backup and restore databases that belong to virtual servers). I'm sure there are tools out there to import data from a CSV, but it's a lossy format--it's not the same as restoring via a proper dump, and is probably a recipe for disaster if your application is expecting well-formed data in the database.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.