Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Dan Baker
  Where is Dan Baker?
 Effort of the Poconos
 Pennsylvania - United States
 Dan Baker
 Tags
Subject: Demo: Camelot USB Backup with drag/drop
Thread ID: 393913 Message ID: 393913 # Views: 126 # Ratings: 6
Version: Visual FoxPro 9 Category: Forms
Date: Thursday, December 26, 2013 3:54:41 AM         
   


Foxites:

Up to now, I have been using various freeware backup solutions such as Cobian Gravity and SyncBack for my needs. My requirements are not that rigorous: I am merely saving the files on my laptop. Yet I longed for something simpler than these full-blown packages.

So when I read Tom Knauf’s Foxite post on his own backup method a couple months back, I fell in love with its simplicity. It calls for putting daily backups on separate devices, so that is what I tried to reproduce in this demo form using USB devices.

While it's designed to look for a USB with a day folder in it such as "Monday" or "Tuesday", you can adapt this method to run backups to any device.

I've been working on this off and on for 10 days or more, so I have not used it very long.   Still, I need to get it off my desk so I can get back to my day job :- ) It was a challenge, so I hope there are not too many bugs I missed.

The only trouble I know about is that it does not like creating directories where there's a period "." in the folder name.   Appreciate it if someone has an idea how to solve that issue.   Regardless, I appreciate all the code I got from several Foxite contributions.

* * * * * Update 12/28/2013 * * * * 


Thanks to input from Jun, made following changes:

a. Got the multi-select OLE drag/drop to work for the trash can ( Hacker's guide had a great example ).
b. Added a capability to write to a disk of your choice rather than use dated USBs.
c. Fixed a problem with monthly and yearly backup dates
d. mdot issues cleaned up. Note, I often select a dummy table named vfpsafe.dbf
e. The size of the form now fits a small laptop screen and you can manually resize it. I decided
it was better to manually code the resizing. In this case, you get more control and I didn't
want to have the zoom in/zoom out effect of the resizer class I looked at.

The demo form is here: Camelot_backup.zip   2.3 MB

Documentation is here: Camelot_backup_help.htm

Dan B.



ENTIRE THREAD

Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/26/2013 3:54:41 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Pete Sass @ 12/26/2013 1:25:02 PM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/26/2013 3:05:56 PM
RE: Demo: Camelot USB Backup with drag/drop Posted by Pete Sass @ 12/26/2013 9:20:42 PM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/27/2013 3:05:22 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Jun Tangunan @ 12/28/2013 2:07:26 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by David Mustakim @ 12/28/2013 2:21:10 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Jun Tangunan @ 12/28/2013 2:44:57 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/28/2013 6:09:33 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by David Mustakim @ 12/28/2013 3:40:55 PM
RE: Demo: Camelot USB Backup with drag/drop Posted by Jun Tangunan @ 12/30/2013 12:01:49 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/30/2013 9:07:10 PM
RE: Demo: Camelot USB Backup with drag/drop Posted by Pete Sass @ 12/28/2013 6:05:30 PM
RE: Demo: Camelot USB Backup with drag/drop Posted by Jun Tangunan @ 12/27/2013 1:32:33 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/27/2013 3:02:33 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by David Mustakim @ 12/27/2013 3:35:54 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/27/2013 4:19:24 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Jun Tangunan @ 12/27/2013 3:55:33 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Jun Tangunan @ 12/28/2013 12:44:08 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/28/2013 4:48:45 AM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/28/2013 5:47:39 PM
RE: Demo: Camelot USB Backup with drag/drop Posted by Tore Bleken @ 12/28/2013 5:10:19 PM
RE: Demo: Camelot USB Backup with drag/drop Posted by Dan Baker @ 12/28/2013 6:04:24 PM