Zitat von Francesco Morosinotto <[email protected]>:

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"

Looks like PostgreSQL...
Try with "sudo -u bareos ..." to execute the script as user "bareos" which should be able to connect without password.

Regards

Andreas


--
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.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to