| 1 |
> I'll be more than happy to put a copy of your scripts in the dump |
| 2 |
> distribution once you'll get this work :-) |
| 3 |
|
| 4 |
So you may have a look at the enclosed scripts. |
| 5 |
|
| 6 |
I use rsh in both directions. This may easily be changed to ssh. |
| 7 |
|
| 8 |
Basically three scripts are now necessary. The first wraps around the |
| 9 |
dump-command, the second acts as user exit when CD has to be changed |
| 10 |
and the third has to be run on the remote box. |
| 11 |
|
| 12 |
To make things easier I put the first two into one file called |
| 13 |
dump-to-remote-cd. The second file called get-dumpdata-to-cdrecord must |
| 14 |
be copied to the box with the CD-Burner. There is a small |
| 15 |
configuration section in it to get cdrecord to work. |
| 16 |
|
| 17 |
dump-to-remote-cd may be called with the capacity of the media which |
| 18 |
is used and / or a filesystem argument passed to dump. |
| 19 |
|
| 20 |
Usage is: |
| 21 |
|
| 22 |
dump-to-remote-cd [ -c <CD_capacity> ] [files to dump ...] |
| 23 |
|
| 24 |
There are defaults in the scripts which are used if any of these |
| 25 |
arguments are missing. The hostname of the box with the CD-burner |
| 26 |
has to be edited in any case. |
| 27 |
|
| 28 |
Kind regards |
| 29 |
|
| 30 |
Gerd |
| 31 |
|
| 32 |
------------------------------------------------------------------------ |
| 33 |
Gerd Bavendiek Linux Laptop Users check out: |
| 34 |
[email protected] http://netenv.sourceforge.net |
| 35 |
------------------------------------------------------------------------ |