CopyRat -- simple backup app

Developed or developing a new product in PureBasic? Tell the world about it.
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Re: CopyRat -- simple backup app

Post by TerryHough »

I tested the command line calling a .jbs file. Worked fine.

That is sufficient for me as a command line interface.

It would be nice to just run one job from your main GUI though. Check box on the job list perhaps?

Think you will ever release the code for this? I don't have any time to work with it at the moment, just thought it would be nice to work with at tsome time.
User avatar
kenmo
Addict
Addict
Posts: 2043
Joined: Tue Dec 23, 2003 3:54 am

Re: CopyRat -- simple backup app

Post by kenmo »

Hey Terry!

I've uploaded a new version 0.94: http://bit.ly/hMsFk4

I decided to add an enable/disable job checkbox above the rest of the options.

I also added a few more commandline controls, which are hopefully understandable on the webpage.
You can backup a folder as easy as...

Code: Select all

copyrat backup "c:\source\" "c:\dest\"
and there are a bunch of optional flags afterward.

(Ironically this program began as a reboot of a commandline-only backup app I had written.)

Try it out, let me know if you find anything wrong!
Last edited by kenmo on Mon Jan 31, 2011 5:04 pm, edited 1 time in total.
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Re: CopyRat -- simple backup app

Post by TerryHough »

kenmo wrote: new version 0.94
I decided to add an enable/disable job checkbox above the rest of the options.
OK, but it would be more obvious which jobs are "enabled" if that checkbox appeared beside the job in the jobs list.
kenmo wrote: I also added a few more commandline controls, which are hopefully understandable on the webpage.

You can backup a folder as easy as...

Code: Select all

copyrat "c:\source\" "c:\dest\"
and there are a bunch of optional flags afterward.
Actually, it has to be

Code: Select all

copyrat backup "c:\source\" "c:\dest\"
As you have it above, the program just starts up with a blank jobs list.

I've tried the command line items and they appear to work.

Only problem I have is in adding a job from the GUI. The "To:" browse doesn't work very well on my system at browsing to a network location, but that may just be my network's response. It can take up to 30 seconds or more to show a networked system's tree. I haven't noticed that with other program. I will do a bit more testing and report back.
User avatar
kenmo
Addict
Addict
Posts: 2043
Joined: Tue Dec 23, 2003 3:54 am

Re: CopyRat -- simple backup app

Post by kenmo »

TerryHough wrote:OK, but it would be more obvious which jobs are "enabled" if that checkbox appeared beside the job in the jobs list.
Yeah, it was a quick addition. Perhaps I can convert the ListView to a ListIcon without having to modify too much code that interacts with it.
TerryHough wrote:Actually, it has to be

Code: Select all

copyrat backup "c:\source\" "c:\dest\"
As you have it above, the program just starts up with a blank jobs list.
Whoops, that was just a mistake in my post. Edited now.
TerryHough wrote:Only problem I have is in adding a job from the GUI. The "To:" browse doesn't work very well on my system at browsing to a network location, but that may just be my network's response. It can take up to 30 seconds or more to show a networked system's tree. I haven't noticed that with other program. I will do a bit more testing and report back.
Hmmm, that's odd. I haven't used it with networked drives. But it simply calls PB's PathRequester(), and then updates the StringGadget. That's all. What version of Windows are you using?
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Re: CopyRat -- simple backup app

Post by TerryHough »

kenmo wrote:I haven't used it with networked drives. But it simply calls PB's PathRequester(), and then updates the StringGadget. That's all. What version of Windows are you using?
Win XPPro fully patched. I think it is just my network causing it... could be the networked system is asleep or something. I haven't had time for further testing this morning.
Amundo
Enthusiast
Enthusiast
Posts: 200
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Re: CopyRat -- simple backup app

Post by Amundo »

Hi kenmo, thanks for sharing your app.

Could you include "File Modification Date" as a filter? If I change a text file, but it stays the same size, it will miss being backed up - is that correct?

Keep up the good work!
Win10, PB6.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
kenmo
Addict
Addict
Posts: 2043
Joined: Tue Dec 23, 2003 3:54 am

Re: CopyRat -- simple backup app

Post by kenmo »

Amundo wrote:Could you include "File Modification Date" as a filter? If I change a text file, but it stays the same size, it will miss being backed up - is that correct?
I've uploaded a new version 0.95: http://bit.ly/hMsFk4

I added a Modified Date choice (feel free to test this Amundo!)

Plus minor changes:
- removed Escape key shortcut that exits program (I never use this, would only hit it by accident...)
- removed the 'Already Exists: filename' entries from the backup progress window (added many many pointless lines)
- other small changes, such as: if the backup finishes while you are viewing the log, it will not close the window automatically

Thanks for feedback!

(@Terry - I swear I will get around to adding checkboxes to enable/disable jobs!)
User avatar
kenmo
Addict
Addict
Posts: 2043
Joined: Tue Dec 23, 2003 3:54 am

Re: CopyRat -- simple backup app

Post by kenmo »

Uploaded yet another version 0.96: http://bit.ly/hMsFk4

Changes:
- Enable/disable jobs with simple checkboxes (for Terry!)
- Backup only files of specific types (a feature I've wanted to add for a while!)
- Added a commandline keyword to open a jobs file instead of auto-run it
- Fixed a MAJOR bug when moving (instead of just copying) files!

Cheers!
Amundo
Enthusiast
Enthusiast
Posts: 200
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Re: CopyRat -- simple backup app

Post by Amundo »

Thanks kenmo, will test and advise!
Win10, PB6.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
Amundo
Enthusiast
Enthusiast
Posts: 200
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Re: CopyRat -- simple backup app

Post by Amundo »

Okay, I tested the "Modified Date" option - nothing gets backed up?!?!?!?
Win10, PB6.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
kenmo
Addict
Addict
Posts: 2043
Joined: Tue Dec 23, 2003 3:54 am

Re: CopyRat -- simple backup app

Post by kenmo »

Ahhh, it looks like I didn't uncomment a line of code before compiling the last executable.

Could you re-download and try again?

Thanks for catching that!
Amundo
Enthusiast
Enthusiast
Posts: 200
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Re: CopyRat -- simple backup app

Post by Amundo »

Thanks kenmo, that did the trick, cheers!

:D
Win10, PB6.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
kenmo
Addict
Addict
Posts: 2043
Joined: Tue Dec 23, 2003 3:54 am

Re: CopyRat -- simple backup app

Post by kenmo »

Just want to announce that I have made a few more tweaks and uploaded a new (final?) version, 0.99.

More importantly, I have merged the web page / help file / download page all into one (hopefully user-friendly) new web page: here

v0.99 download and lots of feature descriptions can be found there now.

Cheers!
Last edited by kenmo on Wed Apr 23, 2014 10:03 pm, edited 1 time in total.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: CopyRat -- simple backup app

Post by Rook Zimbabwe »

Nice work... but Ryan if this is the final... would it not at least be version 1.0? :mrgreen:
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
kenmo
Addict
Addict
Posts: 2043
Joined: Tue Dec 23, 2003 3:54 am

Re: CopyRat -- simple backup app

Post by kenmo »

Rook Zimbabwe wrote:Nice work... but Ryan if this is the final... would it not at least be version 1.0? :mrgreen:
Maybe I like to take the Gmail route and call my software "Beta" for 5 years 8)
Post Reply