Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] backup errors

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] backup errors


Chronological Thread 
  • From: Szymon Trocha <>
  • To: Donato De Girolamo <>
  • Cc:
  • Subject: Re: [perfsonar-user] backup errors
  • Date: Wed, 12 Dec 2018 11:08:12 +0100
  • Ironport-phdr: 9a23:K/IC3xcSCzcLrjBh9maae0b9lGMj4u6mDksu8pMizoh2WeGdxcW+bB7h7PlgxGXEQZ/co6odzbaO4+a4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQds4YS2VcRMZcTzFPDJ2yb4UPCOoPPuhWoIfyqFQMsRSwChKhBOPsxzJSmnP6waM33uYnHArb3AIgBdUOsHHModvoNaYTUeW1zK7OzT7ecf1WwzD955TIch87vPqBWqlwcMvRyEkqEAPFiE+cqZD/PzOSyusNs3KU4vFlVe21jW4rsRlxoj+ux8cqkIbJgJgZykjA9Shgxos+ONO2SEl+YdG+EZtQsTmXN5NtQsMkX25koj46yrketZ6jYicK0ponxwXYa/yBaYeI+AjvVOCPLjdknH5lYK6whw2p8US60u38Us+520tJoCpditTAqGwB2wDO5sWCSfZx4kSs1DOK2gzO6OxJL0U5mbfGJ5I537I9loYfvV7dEiL2l0j6lrKae0c49uSy6unqYrPrrYKGOYBukAHxKKEul9S/AesmNggOWHCW9v+i27354E35RK9FguczkqbDtpDWP9wbpqm4Ag9TyIkj7QyzDy+i0NgAnHkHKkxKeA6fgoT3J13CPO30APK8jliwkzpmwvXLMqDjD5jDK3XPjartca5460FGyQozyd5f54hTCrEEOP/zQU7wtdzdDh8+NQy42frnCM961owCWWKAGLSUMKbIvl+O/O4vO+6MZY4TuDnnLfgp/ebujXshlV8HYaapxYcXaGy/Hvl+O0WWf2DsgtkaEWcNuAoxVvbqhESfUT5IeXmyRbkx5jU6CIK9EYfDXZ6hjKaA3Ce9Ap1ZeHpGClaSHnf0aYmIQekDZz+PIpwprjtReb+nQpMmnT2j/CD70b1jJ+/TsnkUspTqyN8z6+DclAs18TVxCOyW1WiDCWBykGVORiNgj45lpkko8UWS1K9+y8BCEtdT7rsdSRUrMJnaifBgDNvyUyrEd9HPUFG0RNygRyk1GIFii+QSalpwTo3xxivI2DCnVvpMz+SG
  • Organization: PCSS

W dniu 12.12.2018 o 10:11, Donato De Girolamo pisze:
Good Morning,

I'm trying to backup my perfsona-ps configuration (without data
archive) following the instructions on page:

http://docs.perfsonar.net/install_migrate_centos7.html 

Running the backup comand, I get the following errors:

/usr/lib/perfsonar/scripts/ps-migrate-backup.sh ~/ps-backup.tgz
Backing-up users...[SUCCESS]
Backing-up groups...[SUCCESS]
Backing-up passwords...[SUCCESS]
Backing-up perfsonar configuration...[SUCCESS]
Backing-up bwctl-server configuration...[SUCCESS]
Backing-up owamp-server configuration...[SUCCESS]
Backing-up NTP configuration...[SUCCESS]
Creating pScheduler backup:
    Version Information... Done.
    System Configuration... Done.
    Database...pg_dump: unrecognized option '--serializable-deferrable'
Try "pg_dump --help" for more information.
Unable to create pScheduler backup



Hi Donato,

You probably have both postgresql 8 and postgresql 9 installed, but current pScheduler backup script expects only postgresql9. This was a knon issue which is fixed in the coming fix pack.

Try adding this patach to /usr/libexec/pscheduler/commands/backup:

Remove line:

pg_dump \

Add in this place these three lines:

PG_DUMP=pg_dump                                                                                                                                                                                                                          
[ -x /usr/pgsql-9.5/bin/pg_dump ] && PG_DUMP=/usr/pgsql-9.5/bin/pg_dump
$PG_DUMP \

And rerun the backup script

Regards,
--
Szymon Trocha
Poznań Supercomputing & Networking Center
General NOC phone +48 61-858-2015 | noc.pcss.pl
Personal desk phone +48 61-858-2022
Wysłaliśmy do Ciebie ten e-mail w odpowiedzi na Twoje zapytanie lub w związku z oferowaną usługą. Przesłanie korespondencji do Centrum Zarządzania PCSS lub zgłoszenie telefoniczne jest równoznaczne z wyrażeniem zgody na przetwarzanie danych osobowych przez Instytut Chemii Bioorganicznej Polskiej Akademii Nauk w Poznaniu adres: ul. Z. Noskowskiego 12/14, 61-704 Poznań. Szczegółowe informacje znajdują się w naszej Polityce prywatności. | This message has been sent as a part of communication with PSNC NOC or your service request sent to us. For more information read our Privacy Policy.



Archive powered by MHonArc 2.6.19.

Top of Page