[Spce-user] Backup... Second try

Daniel Grotti dgrotti at sipwise.com
Thu Nov 30 04:43:43 EST 2017


Hi all,
Package ngcp-backup-tools, containing the backup feature is *not* part 
of CE and it is not covered by GPL licence, so this *should* not be 
present in any CE.
Starting from mr5.0 you will see backuptool section in your config.yml, 
this is on purpose and correct, since we are aligning configuration 
between PRO an CE. But if you change something there, nothing will 
happen, since there is no package installed.

Please check in your SPCE the following output from the command:

dpkg -l | grep backup-tools


If you get an output, please share it and then remove that package.
As far as we know from our internal checks, backup-tools package is not 
present at all in any CE repo, so we would really like to understand how 
and where you get that package.

Regarding Handbook saying backup script are included in CE, this is a 
wrong statement and we are going to fix it. Thanks for let us know.

Regards,

-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: dgrotti at sipwise.com
Website: https://www.sipwise.com

On 11/30/2017 10:13 AM, Serge S. Yuriev wrote:
> Hi,
>
> Strange my experience quite opposite - section does exists but backup 
> not working in 3.8, 4.5 and 5.x series..
>
> -- 
> Wbr, Serge via mobile
>
> 30.11.2017, 05:25, "Walter Klomp" <walter at myrepublic.net>:
>> They were in mine, but yes, if you installed a later 4.5 from scratch 
>> they are not there, but then if you copy them from another instance, 
>> things just start to magically work...
>>
>>
>>
>>> On 30 Nov 2017, at 9:53 AM, Matt Schwinn <winwithschwinn at gmail.com 
>>> <mailto:winwithschwinn at gmail.com>> wrote:
>>>
>>> How strange.  I didn't even have the backuptools section in my 
>>> config.yml file.
>>>
>>> On Nov 29, 2017 5:30 PM, "Walter Klomp" <walter at myrepublic.net 
>>> <mailto:walter at myrepublic.net>> wrote:
>>>
>>>     Nope. I actually had to explicitly switch it off because it
>>>     cleans up too much too early.
>>>
>>>     Yours sincerely,
>>>     Walter
>>>
>>>     On 30 Nov 2017, at 9:17 AM, Matt Schwinn
>>>     <winwithschwinn at gmail.com <mailto:winwithschwinn at gmail.com>> wrote:
>>>
>>>>     Hi Walter,
>>>>
>>>>     Did you have to do anything for it to work?
>>>>
>>>>     On Nov 29, 2017 5:11 PM, "Walter Klomp" <walter at myrepublic.net
>>>>     <mailto:walter at myrepublic.net>> wrote:
>>>>
>>>>         I can tell you that on my 3.8 and 4.5 installations backup
>>>>         “just works”. So it is included afaik.
>>>>
>>>>         Yours sincerely,
>>>>         Walter
>>>>
>>>>         On 30 Nov 2017, at 12:37 AM, Matt Schwinn
>>>>         <winwithschwinn at gmail.com
>>>>         <mailto:winwithschwinn at gmail.com>> wrote:
>>>>
>>>>>         Again, the user manual states that it 'is' included in
>>>>>         CE.  Can we get clarification on this please?
>>>>>
>>>>>         On Wed, Nov 29, 2017 at 8:35 AM, Daniel Grotti
>>>>>         <dgrotti at sipwise.com <mailto:dgrotti at sipwise.com>> wrote:
>>>>>
>>>>>             Hi,
>>>>>             I confirm, backup tool are *not* available for CE.
>>>>>             Only on commercial version.
>>>>>             Sorry for my previous suggestion, where I supposed
>>>>>             backup was supported CE.
>>>>>
>>>>>             Cheers,
>>>>>
>>>>>             -- 
>>>>>             Daniel Grotti
>>>>>             Head of Customer Support
>>>>>             Sipwise GmbH, Campus 21/Europaring F15
>>>>>             AT-2345 Brunn am Gebirge
>>>>>
>>>>>             Office:+43(0)130120332 <tel:+43130120332>
>>>>>             Email:dgrotti at sipwise.com <mailto:dgrotti at sipwise.com>
>>>>>             Website:https://www.sipwise.com <https://www.sipwise.com/>
>>>>>
>>>>>             On 11/29/2017 05:19 PM, Matt Schwinn wrote:
>>>>>>             Uh... no.  Not according to the handbook:
>>>>>>
>>>>>>             https://www.sipwise.com/doc/mr4.5.4/handbook-ce.pdf
>>>>>>             <https://www.sipwise.com/doc/mr4.5.4/handbook-ce.pdf>
>>>>>>
>>>>>>             13.1.2 The built-in backup solution
>>>>>>             The sip:provider CE comes with an easy-to-use
>>>>>>             solution that creates everyday backups of the most
>>>>>>             important data:
>>>>>>
>>>>>>             If what Alex says is true then this needs to be
>>>>>>             removed from the handbook.
>>>>>>
>>>>>>             On Tue, Nov 28, 2017 at 11:33 AM, Robert Cuaresma
>>>>>>             <rcuaresma at telcon.es <mailto:rcuaresma at telcon.es>> wrote:
>>>>>>
>>>>>>                 Hi Matt,
>>>>>>
>>>>>>                 Backup tools are only available in PRO/CARRIER
>>>>>>                 only. I attached a e-mail from Alex Lutay that he
>>>>>>                 confirm that.
>>>>>>
>>>>>>                 Saludos,
>>>>>>                 Robert Cuaresma
>>>>>>
>>>>>>                 El 22/11/2017 a las 2:20, Matt Schwinn escribió:
>>>>>>>                 Sending this out again. Anyone?
>>>>>>>
>>>>>>>                 ---
>>>>>>>
>>>>>>>                 Hello All,
>>>>>>>
>>>>>>>                 A couple of things that may have already been
>>>>>>>                 discussed.  I am running CE mr4.5.4 and have
>>>>>>>                 enabled the automatic backup feature as
>>>>>>>                 described in the handbook and it seems to not be
>>>>>>>                 working.  Can someone give me some advice.  The
>>>>>>>                 entire backuptools section was missing from my
>>>>>>>                 config.yml file so I added it manually. I'll
>>>>>>>                 copy what I have below so you can take a look. I
>>>>>>>                 ran the command "ngcpcfg apply 'enabled the
>>>>>>>                 backup feature'" after making my change but it
>>>>>>>                 does not seem to be working as described.
>>>>>>>
>>>>>>>                 Also, the handbook for 4.5.4 under the 13.1.2
>>>>>>>                 The built-in backup solution section refers to
>>>>>>>                 "C.1.3 backup tools section of the 'NGCP configs
>>>>>>>                 overview'" which is actually located in section
>>>>>>>                 B.1.4.
>>>>>>>
>>>>>>>                 Thank you all!
>>>>>>>
>>>>>>>
>>>>>>>                 ---My backuptools config section of config.yml---
>>>>>>>                 backuptools:
>>>>>>>                 cdrexport_backup:
>>>>>>>                     enable: 'yes'
>>>>>>>                   etc_backup:
>>>>>>>                     enable: 'yes'
>>>>>>>                   mail:
>>>>>>>                     address: winwithschwinn at gmail.com
>>>>>>>                 <mailto:winwithschwinn at gmail.com>
>>>>>>>                 error_subject: '[ngcp-backup] Problems detected
>>>>>>>                 during daily backup'
>>>>>>>                 log_subject: '[ngcp-backup] Daily backup report'
>>>>>>>                 send_errors: 'yes'
>>>>>>>                     send_log: 'yes'
>>>>>>>                 mysql_backup:
>>>>>>>                     enable: 'yes'
>>>>>>>                 exclude_dbs: 'syslog sipstats information_schema'
>>>>>>>                   rotate_days: 7
>>>>>>>                   storage_dir: '/var/backup/ngcp_backup'
>>>>>>>                 temp_backup_dir: '/tmp/ngcp_backup'
>>>>>>>                 ------
>>>>>>>
>>>>>>>
>>>>>>>                 _______________________________________________
>>>>>>>                 Spce-user mailing list
>>>>>>>                 Spce-user at lists.sipwise.com
>>>>>>>                 <mailto:Spce-user at lists.sipwise.com>
>>>>>>>                 https://lists.sipwise.com/listinfo/spce-user
>>>>>>>                 <https://lists.sipwise.com/listinfo/spce-user>
>>>>>>
>>>>>>
>>>>>>
>>>>>>                 ---------- Forwarded message ----------
>>>>>>                 From: Alex Lutay <alutay at sipwise.com
>>>>>>                 <mailto:alutay at sipwise.com>>
>>>>>>                 To: Raul Alonso <raul.alonso at tpartner.net
>>>>>>                 <mailto:raul.alonso at tpartner.net>>,
>>>>>>                 spce-user at lists.sipwise.com
>>>>>>                 <mailto:spce-user at lists.sipwise.com>
>>>>>>                 Cc:
>>>>>>                 Bcc:
>>>>>>                 Date: Fri, 26 May 2017 12:45:32 +0200
>>>>>>                 Subject: Re: [Spce-user] Backup is not integrated.
>>>>>>                 Hi,
>>>>>>
>>>>>>                 As Andrew Pogrebennyk wrote in a thread,
>>>>>>                 backuptools is for PRO/Carrier only.
>>>>>>
>>>>>>                 This is why CE validation doesn't like it.
>>>>>>
>>>>>>                 On 05/25/2017 06:25 PM, Raul Alonso wrote:
>>>>>>                 > I have same issue, If I add the section
>>>>>>                 according to the documentation and execute:
>>>>>>                 ngcpcfg --validate check
>>>>>>                 >
>>>>>>                 > 2017-05-25 18:23:46: Error: Invalid schema
>>>>>>                 detected for /etc/ngcp-config/config.yml
>>>>>>                 > /etc/ngcp-config/config.yml#0: INVALID
>>>>>>                 >   - [/backuptools] Unexpected key 'backuptools'
>>>>>>
>>>>>>                 --
>>>>>>                 Alex Lutay
>>>>>>
>>>>>>                 _______________________________________________
>>>>>>                 Spce-user mailing list
>>>>>>                 Spce-user at lists.sipwise.com
>>>>>>                 <mailto:Spce-user at lists.sipwise.com>
>>>>>>                 https://lists.sipwise.com/listinfo/spce-user
>>>>>>                 <https://lists.sipwise.com/listinfo/spce-user>
>>>>>>
>>>>>>                 _______________________________________________
>>>>>>                 Spce-user mailing list
>>>>>>                 Spce-user at lists.sipwise.com
>>>>>>                 <mailto:Spce-user at lists.sipwise.com>
>>>>>>                 https://lists.sipwise.com/listinfo/spce-user
>>>>>>                 <https://lists.sipwise.com/listinfo/spce-user>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             -- 
>>>>>>             Enjoy the day!
>>>>>>             Matt Schwinn
>>>>>>             TCG Technologies LLC
>>>>>>                   and
>>>>>>             Company B
>>>>>>             209-202-3329 <tel:209-202-3329>
>>>>>>             www.TCGTechLLC.com <http://www.tcgtechllc.com/>
>>>>>>
>>>>>>
>>>>>>             _______________________________________________
>>>>>>             Spce-user mailing list
>>>>>>             Spce-user at lists.sipwise.com
>>>>>>             <mailto:Spce-user at lists.sipwise.com>
>>>>>>             https://lists.sipwise.com/listinfo/spce-user
>>>>>>             <https://lists.sipwise.com/listinfo/spce-user>
>>>>>
>>>>>
>>>>>             _______________________________________________
>>>>>             Spce-user mailing list
>>>>>             Spce-user at lists.sipwise.com
>>>>>             <mailto:Spce-user at lists.sipwise.com>
>>>>>             https://lists.sipwise.com/listinfo/spce-user
>>>>>             <https://lists.sipwise.com/listinfo/spce-user>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>         -- 
>>>>>         Enjoy the day!
>>>>>         Matt Schwinn
>>>>>         TCG Technologies LLC
>>>>>               and
>>>>>         Company B
>>>>>         209-202-3329 <tel:209-202-3329>
>>>>>         www.TCGTechLLC.com <http://www.tcgtechllc.com/>
>>>>>         _______________________________________________
>>>>>         Spce-user mailing list
>>>>>         Spce-user at lists.sipwise.com
>>>>>         <mailto:Spce-user at lists.sipwise.com>
>>>>>         https://lists.sipwise.com/listinfo/spce-user
>>>>>         <https://lists.sipwise.com/listinfo/spce-user>
>>>>
>>>>
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>> https://lists.sipwise.com/listinfo/spce-user
>>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20171130/02d3c06f/attachment-0001.html>


More information about the Spce-user mailing list