Schedule Disk to Disk each night

Disk backup and restore, partition imaging and cloning, and drive copy using R-Drive Image.
Forum rules
Discussion on the R-Drive Image software
mrpip

Schedule Disk to Disk each night

Post by mrpip » Sat Jul 17, 2010 2:05 pm

Is there a way to script or schedule a full disk to disk copy every night?
The only option ive found is to create an image file of the drive every night, not a disk to disk copy.
Thanks for any help.

Alt
Site Moderator
Posts: 3129
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Schedule Disk to Disk each night

Post by Alt » Sat Jul 17, 2010 3:10 pm

You may create a script and have R-Drive Image run it in a batch file using the standard Windows scheduler.
See more at R-Drive Image on-line help at R-Drive Image on-line help -> Scheduled Actions, Command Line Operations, and Scripting -> Scripting and Command Line Operations -> Create a Script from R-Drive Image.

mrpip

Re: Schedule Disk to Disk each night

Post by mrpip » Sun Jul 18, 2010 11:51 pm

I tried this command:

Command: copy -s="1" -d="2" -hdd-mode="2"

and under the scheduled task it says its running but i have no hard drive activity and it doesnt seem to be doing anything.

First i made the scheduled task to create an image, later i just modified the command to do the above instead of creating the image, which should be disk to disk.
Am i doing something wrong? What command exactly am i suppose to use to make a disk to disk copy and how to i get it to run every night.
I read through the link you sent me and im not sure im doing it correctly.

Thanks for the help.

Alt
Site Moderator
Posts: 3129
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Schedule Disk to Disk each night

Post by Alt » Mon Jul 19, 2010 6:28 am

Is the drive 1 system? I mean is the system disk on the drive 1?

mrpip

Re: Schedule Disk to Disk each night

Post by mrpip » Mon Jul 19, 2010 6:36 am

Yes, drive 1 is the system drive, drive 2 is the external backup drive.

Alt
Site Moderator
Posts: 3129
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Schedule Disk to Disk each night

Post by Alt » Tue Jul 20, 2010 11:14 am

I tested the script. It's OK. The problem though is the following:
When both the system and destination disks are connected to internal IDE controller, everything works fine. The copy is successful, and I was able to start my computer with the destination disk, although these disks are not the same.
The situation is quite different when the destination disk is connected as an external USB drive. In this case, Windows fires a warning that the copy is failed due to disk lock and prompts me to Abort/Retry. When I select Retry, R-Drive Image copies the disks successfully, and I can start the computer from the destination disk.
So, I recommend you to run the script manually and see what is going on.

mrpip

Re: Schedule Disk to Disk each night

Post by mrpip » Tue Jul 20, 2010 2:32 pm

Can you tell me how to run the script manually?

Alt
Site Moderator
Posts: 3129
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Schedule Disk to Disk each night

Post by Alt » Wed Jul 21, 2010 6:36 am

Type
r-driveimagecl copy -s="1" -d="2" -hdd-mode="2"
in the Command prompt (Start -> Programs -> Accessories -> Command prompt).

Alt
Site Moderator
Posts: 3129
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Schedule Disk to Disk each night

Post by Alt » Thu Jul 22, 2010 8:31 am

This new version overcomes this problem.

Post Reply