<?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: Scheduling / automating APIC-EM backups in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/re-scheduling-automating-apic-em-backups/m-p/3584111#M1172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;this is due to a PATH issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either update the PATH variable, or just be explicit with the specific with the specification of the "grape" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;/opt/cisco/grapevine/bin/grape&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Oct 2017 02:00:12 GMT</pubDate>
    <dc:creator>aradford</dc:creator>
    <dc:date>2017-10-09T02:00:12Z</dc:date>
    <item>
      <title>Re: Scheduling / automating APIC-EM backups</title>
      <link>https://community.cisco.com/t5/controllers/re-scheduling-automating-apic-em-backups/m-p/3584110#M1171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've put together a bash script that creates the backup and then copies it via FTP to a different server.&amp;nbsp; That works properly if it is manually run.&amp;nbsp; But it doesn't work if it is initiated via the crontab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script:&lt;/P&gt;&lt;P&gt;$ more ./daily_backup.sh &lt;/P&gt;&lt;P&gt;#!/bin/sh&lt;/P&gt;&lt;P&gt;HOST='10.255.0.100'&lt;/P&gt;&lt;P&gt;USER='anonymous'&lt;/P&gt;&lt;P&gt;PASSWD='network'&lt;/P&gt;&lt;P&gt;FILE='*.backup'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grape backup grow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sleep 10m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cd /srv/grapevine/replicated-storage/backups/*005056b40bcd/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ftp -in $HOST &amp;lt;&amp;lt;END_SCRIPT&lt;/P&gt;&lt;P&gt;quote USER $USER&lt;/P&gt;&lt;P&gt;quote PASS $PASSWD&lt;/P&gt;&lt;P&gt;bin&lt;/P&gt;&lt;P&gt;cd APIC-EM/Backups/usspvlapic01&lt;/P&gt;&lt;P&gt;mput $FILE&lt;/P&gt;&lt;P&gt;quit&lt;/P&gt;&lt;P&gt;END_SCRIPT&lt;/P&gt;&lt;P&gt;exit 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is with the "grape backup grow" command.&amp;nbsp; This doesn't appear to work from cron.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing something incorrect?&amp;nbsp; (Please bear in mind that I know enough about Linux to be dangerous to myself and those around me!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insights will be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:41:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/re-scheduling-automating-apic-em-backups/m-p/3584110#M1171</guid>
      <dc:creator>javerill</dc:creator>
      <dc:date>2019-03-01T12:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling / automating APIC-EM backups</title>
      <link>https://community.cisco.com/t5/controllers/re-scheduling-automating-apic-em-backups/m-p/3584111#M1172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;this is due to a PATH issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can either update the PATH variable, or just be explicit with the specific with the specification of the "grape" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;/opt/cisco/grapevine/bin/grape&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 02:00:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/re-scheduling-automating-apic-em-backups/m-p/3584111#M1172</guid>
      <dc:creator>aradford</dc:creator>
      <dc:date>2017-10-09T02:00:12Z</dc:date>
    </item>
  </channel>
</rss>

