|
From: | philippedh |
Subject: | [noalyss-generale] sauvegarde et récupération |
Date: | Wed, 16 Mar 2022 23:30:23 +0100 |
bonsoir dany et tous, ça commence à fonctionner, il manque encore le <DOSSIER-CIBLE>
postgres@jio:~$ ls -l total 932 drwxr-xr-x 3 postgres postgres 4096 jun 4 2020 10 -rw-r--r-- 1 postgres postgres 950057 mar 16 22:58 noalyss-2021-v2 postgres@jio:~$ nb. le fichier noalyss-2021-v2 a été créé avec dump
postgres@jio:~$ psql -X -H localhost -p 5432 -d noalyss-2021 -U noalyss_sql -f noalyss-2021-v2 psql: warning: extra command-line argument "localhost" ignored Password for user noalyss_sql: <enter> (password vide) psql: fe_sendauth: no password supplied postgres@jio:~$ postgres@jio:~$ psql -X -H localhost -p 5432 -d noalyss-2021 -U noalyss_sql -f noalyss-2021-v2 psql: warning: extra command-line argument "localhost" ignored Password for user noalyss_sql: <dany> psql: FATAL: database "noalyss-2021" does not exist postgres@jio:~$
dany a écrit : <DOSSIER-CIBLE> est la base de données dans lequel on restaure le dossier , donc idéalement créér un dossier vide et utiliser son nom de db
ici le dossier-cible est noalyss-2021 qui n'existe pas sur ce pc jio. comment créer cette base de donnée vide nomée « noalss-2021 » (avec un nom de bd « dossierxx » ) ? philippedh |
[Prev in Thread] | Current Thread | [Next in Thread] |