you could have a script at the end of the backup rewind the tape, and use ssh to pipe it it to a file on the remote end. dd if=/dev/nst0 | ssh remotehost 'dd of=/output/file'
or something similar to that. kinda hackish.. but it could work for you.. and ssh can be autmated securely with authorization keys. -ben On Sat, 8 Jun 2002, Paul Jakma wrote: > hi, > > i'm just wondering is there any way to have amanda to write a backup > to both a local tape device and a remote tape/filesystem? > > basically, we have an amanda tape 'server', which gathers backups and > writes them to tape. we'd like these backups also to go to a remote > machine. we are using RedHat's amanda 2.4.2p2-4 package. > > options i see: > > - have the remote amanda machine back up the holding disk of the > primary amanda > > however, how do we synchronise this? (the primary amanda machine would > have to "hold" backups in the holding area, and wait till the > secondary backup was finished before flushing to tape). > > > - use rmt and gnu tar's support for remote devices and have amanda > write the backups using gtar's remote support. > > however, is it as simple as specifying host:/dev/xyz for the tapedev? > and again, how do we synchronise? > > i suspect we could psuedo-synchronise either of the above by having > the original backups use the file driver, and then run a second > backup, but still.. > > otherwise, i see the latest amanda code has a vtape driver interface, > and there has been talk of writing rmt vtape interface. has anyone > tried? > > anyway, a "remote mirror" vtape driver would be useful. As would > dumptype options to run commands pre and post host-dump and tape-flush > (and wait for them to finish). > > also, what is the latest stable code that one should use for vtape? > HEAD? amanda-243-branch? > > regards, > > --paulj >
