My Time Machine Notes
Migration from External HDD to Samba
-
Create Samba share using a combination of the following references:
-
Reviewed the following references for ideas on how to migrate Time Machine backups from external HDD to Time Capsule:
## | |
## Cloudflare (cloudflare.com) | |
## | |
daemon=1800 | |
use=web, web=ipinfo.io/ip, web-skip='IP Address' | |
ssl=yes | |
protocol=cloudflare, \ | |
server=www.cloudflare.com, \ | |
login=*cloudflare-email* \ | |
password=*cloudflare-global-api-key* \ |
daemon=1800 # check every 300 seconds | |
syslog=yes # log update msgs to syslog | |
mail=root # mail all msgs to root | |
mail-failure=root # mail failed update msgs to root | |
pid=/var/run/ddclient.pid # record PID in file. | |
ssl=yes # use ssl-support. Works with | |
# ssl-library | |
use=web, web=checkip.dyndns.com/, web-skip='IP Address' | |
cache=/tmp/ddclient.cache |
daemon=1800 # check every 300 seconds | |
syslog=yes # log update msgs to syslog | |
mail=root # mail all msgs to root | |
mail-failure=root # mail failed update msgs to root | |
pid=/var/run/ddclient.pid # record PID in file. | |
ssl=yes # use ssl-support. Works with | |
# ssl-library | |
use=web, web=checkip.dyndns.com/, web-skip='IP Address' | |
cache=/tmp/ddclient.cache |
apt-get clean autoclean | |
apt-get autoremove --yes | |
rm -rf /var/lib/{apt,dpkg,cache,log}/ |
Create Samba share using a combination of the following references:
Reviewed the following references for ideas on how to migrate Time Machine backups from external HDD to Time Capsule:
wget $( wget -qO - https://github.com/raspberrypi/firmware/tree/master/boot | perl -nE 'chomp; next unless /[.](elf|dat)/; s/.*href="([^"]+)".*/$1/; s/blob/raw/; say qq{https://github.com$_}' ) |
# Build environment. I use vagrant ubuntu/trusty64 | |
sudo apt-get install build-essential git-core | |
sudo git clone https://github.com/raspberrypi/tools.git /opt/tools | |
export CCPREFIX="/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-" | |
# Get ffmpeg and x264 repos | |
git clone git://source.ffmpeg.org/ffmpeg.git |
#!/usr/bin/env python | |
# modified from http://elinux.org/RPi_Email_IP_On_Boot_Debian | |
import subprocess | |
import smtplib | |
import socket | |
from email.mime.text import MIMEText | |
import datetime | |
import urllib2 | |
# Change to your own account information | |
to = 'user@gmail.com' |
<div class="container"> | |
<div class="text"></div> | |
</div> |