1 |
On Tue, 2007-10-30 at 15:32 +0100, Florian Philipp wrote: |
2 |
> Could I see that script? How do you invoke it, anacron/fcron? |
3 |
|
4 |
-- |
5 |
#!/bin/sh |
6 |
|
7 |
OUTFILE=/root/backup.tar.pgp |
8 |
|
9 |
tar -c --one-file-system -X /etc/mybackup.exclude -C / . ./boot | \ |
10 |
gpg --encrypt -r marduk@××××××.net --yes > $OUTFILE |
11 |
--- |
12 |
|
13 |
I do this manually, about once a month. No cron jobs.. just kick it off |
14 |
and then write the image to DVD. |
15 |
|
16 |
You could of course put in in cron, and then just prepend an 'if' |
17 |
statement that checks to see if the output devices is inserted/mounted. |
18 |
|
19 |
|
20 |
|
21 |
-- |
22 |
gentoo-user@g.o mailing list |