Author |
Message |
paulkc
Joined: 16 Apr 2008 Posts: 10
|
Posted: Thu Mar 05, 2009 12:13 pm Post subject: Dated Backups |
|
|
Is there a way to do a dated backup. For example, lets say I have a profile that I want to run weekly. On week 1, I want it to backup to the subfolder 'Week 1.' On week 2 it would backup to subfolder 'Week 2.' Is this possible? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Thu Mar 05, 2009 2:00 pm Post subject: |
|
|
Absolutely, using folder variables.
You may enter variable macros as part of folder names for Source, Target, Log File and Archive folders. ViceVersa will expand these variables to the appropriate values when running the profile.
Variable names must be enclosed between < > (for example: <var>).
Examples:
c:\<year>\<user>\ is expanded to c:\2002\sretors\ if the year is 2002 and the user "sretors" .
h:\<computer>-<profile>.log is expanded to h:\w98sretors-backup.log if the Network computer name is "w98sretors" and the project loaded is "backup.fsf".
A rotating daily backup of the folder 'c:\data' to the 'z:\' drive can be achieved by using as source 'c:\data' and as Target 'z:\backup_<dayofweek>'. Each Monday the Target folder used will be 'z:\backup_2', each Tuesady 'z:\backup_3', etc.
More detailed info in the VV help file.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Guest
|
Posted: Thu Mar 05, 2009 3:16 pm Post subject: |
|
|
Thanks, that is just what I needed.
Is there a way to make VV create the folder if it is not already there? I want to do something like this that creates a backup every week for the whole year but if I try to run it without all the weekly folders, it will just tell me that the folder does not exist. Is there a way to get VV to create the folders? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8763
|
Posted: Fri Mar 06, 2009 3:35 am Post subject: |
|
|
Hello
Yes , the option is in profile settings -> folders: Create sources/targets folders if they do not exist. the option instructs ViceVersa to create source and target root folders that do not exist.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
|