File copying, from OS X to Windows
Michael Dale
If I get time tomorrow I am going to purchase tiger. So I decided to do a backup of my Mac to my Windows 2003 file server.
I have Windows sharing turned on for the Mac and am copying the files from the Windows system.
Currently the Mac cannot access Windows shares on a Server 2003 system because of the authentication used, I’m hoping tigers adds support for this. (Note that a Mac works happily with every other Windows OS).
There were a few problems copying files, mainly to do with permissions and the simple fact that the Mac file system (HFS+ if I remember correctly) is much more advanced than NTFS.
Although there were a few problems I was impressed with the way Windows handled the errors (of course Samba on the Mac translated most of the file structure differences into something Windows understands).
Permissions of the current user do not have access to the file (above).
Unable to copy a symlink
Locked file
General Permissions.
Advanced Permissions
bluetrait
Michael Dale
I haven't had the chance to work on the code for this site for a while, been pretty busy with uni. Anyway I have a week off (some Faculty of IT thing, not uni wide) which is cool. I did a touch up on some code tonight. I'm now running version 0.3.9 of my code. 0.3.8 added the following:
I'd like to release something at version 0.4.0 but we'll see. If I release it at that version it probably still isn't ready for general use. But I'll get there slowly.
email about setting up a cron file
Michael Dale
I received an email earlier today from a reader who has a better way to manage and run backups. Here is a slightly edited version of the email.
I tackled the same problem at my own company and I think my solutions a little nicer than yours so I thought I'd share it with you :)
Ok so this is how I do backup for the local server at my company:
General Steps:
The process is very similar to yours, the main difference between our implementations is that I use rsync to speed everything up and my scripts log their actions. I also wrote a couple of tests scripts to automate testing and prove everything works. The whole thing is a little hacky and I'd like to make the format of the log files look nicer but it does work :) It's also a really really fast way to do backups. The technical details are:
I wrap these scripts in two scripts called 'everyday.sh' and 'weekly.sh' depending on what needs to happen on each of those days. There also a little timer script that writes the time each command takes.
For connecting to the remote server I use ssh with keys so I don't need to worry about storing passwords in any of the scripts.
The really cool part of this whole thing is in step 4 where rsync will only copy the different bits in the compressed archive. I don't know exactly how this brilliant piece of magic works[2] but it's save me and my clients quite a bit of time and money.
[1] The patch is already in redhat's gzip so hopefully it's in the default freebsd one. Nothing in the man page about it yet though. [2] I first read about it here where the guy provides some explanation of what its doing: http://lists.ubuntu.com/archives/ubuntu-devel/2005-January/003327.html
--
Myles Byrne Web Architect
I have setup an IPv6 tunnel through AARNETIPv6 tunnel
Michael Dale
I’ve got a Generation 4 20gb iPod that I’ve had since late last year. It is a pretty cool device and is built well. But I always had the problem of it crashing on me once or twice a week. Worse than my Windows box!The case of the crashing iPod
Michael Dale
Updated Spring timetable can be found hereSpring Timetable
Michael Dale
Monday | Tuesday | Wednesday | Thursday | Friday | |
---|---|---|---|---|---|
This will most likely change. | |||||
8am | Networking 2 (31471) Itl, 07 TBA | ||||
9am | Introduction to Collaborative Systems (31472) Lec, 01 TBA | Object-oriented Design (31469) Lec, 01 TBA | |||
10am | |||||
11am | Object-oriented Design (31469) Itl, 01 TBA | Distributed Computing Architecture (31470) Lec, 01 TBA | |||
12pm | Introduction to Collaborative Systems (31472) MTP TBA | Distributed Computing Architecture (31470) Tut, 01 TBA | |||
1pm | Object-oriented Design (31469) Tut, 07 TBA | ||||
2pm | |||||
3pm | Distributed Computing Architecture (31470) Itl, 04 TBA | ||||
4pm | |||||
5pm | |||||
6pm | |||||
7pm | |||||
8pm | |||||
9pm |
Let us see if this comes out correctly, I think I'll need to hack at my filter thing...Autumn Timetable
Michael Dale
Monday | Tuesday | Wednesday | Thursday | Friday | |
---|---|---|---|---|---|
This will most likely (90% chance) change. | |||||
9am | Database Fundamentals (31474) Lec, 01 CB06.03.28 | Information, Classification and Control (31468) Lec, 01 CB03.05.10 | Object-oriented Programming (31465) Lec, 01 CM05B.01.11 | ||
10am | |||||
11am | Information, Classification and Control (31468) Itl, 04 CB10.02.430 | ||||
12pm | Database Fundamentals (31474) Tut, 02 CB10.02.460 | ||||
1pm | Object-oriented Programming (31465) Itl, 03 CB10.03.210 | ||||
2pm | Object-oriented Programming (31465) Tut, 07 CB10.04.470 | ||||
3pm | |||||
4pm | Principles of Distributed Computing (31466) Tut, 08 CB10.03.410 | ||||
5pm | |||||
6pm | |||||
7pm | |||||
8pm | Principles of Distributed Computing (31466) Lec, 01 CB06.03.28 | ||||
9pm |