Hi everyone

I have XP Pro SP2 and would like to schedule an automatic backup of the "My
Documents" folder to a USB memory stick (in effect, it's my G: drive when I
check via Windows Explorer). I have a memory stick inserted throughout the
day. When the copy of the whole folder occurs, I'd like to have it named as
<Day, date at time> (taken from the computer's current time settings) such
as "Wednesday, 5 October 2005 at 0927". I've searched for scripts to do
such a copy but, as my knowledge of scripts is negligible, I need guidance.
I'd envisage running the script via Scheduler but can this all be done? Is
it a good idea? Can someone give me a nudge to start this project?

Thanks for your time and patience.

Re: Daily backup by rwh

rwh
Wed Oct 05 09:52:57 CDT 2005

I tried this in a batch file:
If you do:
C:
CD\
MD "%date%"

it makes a folder structure of c:\Wed 10\05\2005
The 05 is a child directories of "Wed 10" and the 2005 directory is a
child of "05".


Re: Daily backup by Tosca

Tosca
Wed Oct 05 12:54:26 CDT 2005

Thank you. It's a start but not quite what I need. The backslashes rather
confuse things!

<rwh@rodharrison.com> wrote in message
news:1128523977.813737.209130@g14g2000cwa.googlegroups.com...
>I tried this in a batch file:
> If you do:
> C:
> CD\
> MD "%date%"
>
> it makes a folder structure of c:\Wed 10\05\2005
> The 05 is a child directories of "Wed 10" and the 2005 directory is a
> child of "05".
>



Re: Daily backup by Lee

Lee
Wed Oct 05 13:31:53 CDT 2005

You should be able to take "parts" of the current date & time and
build your string that will represent the folder name. Once you get
that part, I'd suggest taking a look at "shell.application copyhere",
it a very simple way to copy the contents of one folder to another.

I'm am doing something exactly like what you want (backing up to a
flash drive); however, any code I could provide you would be in
ooRexx.


Lee

On Wed, 5 Oct 2005 18:54:26 +0100, "Tosca" <no-spam@thank-you.com>
wrote:

>Thank you. It's a start but not quite what I need. The backslashes rather
>confuse things!
>
><rwh@rodharrison.com> wrote in message
>news:1128523977.813737.209130@g14g2000cwa.googlegroups.com...
>>I tried this in a batch file:
>> If you do:
>> C:
>> CD\
>> MD "%date%"
>>
>> it makes a folder structure of c:\Wed 10\05\2005
>> The 05 is a child directories of "Wed 10" and the 2005 directory is a
>> child of "05".
>>
>


Re: Daily backup by Tosca

Tosca
Wed Oct 05 13:37:29 CDT 2005

Thank you Lee. I'll look at "shell.application copyhere". I've never heard
of "ooRexx"!

"Lee Peedin" <lpeedinREMOVE@UPPERCASEnc.rr.com> wrote in message
news:bs68k154u2nchk4ivdtdjfdt2vraaimobg@4ax.com...
> You should be able to take "parts" of the current date & time and
> build your string that will represent the folder name. Once you get
> that part, I'd suggest taking a look at "shell.application copyhere",
> it a very simple way to copy the contents of one folder to another.
>
> I'm am doing something exactly like what you want (backing up to a
> flash drive); however, any code I could provide you would be in
> ooRexx.
>
>
> Lee



Re: Daily backup by Lee

Lee
Wed Oct 05 13:43:12 CDT 2005

ooRexx is the open source version of Object Rexx (Rexx has been around
for nearly 25 years).

I'll produce some code and post it here.

Lee


On Wed, 5 Oct 2005 19:37:29 +0100, "Tosca" <no-spam@thank-you.com>
wrote:

>Thank you Lee. I'll look at "shell.application copyhere". I've never heard
>of "ooRexx"!
>
>"Lee Peedin" <lpeedinREMOVE@UPPERCASEnc.rr.com> wrote in message
>news:bs68k154u2nchk4ivdtdjfdt2vraaimobg@4ax.com...
>> You should be able to take "parts" of the current date & time and
>> build your string that will represent the folder name. Once you get
>> that part, I'd suggest taking a look at "shell.application copyhere",
>> it a very simple way to copy the contents of one folder to another.
>>
>> I'm am doing something exactly like what you want (backing up to a
>> flash drive); however, any code I could provide you would be in
>> ooRexx.
>>
>>
>> Lee
>


Re: Daily backup by Tosca

Tosca
Wed Oct 05 14:53:58 CDT 2005

Cool!

"Lee Peedin" <lpeedinREMOVE@UPPERCASEnc.rr.com> wrote in message
news:ik78k1t1a8ttnb6tel5u351rmiic6ufkrh@4ax.com...
> ooRexx is the open source version of Object Rexx (Rexx has been around
> for nearly 25 years).
>
> I'll produce some code and post it here.
>
> Lee
>
>
> On Wed, 5 Oct 2005 19:37:29 +0100, "Tosca" <no-spam@thank-you.com>
> wrote:
>
>>Thank you Lee. I'll look at "shell.application copyhere". I've never
>>heard
>>of "ooRexx"!
>>
>>"Lee Peedin" <lpeedinREMOVE@UPPERCASEnc.rr.com> wrote in message
>>news:bs68k154u2nchk4ivdtdjfdt2vraaimobg@4ax.com...
>>> You should be able to take "parts" of the current date & time and
>>> build your string that will represent the folder name. Once you get
>>> that part, I'd suggest taking a look at "shell.application copyhere",
>>> it a very simple way to copy the contents of one folder to another.
>>>
>>> I'm am doing something exactly like what you want (backing up to a
>>> flash drive); however, any code I could provide you would be in
>>> ooRexx.
>>>
>>>
>>> Lee
>>
>



Re: Daily backup by Tim

Tim
Mon Oct 10 05:33:06 CDT 2005

Hi

I have a couple of vbscripts that backup folders/files
You supply it with a config file of MasterFolder locations and thier
corresponding backuplocation. It compares the file/folder sizes and
modified dates to decide whether or not a file is out of sync with the
master folder and updates files/folders as necessary. It writes a
message to the event log upon success (or failure).

Send me an email at timjordanvbs@hotmail.com if you want me to mail you
a copy.

Regards,

Tim