Andrew Sackville-West <[EMAIL PROTECTED]> writes:
> On Tue, Dec 11, 2007 at 08:24:07AM -0500, Haines Brown wrote:
> > Benjamin Schmidt <[EMAIL PROTECTED]> writes:
> >
> > > But maybe you should not use this (in my opinion) unusual command "find
> > > / -print ...". Instead use tar, like:
> > >
>
On Tue, Dec 11, 2007 at 08:24:07AM -0500, Haines Brown wrote:
> Benjamin Schmidt <[EMAIL PROTECTED]> writes:
>
> > But maybe you should not use this (in my opinion) unusual command "find
> > / -print ...". Instead use tar, like:
> >
> > tar -zcvf /media/mirror/`date +%F`.tar.gz -C / --exclude=/me
Benjamin Schmidt <[EMAIL PROTECTED]> writes:
> But maybe you should not use this (in my opinion) unusual command "find
> / -print ...". Instead use tar, like:
>
> tar -zcvf /media/mirror/`date +%F`.tar.gz -C / --exclude=/media/*
> --exclude=/proc/* --exclude=/sys/* --exclude=/mnt/*
Benjamin, tha
Ok, first: Why it doesn't work I simply don't know.
You should test if this is a problem with find, or the egrep command,
cpio or cat by making verbose output into a own log file.
But maybe you should not use this (in my opinion) unusual command "find
/ -print ...". Instead use tar, like:
tar -z
I asked this question some time ago. I've a script in /etc/cron.weekly
named "backup" (rwxr-xr-x root/root) that looks like this:
#!/bin/sh
mount /media/mirror
dirName=`date +%F`
mkdir /media/mirror/"$dirName"
find / -print | egrep -v "^/media|^/proc|^/sys|^/mnt" | cpio -pdmuv \
/media/mirror/"$di
5 matches
Mail list logo