Re: backup script partly fails when in cron.weekly



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



Relevant Pages

  • Re: backup script partly fails when in cron.weekly
    ... Benjamin, thanks for the suggestion, but I had a problem with the ... Cowardly refusing to create an empty archive ... I appended a "\*" to the script and it seems now to ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Problem deleting a printer object
    ... I tested out the script suggested by JHP. ... Dim strComputer, objWMI, objPrinter, objWSH, rtnPrinter ... Windows 2000 workstations, Windows XP can handle this without a problem. ... was hoping that someone out there might have a suggestion. ...
    (microsoft.public.scripting.vbscript)
  • Re: EXAMPLE -- Re: Strange issue with `CHOMP not working...
    ... It is not a "why is my perl 101 assignment script not ... opening but not closing files, and second creating a cache (hash of ... suggestion that I was looking for. ... If my problems reoccur, as they may, I will put that ...
    (comp.lang.perl.misc)
  • RE: Setting NIC speed / best practice. SUMMARY
    ... creating a run script ... my suggestion would be to use a script in /etc/rc2.d to set the ... autonegotiation on both the switch and the server, ... configuration file where the settings were being set. ...
    (SunManagers)
  • Re: Checking CPU Usage for a Particular Process
    ... but I have another suggestion. ... How to "ping" an app? ... finished to continue running the script. ... the CPU usage is 0%, then it will kill the process and the script will ...
    (microsoft.public.scripting.vbscript)