|
I am trying to mount and windows pc on the backup server so
I can use tar to back it up. If I mount the windows pc using the
following command it everything works fine. smbmount //10.89.0.6/c /mnt/rjpark -o
username=rjpark,uid=backuppc,sid=users,password=douglas1 I though it would be nice for backuppc to mount the drive
and run the backup, so I made the following modifications to the windows pc’s
config.pl (this system is an upgraded 2.1.2 to 3.0.0beta1) Here is the config.pl modifications: $Conf{FullPeriod} = -1; $Conf{TarClientCmd} = '$tarPath -c -v -f - -C $shareName+ --totals'; $Conf{TarClientRestoreCmd} = '$tarPath -x -p --numeric-owner
--same-owner -v -f - -C $shareName+'; $Conf{TarShareName} = [ '/mnt/rjpark' ]; $Conf{XferMethod} = 'tar'; $Conf{DumpPreUserCmd} = 'sudo smbmount //10.89.0.6/c /mnt/rjpark -o
username=rjpark,uid=backuppc,sid=users,password=douglas1'; $Conf{DumpPostUserCmd} = 'sudo umount /mnt/rjpark'; Here is the error that I get: Executing DumpPreUserCmd: sudo smbmount //10.89.0.6/c /mnt/rjpark -o username=rjpark,uid=backuppc,sid=users,password=douglas1Exec of sudo smbmount //10.89.0.6/c /mnt/rjpark -o username=rjpark,uid=backuppc,sid=users,password=douglas1 failedRunning: /bin/gtar -c -v -f - -C /mnt/rjpark --totals --newer=2006-11-12\ 10:07:19 .incr backup started back to 2006-11-12 10:07:19 (backup #4) for directory /mnt/rjparkXfer PIDs are now 23277,23276/bin/gtar: Substituting 1901-12-13 15:45:52 for unknown date format `2006-11-12\\ 10:07:19'[ skipped 2 lines ]tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotalExecuting DumpPostUserCmd: sudo umount /mnt/rjparkExec of sudo umount /mnt/rjpark failed
When I switch over to the backuppc user and run the command: sudo smbmount //10.89.0.6/c /mnt/rjpark -o username=rjpark,uid=backuppc,sid=users,password=douglas1 It mounts the window pc fine and I can perform a tar backup. Any help would be appreciated We are currently working on large Novell backup project that is using
BackupPC and ncpmount, this project would benefit greatly if BackupPC could
mount the volumes and then perform the backup. Chris VanBennekom |
Information Security Consultant [EMAIL PROTECTED] SARCOM | IT
Solutions | www.sarcom.com office 616.954.7004 x5819 mobile 616.828.9580 fax 616..954.9221
|
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
