Create a virtual file structure using mklink of folders of years?

Author Message
hal07

  • Total Posts : 19
  • Scores: 0
  • Reward points : 0
  • Joined: 5/1/2011
  • Location: Bergen, Norway
  • Status: offline
Create a virtual file structure using mklink of folders of years? Monday, January 30, 2012 4:19 AM (permalink)
0
We have a very large archive server with one folder per project.
E.g.
f:\archive\projects:
101456 (dir with files from 2006)
104156 (dir with files from 2010)
435923 (dir with files from 2011)
 
So I would like to create a virtual file-structure e.g.
f:\virtualarchive\2006\101456
f:\virtualarchive\2010\104156
etc
 
My hope is that our backup server can then back up only the newest dirs often, and then read the older ones yearly or similar.
 
If anybody know of a script that is similar or any urls that can be helping that would be awesome
 
#1
    59cobalt

    • Total Posts : 969
    • Scores: 91
    • Reward points : 0
    • Joined: 7/17/2011
    • Status: offline
    Re:Create a virtual file structure using mklink of folders of years? Monday, January 30, 2012 5:51 AM (permalink)
    0
    Please describe the problem you're trying to solve instead of what you perceive as the solution.
     
    #2
      hal07

      • Total Posts : 19
      • Scores: 0
      • Reward points : 0
      • Joined: 5/1/2011
      • Location: Bergen, Norway
      • Status: offline
      Re:Create a virtual file structure using mklink of folders of years? Monday, January 30, 2012 8:23 PM (permalink)
      0
      uh didnt i do that? i have a list of folders that i want to sort in a virtual yearly dir-structure using mklink
       
      #3
        59cobalt

        • Total Posts : 969
        • Scores: 91
        • Reward points : 0
        • Joined: 7/17/2011
        • Status: offline
        Re:Create a virtual file structure using mklink of folders of years? Monday, January 30, 2012 9:54 PM (permalink)
        0
        That is your perceived solution. The actual question is: WHY do you want to do that? As in: what is the actual problem (you mentioned something about a backup server) you want to solve by doing that?
         
        #4
          hal07

          • Total Posts : 19
          • Scores: 0
          • Reward points : 0
          • Joined: 5/1/2011
          • Location: Bergen, Norway
          • Status: offline
          Re:Create a virtual file structure using mklink of folders of years? Monday, January 30, 2012 10:05 PM (permalink)
          0
          yes. i want to do it because i need to split the folders in yearly folder so I can define them in my backup program.
           
          #5
            dm_4ever

            • Total Posts : 3687
            • Scores: 82
            • Reward points : 0
            • Joined: 6/29/2006
            • Location: Orange County, California
            • Status: offline
            Re:Create a virtual file structure using mklink of folders of years? Tuesday, January 31, 2012 3:17 AM (permalink)
            0
            If you have enough available drive letters you can assign one for each year.
             
            command line:
            subst g: f:\archive\projects\101456
            subst h: f:\archive\projects\104156
            ...etc
             
            G: would contain your 2006 data
            H: would contain your 2010 data
            etc.
             
            I do wonder why you need to create a virtual directory when you already know what directories contain the newest data. From your example why not just tell your backup software to backup 435923 more often than 101456 under f:\archive\projects without having to create virtual directories?
            dm_4ever

            My philosophy: K.I.S.S - Keep It Simple Stupid
            Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
            Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
             
            #6
              59cobalt

              • Total Posts : 969
              • Scores: 91
              • Reward points : 0
              • Joined: 7/17/2011
              • Status: offline
              Re:Create a virtual file structure using mklink of folders of years? Tuesday, January 31, 2012 5:53 AM (permalink)
              0
              Why are you unable to define a folder "F:\archive\projects\101456" in your backup software when you have no problems defining a folder "F:\virtualarchive\2006\101456"?

              When it comes to backup I always recommend to take two steps back and think about the restore scenarios. What data you need to restore? Under which circumstances? And in which timeframe? The answer to these questions will normally suggest an appropriate backup strategy. Re-structuring your data to match your backup solution is likely to give you lots of grief when you need to actually restore something.

              Also, are we talking about a backup or an archive? One is fundamentally different from the other.
               
              #7

                Online Bookmarks Sharing: Share/Bookmark

                Jump to:

                Current active users

                There are 0 members and 1 guests.

                Icon Legend and Permission

                • New Messages
                • No New Messages
                • Hot Topic w/ New Messages
                • Hot Topic w/o New Messages
                • Locked w/ New Messages
                • Locked w/o New Messages
                • Read Message
                • Post New Thread
                • Reply to message
                • Post New Poll
                • Submit Vote
                • Post reward post
                • Delete my own posts
                • Delete my own threads
                • Rate post

                2000-2012 ASPPlayground.NET Forum Version 3.9