Giter VIP home page Giter VIP logo

s017backup's Introduction

s017Backup

Unofficial Staples Canada Store #17 Windows Backup and Migration script

This repository has been archived on GitHub and moved to GitLab. Please see the project on GitLab.com: https://gitlab.com/ABotelho23/s017Backup

This is an unofficial backup script designed from scratch for use in the Staples store #17. It creates a backup of User folders from Windows Vista right up to Windows 10, in a standard format. It also logs the backup (and any migrations) to ensure they have completed successfully. It primarily uses robocopy to perform the backup, with particular exclusions and parameters to ensure the optimal performance of the script.

I started this because of a lack of proper tools to perform this task that are available at the workplace. Copy and pasting via File Explorer was both slow, needed constant intervention, and usually doesn't succeed 100%. Robocopy has the ability to handle errors gracefully, as well as supply us with a log of the transfers that can be given to customers.

I've made this script available on GitHub.com as it may be of good use to other techs, as well as to hopefully increase collaboration on best practices for a script like this.

Available options:

1. Backup Data - Used for standard User folders backup when unit can boot.

-This option is the primary option for this script. A folder called "StaplesBackup" is created in the root directory of the selected drive, which contains the backup as well as the log file of the machine on which it is run.

2. Migrate Data - Used to migrate a User folders backup created by this script back unto the newly setup unit's User folders.

-This option is the secondary option for this script. It seeks a "StaplesBackup" folder on the selected drive, and migrates the backup directly to the User folders of the machine on which it is run. Thus, if the old user folder and new user folder are not named the same, data may not be moved to the correct folder.

3. Migrate Directly from an Old PC's HDD - Used for when the old PC does not boot, and its HDD is docked to the new PC.

-This option is a hybrid of Backup and Migration. It is for scenarios where an old PC's HDD it connected to a new PC being setup, and allows the bypassing of a backup. Similar to the Migration option, if the old user folder and new user folder are not named the same, data may not be moved to the correct folder.

4. Clone folders - Simply clones the contents of two folders. Do NOT use to migrate User folders; this option does not have exclusions for files not meant to be migrated.

-This option is intended to clone two folders, regardless of where they may be. Its intended purpose is to move data which is not present in the User folders.

5. Backup Data (CUSTOM) - Used for backing up a PC's User folders when the PC doesn't boot. An external HDD is also required for this option.

-This option is the least likely. To be used when the HDD that is being backed up is not in a bootable state. Its intended purpose is to backup a PC's HDD using a second PC to perform the work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.