Clone and then copy to a second external drive ??
Hi - I have been a happy SD using for a few years now, but I think I must be getting more and more paranoid !
I currently run a full bootable backup to an external USB drive and would like to then copy this to my NAS disk. I have tried rsync ( manually ) after a SD copy has completed and I am met by all sorst of errors as rsync tries to copy the files across. I have tried runnign my rsync script with sudo but no luck. The errors are strange I/O type errors after rsync has copied about 50Gb of the data. Does anyone else make a second full copy of theor SD backup after completion, if so how ? Thanks in advance. |
Just schedule a second copy, either of the first or of the source...
|
Thanks for the reply. I did think of that, but I htought that maybe there was another way of doing it with a clever little rsync script. I had updated my 10.5.2 rsync version from the instructions at teh Bombich site and have made a script:
Code:
#!/bin/bash One of the reasons for doing it this way was to just make a second copy of my profile rather than the whole disk if you know what I mean.... I am not sure if rsync is falling over on the permissions or what ? I think I may have read somewhere, for this type of thing to work I need to allow rsync to run as root, or say create a UNIX user called backup and allow the backup user to execute this rsync script as root. I have no idea how to do this though...Any ideas ? |
So, just run SD!'s "Backup - user files".
|
I suppose I just wanted to use some mac UNIX geekery to achieve the same thing :(
|
Yeah, I know... but why? :)
|
Sorry - One more thing.
If I backup just the user files using SD to a sparesimage on the second drive, is there any way to shrink it down every now and again. I used to back up to spareimage files and the size of the files just kept growing even though I had removed large files from my profile. |
I dont know - I was bored :)
|
Maybe I can just add another line to an after run script like:
Code:
hdiutil compact /path/to/.sparseimage |
You'd have to compact in a background process. e.g.
Code:
nohup /bin/bash -c "sleep 30; hdiutil compact image-path-or-variable" & |
All times are GMT -4. The time now is 02:43 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.