On 2006-07-13 15:52, silpa kala wrote:
Hi,
I am trying to take the backup for
.log/.txt/executable file name. But the planner is not
able to provide the estimations.
I observed that only we can take the backup for the
directories. Why this one is happening?
Please provide the details is there any restrictions
to provide to take the backup for the file type?
Amanda uses (currently) two external program to do the actual
backup: dump (several flavours actually), and gnutar.
As an intelligent person, you can quickly hunt through the source
tree and find the places where those programs are executed.
There you see that the several flavours of dump actually
need (device name of) a partition. So here it is impossible
to backup one file (or even part of partition).
The place where gnutar is invoked is also easily spotted, and
you'll see that the command line is assembled as:
gnutar ... --directory /the/dle/name ...
And then you understand that /the/dle/name needs to be a
directory, and not a file.
But if you want to backup one file, there is a simple solution
too, by using a DLE like:
client.example.com /path/to/file /path/to {
comp-user-tar
include "./file"
}
Using the manpages, you'll understand what the above syntax
is all about, and seeing the source code, you'll also understand
how that works to accomplish what you're trying to do.
--
Paul Bijnens, xplanation Technology ServicesTel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512
http://www.xplanation.com/ email: [EMAIL PROTECTED]
***
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***