Online backup to network drive

This forum is for discussing Mailtraq's Scripting features. Get help with Mailtraq scripts, templates and external ActiveX scripting.

Online backup to network drive

Postby pvh » Mon Apr 18th, 2016 6:42am

I want to do the Online backups to an external disk which is in the same network as the Mailtraq server.
When I check the backups I find that the path including the ip address of the external disk is used as a directory name as part of the program files directory of mailtraq itself on the local drive of the pc running the Mailtraq service..
How can I make sure that the backups go to the external drive rather than the mailtraq program location (local drive)
pvh
 
Posts: 26
Joined: Sun Dec 18th, 2005 8:13am

Re: Online backup to network drive

Postby jimhill » Tue Apr 19th, 2016 10:52am

No script needed. Create a normal Windows share to your external disk and use the assigned drive letter as Mailtraq's backup destination.
jimhill
Expert User
 
Posts: 337
Joined: Sun Dec 19th, 2004 9:59pm
Location: UK

Re: Online backup to network drive

Postby pvh » Wed Apr 20th, 2016 6:06am

Hi,
I am using a network share and I access , place or delete file on that share from my windows functions.
Mailtraq , however, keep giving error 3 problems.
The path string in the Online backup window is: X:\bu_mailtraq_backup\{dddd}\

Below a snippet from the logfile:

00010000 00002440 20-04-2016 10:38:22 Backup Service: Copying database backup to network path x:\BU_Mailtraq_Backup\woensdag\
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\ to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\databasebackup.afk to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\calendars to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\configuration to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\system.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\system.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\configuration\mailfolders to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailfolders\admin to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailfolders\maaike to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailfolders\pvh to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\configuration\mailslots to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\admin.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\admin.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\maaike.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\maaike.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\mailserver.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\mailserver.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\newsserver.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\newsserver.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\postmaster.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\postmaster.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\pvh.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\mailslots\pvh.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\configuration\routes to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\configuration\users to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\users\admin.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\users\admin.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\users\happyftp.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\users\happyftp.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\users\maaike.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\users\maaike.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\users\pvh.cfb to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\configuration\users\pvh.cfg to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\dis to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\dis\abooks to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\mail to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\mail\archive to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\archive\admin.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\archive\maaike.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\archive\mailserver.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\archive\newsserver.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\archive\postmaster.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\archive\pvh.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying x:\BU_Mailtraq_Backup\woensdag\mail\inbox to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\inbox\admin.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\inbox\maaike.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\inbox\postmaster.afx to network share at 2016-04-20 10:38
00008000 00002440 20-04-2016 10:38:22 Backup: Error 3 copying C:\Program Files (x86)\Mailtraq\database\backuptmp\mail\inbox\pvh.afx to network share at 2016-04-20 10:38
00010000 00002440 20-04-2016 10:38:22 Database Backup Service Finished
pvh
 
Posts: 26
Joined: Sun Dec 18th, 2005 8:13am

Re: Online backup to network drive

Postby jimhill » Thu Apr 21st, 2016 9:17am

pvh wrote:Hi,
I am using a network share and I access , place or delete file on that share from my windows functions.
Mailtraq , however, keep giving error 3 problems.
The path string in the Online backup window is: X:\bu_mailtraq_backup\{dddd}\

Below a snippet from the logfile:


Does that path work if you change it to Mailtraq's local drive, eg C:\bu_mailtraq_backup\{dddd}\?

If you have a virtual disk on your Mailtraq machine (ie you've partitioned its C: drive) does that path work, eg D:\bu_mailtraq_backup\{dddd}\?

If you have two disks in your Mailtraq machine, does that path work on another disk, eg E:\bu_mailtraq_backup\{dddd}\?
jimhill
Expert User
 
Posts: 337
Joined: Sun Dec 19th, 2004 9:59pm
Location: UK

Re: Online backup to network drive

Postby pvh » Mon Apr 25th, 2016 9:31am

The answer to your questions is an altogether yes.
pvh
 
Posts: 26
Joined: Sun Dec 18th, 2005 8:13am


Return to Mailtraq Scripting

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron