Auto-generating a DATE folder for image. (VERSIONING?!)
I searched a lot and I couldn’t find a solution .
Standard scenario:
Image of c:\ ---> is created on d:\image.tibb
THE problem.
I want every image to be created in a different DATE folder that is generated by acronis.
Like this:
Image of c:\ ---> is created on d:\02.04.2010\image.tibb
Next day it will be created in :
Image of c:\ ---> is created on d:\03.04.2010\image.tibb
Next day it will be created in :
Image of c:\ ---> is created on d:\04.04.2010\image.tibb
etc ...
Anyone?
Thanks!!!
K

- Se connecter pour poster des commentaires

Thanks for your explenation.
Maybe I am doing something wrong, but it wont create folders on network drive.
Admin
Exact path:
image from c:\ --->>> to \\backup-nas2\Image
The job is sheduled task.
No user interference available.
Thank you.
- Se connecter pour poster des commentaires

Is your NAS set up as a mapped drive letter or using UNC?
Acronis products tend to prefer UNC entries.
OracleDBA will know more than I, but I wonder if you need a 'setlocal' command to access the NAS
- Se connecter pour poster des commentaires

yup the CD command does not support UNC paths you'll have to change the script to use pushd instead...
set folder_name=ATI_20%date:~6,2%_%date:~0,2%_%date:~3,2%_%time:~0,2%_%time:~3,2%_%time:~6,2%
echo %folder_name%
pushd "\\server\folder1\folder2\folder3\"
mkdir %folder_name%
subst m: /d
subst m: "\\server\folder1\folder2\folder3\%folder_name%"
- Se connecter pour poster des commentaires