On Sun, Sep 28, 2008 at 1:16 AM, david <[EMAIL PROTECTED]> wrote:
> I want to create a clone of a dataset except with a different dataset name and
> different users. Both versions need to be "live" simultaneously.

>From the command line:

createdb -U postgres new_dbname
pg_dump -U postgres -d old_dbname | psql -U postgres new_db_name

This command largely automates the steps in your post.

Best Wishes
Chris Travers

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ledger-smb-users mailing list
Ledger-smb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

Reply via email to