Re: backup script partly fails when in cron.weekly
- From: Andrew Sackville-West <andrew@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 11 Dec 2007 18:48:11 -0800
On Tue, Dec 11, 2007 at 08:24:07AM -0500, Haines Brown wrote:
Benjamin Schmidt <b.schmidt@xxxxxxx> 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, thanks for the suggestion, but I had a problem with the
script:
Cowardly refusing to create an empty archive
I don't understand this error.
It means that when tar followed all the instructions you gave it,
there was nothing left to put in the archive, so it sanely refuses to
create the archive. I looks like you're missing the final path on that
line. man tar
A
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: backup script partly fails when in cron.weekly
- From: Haines Brown
- Re: backup script partly fails when in cron.weekly
- References:
- backup script partly fails when in cron.weekly
- From: Haines Brown
- Re: backup script partly fails when in cron.weekly
- From: Benjamin Schmidt
- Re: backup script partly fails when in cron.weekly
- From: Haines Brown
- backup script partly fails when in cron.weekly
- Prev by Date: Re: Wating for root file system. Kernel bug?
- Next by Date: Re: How to start KDE from a console prompt?
- Previous by thread: Re: backup script partly fails when in cron.weekly
- Next by thread: Re: backup script partly fails when in cron.weekly
- Index(es):
Relevant Pages
|
|