Skip to main content

Backup

Posted by brian on Thu, 11/26/2009

Hi,

I am trying to schedule a backup with MTE. I would do it with a cron job and tar but I'm not sure exactly what the MTE is backing up. Anyways.. To test it I run now in MTE and after a moment, backup file created transferring to FTP I think it says... I was monitoring on the destination FTP server and it seems to just keep logging in doing nothing for 60 seconds then loggin in again. now on the MTE box --

carl:/etc/webmin/asterisk# ps faux |grep backup
root 16862 0.0 0.0 3116 720 pts/0 S+ 19:57 0:00 \_ grep backup
root 10043 0.1 1.2 54660 53036 ? Ss 19:29 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 10278 0.1 1.2 54660 53028 ? Ss 19:30 0:02 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 10512 0.0 1.2 54660 53036 ? Ss 19:31 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 10783 0.0 1.2 54660 53036 ? Ss 19:32 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 11016 0.1 1.2 54660 53036 ? Ss 19:33 0:02 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 11249 0.1 1.2 54660 53048 ? Ss 19:34 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 11502 0.1 1.2 54660 53032 ? Ss 19:35 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 11735 0.1 1.2 54660 53032 ? Ss 19:36 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 11967 0.1 1.2 54660 53032 ? Ss 19:37 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 12203 0.1 1.2 54660 53028 ? Ss 19:38 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 12460 0.1 1.2 54660 53040 ? Ss 19:39 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 12702 0.1 1.2 54660 53040 ? Ss 19:40 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 12936 0.1 1.2 54660 53028 ? Ss 19:41 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 13169 0.1 1.2 54660 53028 ? Ss 19:42 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 13401 0.1 1.2 54660 53032 ? Ss 19:43 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 13621 0.1 1.2 54660 53028 ? Ss 19:44 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 13853 0.2 1.2 54660 53036 ? Ss 19:45 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 14086 0.2 1.2 54660 53032 ? Ss 19:46 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 14321 0.2 1.2 54660 53036 ? Ss 19:47 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 14553 0.2 1.2 54660 53036 ? Ss 19:48 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 14788 0.2 1.2 54660 53032 ? Ss 19:49 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 15021 0.2 1.2 54660 53024 ? Ss 19:50 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 15253 0.3 1.2 54660 53028 ? Ss 19:51 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 15488 0.3 1.2 54660 53032 ? Ss 19:52 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 15721 0.4 1.2 54660 53032 ? Ss 19:53 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 15955 0.6 1.2 54660 53036 ? Ss 19:54 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 16220 0.6 1.2 54660 53032 ? Ss 19:55 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 16452 1.0 1.2 54660 53036 ? Ss 19:56 0:01 | \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl
root 16671 2.3 1.2 54660 53036 ? Ss 19:57 0:01 \_ /usr/bin/perl /usr/share/webmin/asterisk/backup.pl

I will kill this process. Any ideas? What do I need to backup is it just /etc/asterisk and the astdb?

I know it should work but I don't mind doing it with cron.

TIA.
Brian