[ RESOLU ] BACKUP

Recoupe toutes les discussions à propos de Noalyss
pasi12
Messages : 118
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par pasi12 » mar. nov. 14, 2017 10:35 pm

mail envoyé avec la copie de l\'écran obtenu

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par Dany » mar. nov. 14, 2017 10:35 pm

Sur l\'image on voit que tu as ouvert le fichier pg et non pg_hba.conf

pasi12
Messages : 118
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par pasi12 » mar. nov. 14, 2017 10:35 pm

mail envoyé avec copie d\'écrans mais je te donne déjà ceci

\"pg_hba.conf\" [Permission Denied]

pasi12
Messages : 118
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par pasi12 » mar. nov. 14, 2017 10:35 pm

écrans

pasi12
Messages : 118
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par pasi12 » mar. nov. 14, 2017 10:35 pm

écrans [file name=ECRAN4.gz size=20743]http://www.phpcompta.be/images/fbfiles/files/ECRAN4.gz[/file]

pasi12
Messages : 118
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par pasi12 » mar. nov. 14, 2017 10:35 pm

écrans [file name=ECRAN4-3dfaf90afcd66ca0f28dc4af52da98a4.gz size=20743]http://www.phpcompta.be/images/fbfiles/ ... 2da98a4.gz[/file]

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par Dany » mar. nov. 14, 2017 10:35 pm

Une fois décompressé, ajoutez l\'extension .jpg aux fichiers sinon on ne peut le lire sous windows

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par Dany » mar. nov. 14, 2017 10:35 pm

Si tu as \"Permission Denied\" peut-être que tu devrais utiliser sudo devant vi , non ?

pasi12
Messages : 118
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par pasi12 » mar. nov. 14, 2017 10:35 pm

résultat

# PostgreSQL Client Authentication Configuration File
# ===================================================
#
# Refer to the \"Client Authentication\" section in the
# PostgreSQL documentation for a complete description
# of this file. A short synopsis follows.
#
# This file controls: which hosts are allowed to connect, how clients
# are authenticated, which PostgreSQL user names they can use, which
# databases they can access. Records take one of these forms:
#
# local DATABASE USER METHOD [OPTIONS]
# host DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
# hostssl DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
# hostnossl DATABASE USER CIDR-ADDRESS METHOD [OPTIONS]
#
# (The uppercase items must be replaced by actual values.)
#
# The first field is the connection type: \"local\" is a Unix-domain socket,
# \"host\" is either a plain or SSL-encrypted TCP/IP socket, \"hostssl\" is an
# SSL-encrypted TCP/IP socket, and \"hostnossl\" is a plain TCP/IP socket.
#
# DATABASE can be \"all\", \"sameuser\", \"samerole\", a database name, or
# a comma-separated list thereof.
#
# USER can be \"all\", a user name, a group name prefixed with \"+\", or
# a comma-separated list thereof. In both the DATABASE and USER fields
# you can also write a file name prefixed with \"@\" to include names from
# a separate file.
#
# CIDR-ADDRESS specifies the set of hosts the record matches.
# It is made up of an IP address and a CIDR mask that is an integer
# (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies
# the number of significant bits in the mask. Alternatively, you can write
# an IP address and netmask in separate columns to specify the set of hosts.
#
# METHOD can be \"trust\", \"reject\", \"md5\", \"password\", \"gss\", \"sspi\", \"krb5\",
# \"ident\", \"pam\", \"ldap\" or \"cert\". Note that \"password\" sends passwords
# in clear text; \"md5\" is preferred since it sends encrypted passwords.
#
# OPTIONS are a set of options for the authentication in the format
# NAME=VALUE. The available options depend on the different authentication
# methods - refer to the \"Client Authentication\" section in the documentation
# for a list of which options are available for which authentication methods.
#

Dany
Messages : 2181
Enregistré le : mar. nov. 14, 2017 10:35 pm

Re:BACKUP

Message par Dany » mar. nov. 14, 2017 10:35 pm

Hm, il manque une partie du fichier. Tu pourrais soit l\'afficher en entier soit l\'ajouter en attach ?? (après l\'avoir renommé, pg_hba.txt)

Répondre