mirror script - does this work?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TeX
    New User
    • Jul 2015
    • 1

    mirror script - does this work?

    Hi,
    I use bc for backup.
    I like to do simple mirror scipts, that make exact backups left->right by syncing.

    Does this example work def. correct? Are all lines needed?

    Tks
    TeX

    Example script:

    # Turn logging on
    log normal "R:\BClog.txt"
    #over-writing read-only files or deleting etc.
    option confirm:yes-to-all
    # Set comparison criteria
    criteria timestamp size
    load "E:" "Z:\backup\Bilder"
    expand all
    select left.newer.files left.orphan.files
    sync create-empty mirror:left->right
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    Hello,

    The script looks solid, although you do not need the expand all and select all lines. For any script action, I recommend testing with already backed up data since script does not preview before taking action, and we do not support an Undo.
    Aaron P Scooter Software

    Comment

    Working...