vortiillinois.blogg.se

Diskwarrior 5 null
Diskwarrior 5 null








  1. #Diskwarrior 5 null how to#
  2. #Diskwarrior 5 null password#
  3. #Diskwarrior 5 null free#
  4. #Diskwarrior 5 null mac#

It's like being able to set up a load of open source CloudDrives but using your local network too. My third copy, on top of time machine, is syncthing “continuous file synchronization”, which is great. Adjust the timing to the size & speed of your backup. It tries to mount the TM machine and kick off a backup at 5 minutes past 10am,2pm,6pm,10pm and then tries to dismount the backup disk 15 minutes later and again another 15 minutes later. Possibly this is overkill if you are squeezed for disk space. This schedule does 3 or 4 backups per working day on top of the local snapshots that time machine does anyway.

diskwarrior 5 null

"Didn't find $tmDiskImageName at $smbMaybeMountedAtPath1 or $smbMaybeMountedAtPath2 or $(smbMaybeMountedAtMore)"Īnd the crontab lines: 5 10-23/4 * * * /Users/chris/Applications/tmbackupnow.sh > /Users/chris/Applications/Logs/tmbackupnow.log 2>&1Ģ0,35 10-23/4 * * * /Users/chris/Applications/tmbackupnow.sh -unmount > /Users/chris/Applications/Logs/tmbackupnow.log 2>&1 || hdiutil attach $(smbMaybeMountedAtMore)/$tmDiskImageName \ || hdiutil attach $smbMaybeMountedAtPath2/$tmDiskImageName \

diskwarrior 5 null

Hdiutil attach $smbMaybeMountedAtPath1/$tmDiskImageName \ Osascript -e 'mount volume "'$smbVolumeUrl'"' Exiting."Įcho "waiting in case it was a cold-ish start." If ] then wakeonlan $smbServerMacAddress fiįor tried in do ping -c 1 -t 5 $smbServer 2>&1 & break doneĮcho "failed to ping $smbServer. usr/sbin/diskutil unmount $tmVolumeMountedAtPathĮcho "not unmounting $tmVolumeMountedAtPath because tm status says still running." If ] thenĮcho "$tmVolumeMountedAtPath is already unmounted"Įlif ] then #cron jobs get a very truncated path and can't find ping, diskutil, hdiutil, tmutil.

diskwarrior 5 null

#Diskwarrior 5 null mac#

SmbServerMacAddress='00:00:00:00:00:00' # fill in server mac address to be able to wake it from $(find /Volumes -iname $tmDiskImageName -maxdepth 3 2>/dev/null | head -n 1) 2>/dev/null

#Diskwarrior 5 null password#

It uses osascript to mount the volume because that deals with saving the network password in your keychain. It uses wakeonlan to wake the server from sleep, and ping to confirm it's up before trying to mount. Here are my script and cron table for mounting a TM drive from the network, requesting a backup, and dismounting the TM drive. Help with cron scripts and multiple backups Cron Scripts NB as of 2021 DiskWarrior can't yet repair APFS volumes so stay with HFS+ volumes for your time machines. I had a growing stack of hard disks with a year's worth of backup each, all only mountable readonly.ĭiskWarrior has so far been reliable in restoring broken volumes back to fully working state. I typically got a “fsck can't repair it properly” incident about once a year. This is optional, and certainly less important than the first two points but, running Disk First Aid or fsck doesn't always work.

#Diskwarrior 5 null free#

The simplest free solution for your third copy, if 5GB is enough, is to use iDrive or OneDrive. If you combine this thought with the standard “don't put all your eggs in one physical location” motto of backup, you realise that you need a cloud or offsite backup as well as your time machine backup. That means you want at least 2 independent backup systems for anything on your own machine. Both Microsoft and Amazon clouds treat 'at least 3 copies' as the basic level for storing data. This is a lesson you can take from cloud computing.

diskwarrior 5 null

When it comes to data security, if you don't have 3 copies you aren't being serious. Before doing this, I rarely got through 3 months without some kind of “the network share got dismounted uncleanly and now it won't mount until I run Disk First Aid on it”. Dismounting the backup drive after each backup removes most of the reliability problem of network backup. Use cron scripts to just-in-time mount and dismount the time machine share

#Diskwarrior 5 null how to#

What you can't easily find is, how to do it reliably. You can find plenty of instructions on the interwebs for setting up time machine to a network share, even a Windows share.










Diskwarrior 5 null