Skip to content

Collection of useful scripts to run on a Western Digital My Cloud NAS storage device.

License

Notifications You must be signed in to change notification settings

sortelli/my_cloud_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my_cloud_scripts

This repo is a collection of scripts that run on a Western Digital My Cloud NAS storage device.

I am currently running these against Firmware version v04.01.02-417.

Scripts

backup_timemachine.sh

I primarily use my WD My Cloud for Timemachine backups of my Macs. Since Timemachine over WiFi can occasionally result in corrupted backups, I wanted to have a few weekly snapshots of the Timemachine backups. If the live backups get corrupted, I could replace them with one of the recent snapshots.

I'm keeping the snapshots on an external USB disk plugged into the NAS, which also protects against disk failure on the NAS device. The backup_timemachine.sh script will send an email through the My Cloud alert infrastructure if the backup disk is not found.

Usage

Optionally mount a USB disk to the NAS (using the built-in My Cloud USB disk automount, or manually into a specific location) and setup a weekly cronjob to call backup_timemachine.sh.

Example:

0 4 * * 0 /root/my_cloud_scripts/backup_timemachine.sh /nfs/TimeMachineBackup /path/to/my/backup/directory

License

Copyright (c) 2015 Joe Sortelli

MIT License

About

Collection of useful scripts to run on a Western Digital My Cloud NAS storage device.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages