Here’s the eighth chapter of the Dream World story…
rsync notes
This isn’t necessarily the best way to use rsync… but here is a fairly simple (uneducated) way of getting two-way communication going between a source and backup host.
Steps:
- Generate keys on source-host:
ssh-keygen -t rsa(orssh-keygen -t dsa) - Copy source-host public key to backup-host using
ssh-copy-id1:ssh-copy-id -i id_rsa.pub backup-user@backup-host - Generate keys on backup-host:
ssh-keygen -t rsa - Copy backup-host public key to source-host using
ssh-copy-id:ssh-copy-id -i id_rsa.pub source-user@source-host - Make sure
ssh-agentis installed and running on backup-host.2 - Use
ssh-addto add key tossh-agenton backup-host3. - Finally, run rsync on backup-host:
rsync -avz -e ssh source-user@source-host:/path/for/backup/source backup_to_here
Notes:
- From this article. (I ended up making these keys for the opposite servers… for example: creating public key on source server is actually meant to be put into backup server authorized_keys file… and creating public key on backup server is actually meant to be put into source server authorized_keys file.)
- From
ssh-agentarticle. (source) - If
ssh-adddoesn’t seem to work, try running this in the shell:eval `ssh-agent`. (source) - On Mac OS X, I seemed to have to run rsync in a new session before I got the pop-up dialog box asking if I’d like to remember this ssh passphrase in the Keychain Access utility.
See Also:
Dream World: Chapter 7
Here’s the seventh chapter of the Dream World story…
DW Recording: Day 43
Recorded vocals for two old songs (coming up on the third Dream World album,) today. The songs are At the Door and The Letter.
DW Recording: Day 42
Recorded the rhythm guitar and vocal tracks for the twentieth song (Trying Times) today. It’s a really down-tempo song. Later, I ended up going back and re-recording the vocals for You and I (from yesterday.) Hopefully they turned out a bit better this time.
DW Recording: Day 41
Vocals for Purple Folder and You and I should be recorded, now. My voice sounded really dry today, for some reason, but as it is already, no part of this recording project seems to be perfect.
Dream World: Chapter 6
Here’s the sixth chapter of the Dream World story…
There’s got to be a better way…
Been tired of thinking about web programming and frameworks, lately. There’s got to just be some way to easily get stuff up online, right? Something that doesn’t require the “repeat yourself” (from the supposed DRY with Rails,) that inevitably seems to happen (due to my laziness, at least,) all too often. Thinking about an easy way to just get things up without a lot of hassle. o_O
DW Recording: Day 40
Got the lead part(s) done for a song, today. This song is originally supposed to be some kind of country song. But at the end, it turned into some sort of fusion or funk kind of song, ha ha. I think I’m liking the idea of funk, lately.
DW Recording: Day 39
Had the opportunity to get the lead guitar work done for Muddy Ditch. Trying to get more consistent with lead guitar… but even when I think I’ve played a part slowly enough (to not sound hurried or erratic,) I hear the recording play back… and end up trying all over again.
I’m finding that the electric guitar (for lead parts, at least,) is almost like a river; it moves and bends… it naturally needs to flow.