Wilders Security Forums  

Go Back   Wilders Security Forums > Archived Forums > Closed Sub-Forums > Archive of Acronis Support Forums > Acronis True Image Product Line
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Acronis Forum Sections Closed!
As of August 15, 2009: Please be aware that the Acronis Forum sections have closed. No new threads or replies may be made in these sections. See this announcement for more information.
 
 
Thread Tools Search this Thread
  #1  
Old June 13th, 2005, 11:17 AM
Ron57 Ron57 is offline
Infrequent Poster
 
Join Date: Nov 2004
Posts: 11
Default Automating Acronis Backups using Windows Script files.

I know nothing about Windows Script files, but this is what I want to do.

1. Use the Acronis Scheduled Tasks to make an incremental backup weekly with the default name Mybackup.tib. Acronis will name the first file Mybackup1.tib. The next file will be named Mybackup2.tib, etc.

2. Once a month, on the first day of the month, rename the backup files to reflect the month. For example, on June 1, rename the following files:
Mybackup1.tib to Bkup-2005-05-1.tib
Mybackup2.tib to Bkup-2005-05-2.tib
Mybackup3.tib to Bkup-2005-05-3.tib
Mybackup4.tib to Bkup-2005-05-4.tib, etc.

3. If I could do this I would not have to change the Acronis Scheduled Tasks every month in order to make a full backup with limited number of incremental backups.

Does anyone have such a script written?

Ron Spruell
  #2  
Old June 13th, 2005, 02:54 PM
MiniMax's Avatar
MiniMax MiniMax is offline
Frequent Poster
 
Join Date: Mar 2005
Posts: 566
Default Re: Automating Acronis Backups using Windows Script files.

Code:
@ echo off for %%N in (1 2 3 4 5 6 7 8 9) do ( if exist Mybackup%%N.tib ren Mybackup%%N.tib Bkup-%DATE:~3,7%-%%N.tib )
__________________
True Image FAQ

Shuttle SN41G2 | Maxtor DiamondMax+9@PATA | Maxtor OneTouch II@IEEE-1394 | NEC 3520A DVD-writer@PATA

Win XP Home (SP1)/UDP 2.45/ITB IDE | Roxio Easy CD Creator 5.3.5.10v Basic | True Image 6.0 (#350) | Partition Expert 2003 (#292) | Recovery Expert (#132)
  #3  
Old June 14th, 2005, 11:39 AM
Ron57 Ron57 is offline
Infrequent Poster
 
Join Date: Nov 2004
Posts: 11
Smile Re: Automating Acronis Backups using Windows Script files.

MiniMax -

It took me a while to determine that this was not a .vbs file, but instead a .bat file.

After I determined that, I could not get the date part of the command to work. The error I get is "The syntax of the command is incorrect".

Your date format must not be mm/dd/yyyy. I got the following to work.
-----------------------------
Acronis Backup file Rename.bat
@ echo off

for %%N in (1 2 3 4 5 6 7 8 9) do (if exist Mybackup%%N.tib Ren Mybackup%%N.tib Bkup-%DATE:~10,4%-%Date:~4,2%-%%N.tib)
------------------------------
Now to get Microsoft Task Scheduler to run this file once a month.

Ron Spruell
  #4  
Old June 14th, 2005, 11:54 AM
TonioRoffo TonioRoffo is offline
Frequent Poster
 
Join Date: Apr 2005
Posts: 237
Default Re: Automating Acronis Backups using Windows Script files.

I've got a similar thing going, called TiRoll. It *doesn't* rename anything, that was something I need for my purposes.

It uses NTFS reparse points to point Acronis to another backup directory each month. You can specify how many months must be kept, at the start of the new month, the oldest directory gets cleared.

Something like that you are looking for?
  #5  
Old June 14th, 2005, 02:50 PM
MiniMax's Avatar
MiniMax MiniMax is offline
Frequent Poster
 
Join Date: Mar 2005
Posts: 566
Default Re: Automating Acronis Backups using Windows Script files.

Quote:
Originally Posted by Ron57
MiniMax -

It took me a while to determine that this was not a .vbs file, but instead a .bat file.
I am OLD and stuck in the world of BAT/CMD-scripts and C-programs
Quote:
Originally Posted by Ron57
After I determined that, I could not get the date part of the command to work. The error I get is "The syntax of the command is incorrect".

Your date format must not be mm/dd/yyyy.
That's what you get from using such an illogical date format as mm/dd/yyyy. Learn Danish and you will be able to use a version of Windows where the date format is much more logical and suitable for automation and sorting: yyyy-mm-dd.

J/K
__________________
True Image FAQ

Shuttle SN41G2 | Maxtor DiamondMax+9@PATA | Maxtor OneTouch II@IEEE-1394 | NEC 3520A DVD-writer@PATA

Win XP Home (SP1)/UDP 2.45/ITB IDE | Roxio Easy CD Creator 5.3.5.10v Basic | True Image 6.0 (#350) | Partition Expert 2003 (#292) | Recovery Expert (#132)
  #6  
Old June 22nd, 2005, 11:40 AM
Maniac8888 Maniac8888 is offline
Infrequent Poster
 
Join Date: Jun 2005
Posts: 1
Default Re: Automating Acronis Backups using Windows Script files.

Here is a nice little utility that I have used for years to automate the changing of filenames. It is free and the source is available.

http://www.informatics-consulting.de...e/namedate.htm
  #7  
Old June 22nd, 2005, 12:04 PM
beenthereb4 beenthereb4 is offline
Frequent Poster
 
Join Date: Jun 2004
Posts: 568
Default Re: Automating Acronis Backups using Windows Script files.

Quote:
Originally Posted by Maniac8888
Here is a nice little utility that I have used for years to automate the changing of filenames. It is free and the source is available.

http://www.informatics-consulting.de...e/namedate.htm

Nice!
 

Wilders Security Forums > Archived Forums > Closed Sub-Forums > Archive of Acronis Support Forums > Acronis True Image Product Line « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:09 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums