Jump to content

Mass Storage Class backup app


sshrum
 Share

Recommended Posts

Check it out. Source is also available.

http://www.shrum.net/code/copy2msc

This is a backup utility I wrote, much like my Shuffler app for dealing with random music files, that automatically starts backing up user definable paths as soon as a MSC device is connected cuz I'm lazy like that. :whistle:

Works with USB and firewire devices...triggers on operating system drive assignment.

Full documentation, source, and binary at the site listed above.

Enjoy!

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Link to comment
Share on other sites

Check it out.  Source is also available.

I wanted to download the sources, however the link seems to be dead.

Link: http://www.shrum.net/cats.php?dir=/code/copy2msc/files

Error: cats.php[get_file_list]: Failed opening directory for reading: /code/copy2msc/files/

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

sshrum I like a lot this copy script. Just to let you know for where ever reason when I run your script always give me this message:

Sorry, silly rabbit is for 'removable' destination devices only.

I have 120GB USB hard disk when I look at your code:

DriveGetType(StringLeft($sDestination, 2) & "\") <> "Removable"

Even that I have a USB hard disk that line of code show as "Fixed"

I change to Fixed and test your script and like I said before I liked a lot.

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
Link to comment
Share on other sites

That's odd...what kind of drive is it?

AutoIT reporting your USB drive as "Fixed" is either an issue with Windows reporting the drive or a bug in AutoIT (I'm leaning toward issues with Windows).

AS long as the drive letter reports back a "NOT READY" state at some point is really all that matters. Fixed drives (not in your situation) typically are ALWAYS READY and therefore the code would run once and not run again until the system was rebooted. This is why I specifically put the "Silly rabbit" message in there...so users didn't try to use the app to backup to FIXED ALWAYS READY destinations.

Anyhow, mod the source if needed. Any ideas for enhancements or bugs can be sent to me.

If you like it, try to donate $5 to the cause (use the "Donatations" link on the Copy2MSC page) :whistle:

Enjoy!

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Link to comment
Share on other sites

I changed the folder name to /distros as it made more sense...link on page has been updated.

Give it a try now.

I'm sorry, still no go. I'm talking about the link on this page: http://www.shrum.net/cats.php?dir=/code/copy2msc

in the section: Introduction.

Latest distributions as well as complete list of changes, additions, fixes, etc. that were implemented in each release can be found in Copy2MSC's file area. Source written in AutoIT. Current binary compiled with AutoIT 3.1.1.64 beta (or greater). Click here to get my list of (and links to) AutoIT tools.

BTW: Your Sourceforge page seems to be down too.

URL: http://sourceforge.net/projects/copy2msc/

Error: Invalid Project

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Nice one Sean! I could try adapting this to automatically rename/move the photos off my camera when connected.

<{POST_SNAPBACK}>

Take a look at my rename script (PHP though) but you could definitaly batch that process as well:

http://www.shrum.net/cats.php?dir=/code/rename

Also take a look at my pix2web process for automation ideas along this vein:

http://www.shrum.net/cats.php?dir=/moblog&..../pix2web.shtml

Enjoy!

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Link to comment
Share on other sites

Refresh your cache...that page has been updated earlier today.

Distros are here:

http://www.shrum.net/cats.php?dir=/code/copy2msc/distros

I prematurely input the Sourceforge links as it is "pending approval" (it always gets approved) :whistle:

As soon as SF gives me the green light I'll set up those areas.

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Link to comment
Share on other sites

That's odd...what kind of drive is it?

AutoIT reporting your USB drive as "Fixed" is either an issue with Windows reporting the drive or a bug in AutoIT (I'm leaning toward issues with Windows).

AS long as the drive letter reports back a "NOT READY" state at some point  is really all that matters.  Fixed drives (not in your situation) typically are ALWAYS READY and therefore the code would run once and not run again until the system was rebooted.  This is why I specifically put the "Silly rabbit" message in there...so users didn't try to use the app to backup to FIXED ALWAYS READY destinations.

Anyhow, mod the source if needed.  Any ideas for enhancements or bugs can be sent to me.

If you like it, try to donate $5 to the cause (use the "Donatations" link on the Copy2MSC page)  :whistle:

Enjoy!

<{POST_SNAPBACK}>

My USB hard disk is Maxtor Model NO. USB2120NEP001

Im planning to modify the code for my own used, but Im surprise that you did not get the $5 already :dance:

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
Link to comment
Share on other sites

Just a FYI to all those interested.

I'm updating this project to handle pseudo-scheduling...

Basically, you will be able to define intervals between backups; daily, weekly, monthly. I say pseudo because Copy2MSC will launch a backup after X days AND the next time you plug your device in.

Example:

Let's say it's 29 days since your monthly backup and you plug in...the monthly backup does not happen. Now you wait another 50 days and plug in, the monthly backup runs. The next backup will occur AFTER 30 days...not ON the 30th day if the MSC device isnot plugged in (can't backup to what's not there, right)

I'm doing this because I have a lot of data on one of my sources and backing it up every time I plug my MSC drive in is just a drain on my time (since I have to wait for it to finish).

Should have a new version posted shortly. :whistle:

ADDENDUM: v.2 is posted : http://www.shrum.net/code/copy2msc

Edited by sshrum

Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...