RE: Server Backup when running as a Service

2016-11-18 Thread Epperlein, Lutz (agendo)
I wouldn't let 4D backup to an external drive. Too many problems may arise.
A recommendation: Let 4D backup to a local path, maybe on a daily basis. Then 
use the Windows built-in services for backup or use a reliable third party 
software to backup the by 4D generated backup files to an external location. 
This Windows backup part is a task of IT admin people usually.

When we install our software we inform the admins usually about the location of 
the 4D backup files and recommend them to backup these files with their own 
tools.

HTH

Regards
Lutz
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Server Backup when running as a Service

2016-11-17 Thread Tim Nevels
On Nov 17, 2016, at 1:51 PM, Cheryl Michels wrote:

> This seems simple so I must be missing something very basic.  We have a 
> merged/built server application.  Customer wants to run it as a Service and 
> backup the data to a drive other than the one that it is currently installed 
> on.  The backups are not getting written.  There is no error.  They simply 
> don't write.  If the backup is configured to write to the same drive that 
> Server is on, then the backup writes without error.

Keep in mind that when running as a “Service” on Windows the environment is 
completely different than running 4D Server from a user’s account. Drives and 
shares may or may not be mounted based on the settings for the user account 
that is used for the service. Also access to printers can be different. 

I would do some testing by creating a Stored Procedure that you can run and 
have it check the path to the backup drive using “Test path name”. If it is 
available, have the stored procedure create a text file at the backup location 
and see if that works. 

Could be that when you are running as a service the user account that is in 
effect does not have the backup drive mounted or the permissions don’t allow 
it. 

Tim


Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Server Backup when running as a Service

2016-11-17 Thread Bill Weale
Can you check (manually or by code) if the target volume is mounted when the 
backup is run? I had so many problems with this at one site that we gave up 
trying.

A more serious problem, imo, is not having a reliable place to maintain the log 
file…

Bill




> On Nov 17, 2016, at 2:41 PM, Cheryl Michels  wrote:
> 
> This seems simple so I must be missing something very basic.  We have a 
> merged/built server application.  Customer wants to run it as a Service and 
> backup the data to a drive other than the one that it is currently installed 
> on.  The backups are not getting written.  There is no error.  They simply 
> don't write.  If the backup is configured to write to the same drive that 
> Server is on, then the backup writes without error.
> 
> 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Server Backup when running as a Service

2016-11-17 Thread Charles Miller
On Thu, Nov 17, 2016 at 2:41 PM, Cheryl Michels  wrote:

> This seems simple so I must be missing something very basic.  We have a
> merged/built server application.  Customer wants to run it as a Service and
> backup the data to a drive other than the one that it is currently
> installed on.  The backups are not getting written.  There is no error.
> They simply don't write.  If the backup is configured to write to the same
> drive that Server is on, then the backup writes without error.


What happens with manual backup? Permissions? what type of volume. Mounted
or local?

Regards
Chuck


-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Sever connectivity
  http://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Server Backup when running as a Service

2016-11-17 Thread Cheryl Michels
This seems simple so I must be missing something very basic.  We have a 
merged/built server application.  Customer wants to run it as a Service and 
backup the data to a drive other than the one that it is currently installed 
on.  The backups are not getting written.  There is no error.  They simply 
don't write.  If the backup is configured to write to the same drive that 
Server is on, then the backup writes without error.


Cheryl Michels
President & System Architect
che...@dwdev.com
(425) 673-1974
www.dwdev.com
Dataworks Development, Inc.
Providing secure and configurable data management solutions for research and 
clinical labs since 1987.
[Description: FreezerworksLogo]

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**