how to backup and restore?

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

how to backup and restore?

Postby bryan.kewl » Thu Aug 18, 2011 4:11 pm

GoAutoDial 2.1CE
VICIDIAL VERSION: 2.4-325c
BUILD: 110430-1924

Please guide me how to backup. I am mainly interested in backing up callbacks, call-records(we don't have any recording, so only need the records like call time, calling agent, etc), leads. I can recreate the users/carriers/campaigns/groups etc.

Also guide me how to apply the backup.
Also is it possible that I can apply this backup on vicidial?
bryan.kewl
 
Posts: 52
Joined: Mon Jul 04, 2011 5:14 pm

Postby williamconley » Thu Aug 18, 2011 4:57 pm

Code: Select all
perl /usr/share/astguiclient/ADMIN_backup.pl --help
this merely shows options.

executing this script will place a numbered backup in /var/log/astguiclient/archive. executing it daily will result in 7 daily backups rotating in this location. use of the ftp option (in conjunction with the ftp credentials in astguiclient.conf) will result in this backup being automatically pushed to an ftp server as part of the process.

restoration requires using mysql asterisk < FILENAME after "unpacking" the compressed file. but restoration requires matching the database to the installed code on the box.
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 16688
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby noworldorder » Wed Nov 09, 2011 3:31 am

I am getting a new motherboard for my server (Please let this solve my delay issue). I have backed up my data via /usr/share/astguiclient/ADMIN_backup.pl --debugX and I have a file called 192.168.1.117_ALL_3.tar.gz

So is this file really all my data?

and can someone walk me through the restore procedure please?

This is over my head:
restoration requires using mysql asterisk < FILENAME after "unpacking" the compressed file. but restoration requires matching the database to the installed code on the box.


restoration requires using mysql asterisk < FILENAME after "unpacking" the compressed file. but restoration requires matching the database to the installed code on the box.


I need some step by step help if anyone could be so kind :)
http://www.scrubmydata.com Your First Scrub is FREE
Vicibox 4.0 | VERSION: 2.6-375a BUILD: 120831-1523
Realtek RTL8111/8168B PCI Dual Core 2 GB Ram
no other software read the manual
GRATEFUL FOR VICIDIAL!
noworldorder
 
Posts: 391
Joined: Sat Mar 06, 2010 3:56 pm

Postby williamconley » Sat Nov 12, 2011 3:42 pm

verify that the sql data IS inside the gz file. Look up the use of the "tar" and "gunzip" applications to "unpack".

The restoration procedure (I believe) is covered in the Manager's Manual. I've never looked, though, as it's primarily just a "use tar to copy a bunch of files to specific locations" along with that mysql restore procedure. Not hard, but knowing how to use tar and gunzip is ... handy.
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 16688
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby noworldorder » Sat Nov 12, 2011 4:32 pm

Thanks...

So am I correct in assuming that it is up to me to move all of the files to their correct location (no script to do this).

If this is true then I need to know where everything goes. How am I supposed to know this?
http://www.scrubmydata.com Your First Scrub is FREE
Vicibox 4.0 | VERSION: 2.6-375a BUILD: 120831-1523
Realtek RTL8111/8168B PCI Dual Core 2 GB Ram
no other software read the manual
GRATEFUL FOR VICIDIAL!
noworldorder
 
Posts: 391
Joined: Sat Mar 06, 2010 3:56 pm

Postby williamconley » Sat Nov 12, 2011 10:10 pm

Their names are generally indicative of their locations. If unsure, unpack them in the temp folder and check a name or two, they do not generally have common file names, so "locate filename" will find it, and it's "match" in the location of the old one.

Also, reading the text of the backup.pl script will give locations where they were extracted. :)
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 16688
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: how to backup and restore?

Postby circuit » Tue Dec 08, 2015 12:42 am

Where is the path where VICIDIAL is backing up ?
circuit
 
Posts: 85
Joined: Tue Dec 14, 2010 9:31 am

Re: how to backup and restore?

Postby williamconley » Tue Dec 08, 2015 12:27 pm

/var/log/astguiclient/archive

or to be more accurate, the archive script will add "/archive" to this value in /etc/astguiclient.conf:

Code: Select all
PATHlogs => /var/log/astguiclient
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 16688
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: how to backup and restore?

Postby bondkmf » Wed Feb 22, 2017 1:00 pm

So if you just run: perl /usr/share/astguiclient/ADMIN_backup.pl

That will backup EVERYTHING including recordings and dial records correct? Also, if I wanted to point the backup to a drive on my server how would I insert that in that command?
bondkmf
 
Posts: 25
Joined: Mon Aug 10, 2015 2:55 pm

Re:

Postby bondkmf » Thu Feb 23, 2017 6:42 am

"executing this script will place a numbered backup in /var/log/astguiclient/archive"

After running the above .pl it did NOT place in the above mentioned location. Please advise!!
bondkmf
 
Posts: 25
Joined: Mon Aug 10, 2015 2:55 pm

Re: how to backup and restore?

Postby williamconley » Thu Mar 02, 2017 2:05 am

Options:
Code: Select all
perl /usr/share/astguiclient/ADMIN_backup.pl --help


Run it with debug to see what happens (ie: Check for errors!):
Code: Select all
perl /usr/share/astguiclient/ADMIN_backup.pl --debugX


This will NOT back up client audio recordings. Those are managed with the scripts in the crontab
Code: Select all
### recording mixing/compressing/ftping scripts
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3


Each script has a purpose. Different Versions of Vicidial have different scripts available and/or active. The one with "ftp" is designed to copy the audio recordings to an FTP server so they can be deleted from the Vicidial server and avoid filling the HD. However: This is not considered a backup if you delete the originals, thus a "mirror copy" of the ftp server is then a very good idea.

I believe the Vicidial Manager's Manual covers this topic in more detail.
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 16688
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 10 guests