Bacula-users

[Bacula-users] Defining a job to backup files "unknown" at fire time

2008-08-26 05:09:57
Subject: [Bacula-users] Defining a job to backup files "unknown" at fire time
From: Bill Damage <bill.damage AT yahoo DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 26 Aug 2008 02:07:54 -0700 (PDT)
The setup is a remote host creating backups via an sh script running on that machine. These are then ftp'd to a local one. I've just set up bacula on the local machine and want it to then store these files to tape.

The script creating these backups is an ideal candidate for RunScript but what I can't figure out is how to pass the new path & filename to the jobdef because its created each time by the script. The path looks like /data/Vol2/Daily/example.com/2008/08/26/Daily-SQLDump-2008-06-26.zip, with each directory & filename being created accordingly. This is a simple example, I realise I could just do incrementals from the tree downwards but there are more cases when the new path truly is unknown. We get away with this because the remote script executes then returns the newly created path and file separated by a space, thats how the local one can then do the ncftpget to retrieve it.

Current sequence:
Local machine executes ssh remotely to create zip
Remote machine returns "path filename"
Local machine does ncftpget on "path filename"

Requirement:
As above but then local machine uses bacula to store "path filename"

Thanks.





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>