Re: [BackupPC-users] Backing up a USB-disk?
2009-06-11 13:10:53
Hi,
On Thu, Jun 11, 2009 at 01:50, Magnus Larsson<magnus AT vista DOT se> wrote:
>> mountpoint -q /path/to/usbdisk
>> (will set $? to 0 if it's mounted, non-zero otherwise)
>
> How would I use this value that mountpoint returns, do you mean?
The same way you would use the '[ -f
/path/to/usbdisk/.fileyouwouldhavetocreate ]', but without creating
the file...
I'm not really an expert on BackupPC (I only used the basic features
so far), but I believe you would use that as a script for PingCmd or
maybe DumpPreUserCmd and maybe together with UserCmdCheckStatus (see
Jeffrey's previous e-mail). I guess they could give you some more help
on how to configure this than I could...
HTH,
Filipe
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|