rustymyers / backuprestore Goto Github PK
View Code? Open in Web Editor NEWBackupRestore scripts for user accounts when using DeployStudio
Home Page: http://rustyisageek.blogspot.com/p/backuprestore-scripts.html
BackupRestore scripts for user accounts when using DeployStudio
Home Page: http://rustyisageek.blogspot.com/p/backuprestore-scripts.html
Hi Rusty,
Just curious if you've ever looked into making these scripts function in Jamf via self service, etc. Would be super handy for migrating users to new machines. But also not sure how well they'll work on modern macOS versions.
Thanks!
I've tested this on Sierra by running the script from a terminal while booted into my DS Netboot image.
It appears they've removed system_profiler from the latest Netboot image.
Here's the output:
./BackupData.sh: line 77: system_profiler: command not found
Found 1 disks
Disks: /Volumes/Macintosh HD
Checking /Volumes/Macintosh HD for /Users path...
/Volumes/Macintosh HD does not have /Users. Not a backup source.
Found 0 disks with /Users on it.
Disks:
We found less than one disk. Better check your drives
./BackupData.sh: line 188: RUNTIME_ABORT: command not found
## Backup Arguments
# Unique ID:
# Remove User Cache: 0
# Excluded users: shared guest deleted users
# Target Volume:
# User Path on target: /Users
# DS Repo: /tmp/DSNetworkRepository
# Backup Path: /tmp/DSNetworkRepository/Backups/
# Backup tool: tar
# dscl path: /usr/bin/dscl
# Internal Directory: /var/db/dslocal/nodes/Default
# New Archive:
educ_backup_data.sh - v0.7.5 (Lion) beta (Wed 17 Jan 2018 23:06:46 UTC)
Scanning Users folder...
<>Excluding *
educ_backup_data.sh - end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.