On Mon, Apr 1, 2013 at 8:12 PM, Dan Covill <[email protected]> wrote:


> Actually, I might look for a different way around it - I hate doing
> backups as part of either startup or shutdown.  But if you have to, it's
> safer to make the user part of the process.
>

Putting myself in the user's shoes, the user is shutting down because...

... they want to go home
... they're late for an appointment
... the building is on fire

And should have options of fast shutdown or slow shutdown. A dialog of "You
really should make a backup to save your changes. Backup now? [Y/N]?" and
give them the option to get it over quick.

The other suggestion I really liked here was the idea of running the backup
process on the server, rather than tying up the local machine copying files
from one folder on the server to another folder on the server. There's any
number of mechanisms you could use to do this:

Set a particular semaphor file in a directory ("backmeup.now") and have a
cron job (Linux for Scheduled Tasks, only better) that checks for the
existance of that file, copies the data to be backed up, and deletes the
file. If the backmeup.now file exists, don't let any users log on. And just
in case there's a server crash copying files, teach someone at the site to
delete the file manually if things get gummed up.


-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cacw6n4tqa1rxfaxcxmjade58kz0j7eocdeaon-9p3ocujpz...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to