<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sas-backup failed for postgres Data source in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/888986#M27120</link>
    <description>This detail shows that the backup process failed to backup the postgres database. The files inside the backup PVC might have some more detail. You may want to engage SAS Technical Support for more assistance here.</description>
    <pubDate>Fri, 11 Aug 2023 19:02:28 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2023-08-11T19:02:28Z</dc:date>
    <item>
      <title>Sas-backup failed for postgres Data source</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/888917#M27116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to run ad-hoc backup for my sas-viya env, but when I am running the job for it ,it is getting failed after some time and I am getting following errors:&lt;/P&gt;&lt;P&gt;we are using external Postgres (i.e RDS)&amp;nbsp; not getting why we are getting such error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;{"level":"error","version":1,"source":"sas-backupjob","messageKey":"backupjob-log-icu.backup.agent.error.log","messageParameters":{"logs":"exit status 1","sourceType":"postgres"},"properties":{"logger":"backupjob/handler","caller":"handler/backup.go:443"},"timeStamp":"2023-08-11T05:53:52.824796+00:00","message":"The backup agent encountered an error for the \"postgres\" data source. Details: exit status 1"}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and another error is,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;{"level":"error","version":1,"source":"sas-backupjob","messageKey":"backupjob-log-icu.backup.occurred.error.log","messageParameters":{"err":"The job failed for data sources: (DataSource: sas-scheduled-backup-job1 SourceType: postgres)"},"properties":{"logger":"backupjob/handler","caller":"handler/backup.go:239"},"timeStamp":"2023-08-11T05:53:57.858794+00:00","message":"An error occurred. Details: The job failed for data sources: (DataSource: sas-scheduled-backup-job1 SourceType: postgres)"}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;our deployment is on AWS environment and we are using external Postgres (i.e RDS)&lt;/P&gt;&lt;P&gt;can anyone suggest what can be the possible reasons for getting such error and if there is any solution fir it..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shriramwasule_0-1691752191362.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86665i070F6C60B0AAC28D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shriramwasule_0-1691752191362.png" alt="Shriramwasule_0-1691752191362.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see in the above image all the ad-hoc job got failed, I checked for logs and and I got same errors in that too.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 11:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/888917#M27116</guid>
      <dc:creator>Shriramwasule</dc:creator>
      <dc:date>2023-08-11T11:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sas-backup failed for postgres Data source</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/888986#M27120</link>
      <description>This detail shows that the backup process failed to backup the postgres database. The files inside the backup PVC might have some more detail. You may want to engage SAS Technical Support for more assistance here.</description>
      <pubDate>Fri, 11 Aug 2023 19:02:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/888986#M27120</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-08-11T19:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sas-backup failed for postgres Data source</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/889151#M27125</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for the reply,&lt;BR /&gt;today i tried again to run for ad-hoc backup, but for the first time it ran and got completed, but when I made few changes in like added LDAP configuration and then I tried to take ad-hoc backup again it got failed.. i don't understand whats happening there.&lt;BR /&gt;also can you please tell me how can I access files inside backup PVC?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 08:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/889151#M27125</guid>
      <dc:creator>Shriramwasule</dc:creator>
      <dc:date>2023-08-14T08:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sas-backup failed for postgres Data source</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/889192#M27132</link>
      <description>&lt;P&gt;You could start a generic pod like busybox and mount the backup PVC to it. Inside each dated directory is a __default__/postgres directory with a log from the dump attempt.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;$ kubectl -n viya run --rm -it busybox --overrides='{"apiVersion":"v1","spec":{"volumes":[{"name":"backup","persistentVolumeClaim":{"claimName":"sas-common-backup-data"}}],"containers":[{"name":"busybox","image":"busybox","stdin":true,"stdinOnce":true
,"tty":true,"volumeMounts":[{"mountPath":"/sasviyabackup","name":"backup"}]}]}}' --image=busybox --restart=Never
If you don't see a command prompt, try pressing enter.
/ #
/ #
/ # ls sasviyabackup/
2023-07-18T13_00_14_614_0700 2023-07-25T13_00_19_619_0700 2023-08-01T13_00_13_613_0700 2023-08-08T13_00_14_614_0700
/ # ls sasviyabackup/2023-07-18T13_00_14_614_0700/__default__/postgres/
SharedServices_pg_dump.dmp SharedServices_pg_dump.log status.json&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Aug 2023 14:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Sas-backup-failed-for-postgres-Data-source/m-p/889192#M27132</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-08-14T14:10:25Z</dc:date>
    </item>
  </channel>
</rss>

