Michaylo_rus

updated

10 years ago

M

Michaylo_rus

1 Rookie

•

49 Posts

0

4644

October 14th, 2016 00:00

Export/Import Avamar profiles

Hello,

I was successfully using the solution proposed by here (Re: Export Avamar Profile for SNMP) with Avamar versions 7.0.x - 7.1.x for export profiles and import them on new Avamar installations.

But seems that tables have been changed in Avamar >7.2  and script does not work anymore.

Do somebody has new version of this ProfileAdmin.pl script?

Error:

---- Unmatched fields --

  Program :active,connectemc_channel,connectemc_notify_enabled,domain,email_notify_enabled,epid,include_logs,include_nodelist,inline_email_attachments,last_email,log_dir,name,read_only,sched_id,snmp_notify_enabled,subject,syslog_notify_enabled;

  Database:active,connectemc_channel,connectemc_notify_enabled,domain,email_notify_enabled,encryption_alg,encryption_bit,encryption_key,epid,include_logs,include_nodelist,inline_email_attachments,last_email,log_dir,name,read_only,sched_id,snmp_notify_enabled,subject,syslog_notify_enabled;

Program terminated. at ProfileAdmin.pl line 522.

Thanks!

  • Amol

    2 Intern

    •

    207 Posts

    3191

    0

    Posted October 14th, 2016 06:00

    I'll contact my colleague who wrote this script and update you.

  • Amol

    2 Intern

    •

    207 Posts

    3192

    2

    Posted October 14th, 2016 09:00

    New version of the script on the FTP should work without any issue, let me know if you still face the problem

    ProfileAdmin

  • Michaylo_rus

    1 Rookie

    •

    49 Posts

    3192

    0

    Posted October 17th, 2016 03:00

    Hi Amol,

    Thank you so much! Now it wokrs fine!

    I tested it on 7.2.1-32 version.

  • Michaylo_rus

    1 Rookie

    •

    49 Posts

    3193

    0

    Posted May 11th, 2017 02:00

    Hi Amol,

    Just interesting if there is updated version for Avamar 7.4.1-58?

    I tested the last script - seems it has to be updated..

    perl ProfileAdmin.pl --action=export --name=DCO_Backup_failed --filename=DCO_Backup_failed.yaml

    Program version 0.0.24, Running 'EXPORT' on xxx on Thu May 11 12:21:22 2017

    ---- Unmatched fields --

      Program :active,connectemc_channel,connectemc_notify_enabled,domain,email_notify_enabled,encryption_alg,encryption_bit,encryption_key,epid,include_logs,include_nodelist,inline_email_attachments,last_email,log_dir,name,read_only,sched_id,snmp_notify_enabled,subject,syslog_notify_enabled;

      Database:active,connectemc_channel,connectemc_notify_enabled,domain,email_notify_enabled,encryption_alg,encryption_bit,encryption_key,epid,include_logs,include_nodelist,inline_email_attachments,last_email,log_dir,name,profile_type,read_only,sched_id,snmp_notify_enabled,subject,syslog_notify_enabled,usageintelli_notify_enabled;

    Program terminated. at ProfileAdmin.pl line 536.

    Thank you

  • Amol

    2 Intern

    •

    207 Posts

    3193

    1

    Posted May 11th, 2017 10:00

    Download it again from the same location, just uploaded the new version that can handle the new DB schema.

  • Michaylo_rus

    1 Rookie

    •

    49 Posts

    3193

    0

    Posted May 12th, 2017 01:00

    Amol, Thank you so much!

    I have tested it with 7.4.1-58 - all work fine!

  • 3193

    0

    Posted September 8th, 2017 12:00

    Is there an updated location, seems folder is missing from FTP

  • ionthegeek

    2 Intern

    •

    2049 Posts

    3193

    0

    Posted September 11th, 2017 07:00

    You have to supply the username "avamar_ftp" and the password "anonymous". It's best to use an FTP client.

  • Jammer4real

    1 Message

    2800

    0

    Posted June 7th, 2019 07:00

    Does there happen to be one for 18.2?  I would like to get this working.  I will also need the FTP link if possible

  • bhansen70

    2 Posts

    424

    0

    Posted January 5th, 2021 13:00

    Does this support 19.3 ?  This should be a feature request for future releases of avamar to make copying of the SNMP profiles easier to many avamar grids.