Hello guys,
this is probably a stupid question but after browsing the web I was not able to
find out a clear solution:
I have a main backup server and an offsite one;
every night I make some backup to the offsite location (just the essential
files I want to be able to recover even if an earthquake would destroy my main
server).
I know that I should also backup in the offsite location the postgresql
database (Catalog) and the bootstrap data (not really sure about this)...
the point is that I'm not able now to backup the catalog:
I was planning to rsync the dump of the database (using a pre-job script) to my
offsite backup server.
unfortunately trying to dump it using bareos script make_catalog_backup.pl or
simply pg_dump will return me these errors:
/usr/lib/bareos/scripts$ sudo ./make_catalog_backup.pl MyCatalog
pg_dump: [archiver (db)] connection to database "bareos" failed: FATAL: Peer
authentication failed for user "bareos"
$ sudo pg_dump bareos
pg_dump: [archiver (db)] connection to database "bareos" failed: FATAL: role
"root" does not exist
$ sudo pg_dump bareos -U bareos
pg_dump: [archiver (db)] connection to database "bareos" failed: FATAL: Peer
authentication failed for user "bareos".
As you can see in my bareos-dir.conf file there is no password set or needed..
[...]
Catalog {
Name = MyCatalog
# Uncomment the following lines if you want the dbi driver
# dbdriver = "dbi:postgresql"; dbaddress = 127.0.0.1; dbport =
#dbdriver = "postgresql"
dbdriver = "postgresql"
dbname = "bareos"
dbuser = "bareos"
dbpassword = ""
}
[...]
can somebody point me to the right direction??
--
------------------------------
*RIESCO Società Cooperativa Sociale* www.riescoincucina.it
*Sede Legale:* Via Euganea, 27 - 35030 Selvazzano Dentro (PD)
*Sede Operativa:* Via Einaudi, 62/64 - 35030 Saccolongo (PD)
*p.iva:* 04006180287
*Tel:* 049 7967844 - Fax. 049 8055624
NOTA Il messaggio che viene inviato con la presente è indirizzato in modo
esclusivo al soggetto e/o all'ente qui indicato. Tale messaggio ha
contenuto strettamente confidenziale e riservato.
Ogni persona che venga nella disponibilità della presente missiva e
relativi allegati, senza esserne il destinatario diretto, viene informato
che qualsivoglia uso, duplicazione e commercio è severamente proibito ai
sensi dell'art. 616 codice penale e di quanto stabilisce il d.lgs. n.
196/2003 sulla tutela dei dati personali.
Qualora vi sia giunta la presente comunicazione per errore ce ne scusiamo e
vi preghiamo di informarci immediatamente; il contenuto del presente
documento e degli allegati non va letto ma distrutto.
Grazie. CONFIDENTIALITY NOTICE This message and its attachments are
addressed solely to the persons above and may contain confidential
information.
If you have received the message in error, be informed that any use of the
content here is prohibited. Please return it immediately to the sender and
delete the message. Should you have any questions, please contact us by
replying to [email protected] <[email protected]>
Thank you
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.