Amanda-Users

Re: backup when logging on to the network

2007-03-29 10:47:35
Subject: Re: backup when logging on to the network
From: dustin AT zmanda DOT com
To: amanda-users AT amanda DOT org
Date: Thu, 29 Mar 2007 09:38:18 -0500
On Thu, Mar 29, 2007 at 01:21:18PM +0200, Maarten De Quick wrote:
> I have been testing with amanda and so far it works good.
> We would like to have a configuration that when someone logs on to the 
> network here, a specified folder gets backupped (users using windows). Has 
> anyone already tried this and 
> found a solution.

If you mean that the backup is triggered by a logon and runs
immediately, you may have some trouble -- amanda is designed to schedule
backups itself, and expects to do "runs" at fairly regular intervals
(every day, every week, etc.).

You may want to write a logon script that will copy (using robocopy, for
example, or ntbackup) the specified folder to a "dropbox" for amanda.
Then have amanda back up that dropbox, probably in an always-full
configuration, and write a script that runs *after* the amanda run to
empty that dropbox (assuming that it was successfully backed up).

If the folder in question is or includes the user's roaming profile
directory, you'll need to use a utility that's capable of copying open
files, because NTUSER.DAT will already be loaded into HKCU.

Dustin

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/

<Prev in Thread] Current Thread [Next in Thread>