Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Trashing the DB to start again (Hans Erasmus)
   2. Re: Trashing the DB to start again (Sanjeev Gupta)
--- Begin Message ---
Hi Guys

I want to trash my whole db to start my netdisco from scratch. Is there any
easy way to do this? Sorry if this is a very stupid question.

I only want to trash the DB, I want to keep my deploy.yml file so the new
deployment will have the same passwords etc as the old one.

Regards

Hans

--- End Message ---
--- Begin Message ---
(top posting, sorry).

This should work:

   1. Drop the netdisco database from postgresql
   2. Recreate:

   postgres:~$ createdb -O netdisco netdisco

   3. Intialise the new database:

   ~/bin/netdisco-deploy



-- 
Sanjeev Gupta
+65 98551208   http://sg.linkedin.com/in/ghane

On Thu, Dec 14, 2017 at 2:29 AM, Hans Erasmus <[email protected]>
wrote:

> Hi Guys
>
> I want to trash my whole db to start my netdisco from scratch. Is there
> any easy way to do this? Sorry if this is a very stupid question.
>
> I only want to trash the DB, I want to keep my deploy.yml file so the new
> deployment will have the same passwords etc as the old one.
>
> Regards
>
> Hans
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>
>

--- End Message ---
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to