Where is my mistake ?????

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

Where is my mistake ?????

Postby otto_cuiseur » Wed Feb 04, 2009 6:29 am

My script is :

[ REM R-DriveImage script file ]
set creat_date = "&sys.date.yyyy;-&sys.date.m.nm;-&sys.date.y;"
create /a /o -s="1" -a="G:\Image &creat_date;.arc" -c=0 -u -bs -bs-num-f="3"


As result, the file name is Image 2009-Feb-09_20090204_122002_1.arc


How to obtain as file name : Image 2009-Feb-09.arc ? without :twisted: :twisted: :twisted: _20090204_122002_1


Thanks
otto_cuiseur
 
Posts: 5
Joined: Wed Feb 04, 2009 6:14 am

Re: Where is my mistake ?????

Postby otto_cuiseur » Thu Feb 05, 2009 6:36 am

A good script ?

[ REM R-DriveImage script file ]
set creat_date = "&sys.date.yyyy;-&sys.date.m.nm;-&sys.date.d;"
create /a /o -s="1" -a="G:\Image &creat_date;.arc" -c=0 -u

[ without backup set]
; -bs -bs-num-f="3"
otto_cuiseur
 
Posts: 5
Joined: Wed Feb 04, 2009 6:14 am

Re: Where is my mistake ?????

Postby Alt » Thu Feb 05, 2009 10:05 am

How to obtain as file name : Image 2009-Feb-09.arc ? without _20090204_122002_1

Remove -bs -bs-num-f="3" from your script. As soon as you turn on backup sets, the date_time_Number will be automatically added to the file name.
A good script ?

I tested it (changing the partition and path to the image file) and it appears so.
Alt
Site Moderator
 
Posts: 2222
Joined: Tue Nov 11, 2008 2:13 pm

Re: Where is my mistake ?????

Postby otto_cuiseur » Thu Feb 05, 2009 11:08 am

Ok -

Thanks Alt
otto_cuiseur
 
Posts: 5
Joined: Wed Feb 04, 2009 6:14 am


Return to Data Backup and Restore

Who is online

Users browsing this forum: No registered users and 1 guest

cron