On Tue, 2007-10-30 at 15:32 +0100, Florian Philipp wrote:
> Could I see that script? How do you invoke it, anacron/fcron?

--
#!/bin/sh

OUTFILE=/root/backup.tar.pgp

tar -c --one-file-system -X /etc/mybackup.exclude -C / . ./boot | \
    gpg --encrypt -r [EMAIL PROTECTED] --yes > $OUTFILE
---

I do this manually, about once a month.  No cron jobs.. just kick it off
and then write the image to DVD.

You could of course put in in cron, and then just prepend an 'if'
statement that checks to see if the output devices is inserted/mounted.



-- 
[EMAIL PROTECTED] mailing list

Reply via email to