Normal Topic Controlling Backups (Read 1011 times)
Robert Manshack
Member
*
Offline



Posts: 31
Joined: Jun 26th, 2014
Controlling Backups
Jul 14th, 2014 at 9:05pm
Print Post Print Post  
Other than BACKUP ON INTERVAL, is there any clean way of creating backups automatically?  I don't like how with BACKUP ON INTERVAL there's no control over where the backups go to, whether or not I want to overwrite the existing backup, etc....  Seems like it wouldn't be that tough to add an argument for destination directory in the INI file.  Any suggestions?
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Controlling Backups
Reply #1 - Jul 16th, 2014 at 1:45pm
Print Post Print Post  
Hello Robert,

For what you are after you might want to consider using a command like XCopy in a batch file set up on a scheduled task to run at say 3 in the morning, when no one is going to be changing the files.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Robert Manshack
Member
*
Offline



Posts: 31
Joined: Jun 26th, 2014
Re: Controlling Backups
Reply #2 - Jul 16th, 2014 at 9:35pm
Print Post Print Post  
I'd have to unload all the apps first for that to work right?  What if someone leaves an app open when they leave for the night?
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Controlling Backups
Reply #3 - Jul 17th, 2014 at 2:43pm
Print Post Print Post  
Hello Robert,

The files do not have to be unloaded. As long as no one is actively changing the files, they can be backed up while loaded. The backups will be locked but that can easily be solved by a call to sunlock.exe to unlock the backup or by using Server Administration if the backup is ever needed.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Robert Manshack
Member
*
Offline



Posts: 31
Joined: Jun 26th, 2014
Re: Controlling Backups
Reply #4 - Jul 18th, 2014 at 8:20pm
Print Post Print Post  
ok, so I could just do an xcopy, looking for the right file extensions in the c:\sesame2\data subdirectory, wrap that up in a dos batch, then make that a scheduled task and i'd be good to go?  Do i have to actually do the backup command or could i just simply make a copy of the files?
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Controlling Backups
Reply #5 - Jul 18th, 2014 at 8:28pm
Print Post Print Post  
Yup that will do you. No need to use the backup on interval command in addition to this unless you want to have that backup as well.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Robert Manshack
Member
*
Offline



Posts: 31
Joined: Jun 26th, 2014
Re: Controlling Backups
Reply #6 - Jul 18th, 2014 at 10:03pm
Print Post Print Post  
fantastic....i love it when something is actually simple....

thanks!
  
Back to top
 
IP Logged