Hi I have a db I want to backup which is located at "whois > zonefile"

So I presume the correct format should be whois_zonefile

ie this..

mysqldump -uuser -ppass whois_zonefile > zonefile.sql

But that errors with

mysqldump: Got error: 1049: Unknown database 'whois_zonefile' when selecting the database

Thanks

    I'm going to make a wild guess here: you want to back up only the zonefile table from your database called whois? IS that your plan?

    The format for this would be:
    mysqldump -uuser -ppass whois zonefile > zonefile.sql

    RTFM

      Write a Reply...