Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Managing MicroStation backup directories
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • +Interface Look And Feel
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • -Workspaces - Configuration
        • All about saving DWG files
        • Auto-open a file to a specific model
        • Change the MicroStation Manager workspace options
        • Complete list of MicroStation V8's configuration variables
        • Compress your UPF file
        • Configuration variable operators
        • Configuration variable processing
        • Configure your compress options
        • Control the output location of MicroStation Packages
        • Convert MDF files to DGNLIB
        • Create new UPF every time you start MicroStation
        • Creating a configuration file
        • Current working directory
        • Customized Standards Checker Reports
        • Degeek MS DESIGN HISTORY REVISION NUMBER FORMAT
        • Deleting your UPF while retaining most settings
        • Digging into your workspace
        • Disable stuff MicroStation can or can't do
        • Do you really need to restart MicroStation when editing variables?
        • Edit Project variables via workspace configuration
        • Get rid of MicroStation Text Window
        • Have only one UPF regardless of the workspace you are using
        • How to figure out what the command line switches are
        • How to set WORKDIR DGNDIR after starting MicroStation
        • Learning about workspaces
        • List the configuration variables
        • Lock down your variables
        • Managing MicroStation backup directories
        • MicroStation J and V8 workspaces on the same computer
        • MicroStation J enhanced workspace functionality
        • MicroStation J Workspaces
        • Monitor your UPF file
        • Move your custom interface from one machine to another
        • MS_RFDIR limitations
        • Open V7 files without reconfiguring V8
        • Open Windows Explorer to location of workspace files
        • Preprocessor directives for processing configuration files
        • Quickly restore the defaults with a command line switch
        • Referencing other configuration variables
        • Regarding the last line in a configuration file
        • Report your variables with Expand Echo keyin
        • Return to the MicroStation Manager
        • Run Debug from a modified icon
        • Run debug from the command prompt DOS window
        • Set temporary variables with the Expand Set keyin
        • Set up a seed file for your UPF file
        • Setting the MS_OPENV7 variable
        • Sharing your workspace
        • Shawn Foster's BE 2005 presentations
        • Show all configuration variables not just some
        • Show full path of active file in title bar
        • Specify sub-folders when making a new project
        • Specify the folder for msdebug.txt
        • Temporary files
        • The types of configuration variables
        • The User Preference File [UPF]
        • Total length of file paths
        • Transcending the workspace and time continuum
        • Understanding configuration variables
        • Understanding MicroStation BASIC configuration variables
        • Use a library legend to help manage your library definitions
        • User interface hierarchy
        • Viewing and determining the configuration variables
        • What happens when you launch MicroStation?
        • What is a workspace?
        • Working with V7 files in V8
        • Workspace root
        • You're the CAD Manager, now what?
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    Managing MicroStation backup directories

    AskInga logo

    Original Article Date: Jan 28, 2005

    Another great article from Juan Auces of Parsons Brinckerhoff, this article explores the importance of backing up your MicroStation project data and offers a script to add to your configuration which may help simplify the backup process.

    All CADD projects should have backup directories designated for every user, it should be part of your CADD compliance efforts because there are several benefits:

    • It keeps backup files off the project directory.
    • Users will be more inclined to clean out dated files
    • Ability to determine who created the backup files
    • Aide in averting overwriting another user backup files



    Backup files normally have a short life cycle and should be deleted. The user that created the backup is the best judge of when or if a backup file can be deleted. If you let backups sit on the project directory they will tend to get forgotten and unmanaged. Using a backup system also helps avert two users overwriting each others backup file(s). For example if User_1 creates a backup of file1.dgn it gets stored as file1.bak in the project directory, then User_2 creates a backup of the same file, (s)he will overwrite the User_1 version.

    You can avert this by implementing a plan that will redirect the back up files to a predetermined directory based on the login (home) account, every account usually has one. If not-your IT Group can modify the login script and add a homedrive system variable. The user backup directory may also reside on the server; however, users will be more inclined to manage the files if they reside in a personal directory. Quarterly emails will help remind them to do so.

    Implement the system by adding a couple of variables to your MicroStation site configuration file that will: detect who is logged on, then will set the backup directory accordingly, and then when the backup command is invoked the system variable will save the files in the user home directory.

    Here is how easy it is to setup using a Windows NT compatible OS.

    #-Determine User Home/Personal Drive letter
    %if defined (HOMEDRIVE)
    _USTN_USERNAME : ${HOMEDRIVE}
    MS_BACKUP= ${HOMEDRIVE}/
    %else
    MS_BACKUP = c:/temp/
    %endif

    In special cases you may want to override this variable and save the backup to your present working directory. It can be done by typing the full path:

    “backup yourservername\\your present working directory\ file1.bak “.

    You can also use the cut and paste tools for long directory paths. As you can see managing backup files can be done effortlessly and should be part of your CADD compliance efforts. I hope that you found this article of interest and encourage you to implement it into your workflow.

    AskInga Article #229

    • Askinga
    • Article
    • WorkSpacesConfiguration
    • Share
    • History
    • More
    • Cancel
    • Danielle Schutz Created by Bentley Colleague Danielle Schutz
    • When: Thu, May 22 2008 11:18 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Tue, Jun 8 2010 2:49 PM
    • Revisions: 4
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies