[AuckLUG] Backup
Michael
michael.auckland at gmail.com
Fri Jun 13 06:56:25 NZST 2008
If you can write shell scripts - do it! and you will know exactly
what , how and where files backed up.
I use afio instead of tar .
sample script to backup home dir to DVD ( exclude firefox cache )
===
DIRTOBACKUP="/home" # or more dir "/root /usr /var /home /etc"
find $DIRTOBACKUP -depth -print |\
grep -i -v '/cache/' |\
grep -i -v '/cache4/' |\
afio -ovZz -B -b 2048 '!growisofs -speed=16 -use-the-force-luke=tty -Z
/dev/dvd=/dev/fd/0'
===
On Thu, Jun 12, 2008 at 12:17 PM, Alaric <um.167 at xtra.co.nz> wrote:
> Sorry I keep asking silly questions. Can anyone point me to a backup
> programme? I tried the internet but all I could find were programmes
> for large networks or requiring more programming than I can do. I run
> Mandriva 2008 courtesy of Linux Magazine. I have always used drakbackup
> and I did a restore about three years ago without trouble.
> Last month my hard drive went down and after I had re-installed 2008
> on the new drive I tried to do a restore and ran into awful problems.
> Drakbackup would not recognize my pocket drive, when it did it
> resisted restoring and when I got it to restore it restored only two out of
> three backup files but none of the incrementals. It placed one file in the
> designated directory and the other on the pocket drive where the
> backups were stored. It took me days to get the command line to
> recognize the extracted directories so that I could change the ownership
> and permissions and even then there were problems with copying back to
> my home directory.
> I could write a shell script to back up using tar. I think I know
> how to do incrementals and pipe output to the apprpriate device or
> directory.
> I don't want to start a flame war over distros but I do wonder
> whether I should ditch 2008 and revert to 2007 Spring, even though it does
> not recognize my scanner. 2008 appears to have some very odd features
> including regularly crashing sub systems like kdedit which hasn't happened
> to me since I was using Mandrake 9.2
>
>
> Alaric
>
> _______________________________________________
> AuckLUG mailing list
> AuckLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
>
--
--
Michael
More information about the AuckLUG
mailing list