* Troy Piggins is quoted & my replies are inline below :
> I'm using BackupPC Ubuntu package (2.1.2-2ubuntu5) to back up
> some local files and also some samba shares. All was working
> fine while I was testing the samba share side of things by just
> backing up 'pictures' share[1].
>
> Since that was working I decided to back up a whole hard drive on
> my windows xp machine, so I shared d:\ (data) drive as 'data'.
> Since 'pictures' is a subdirectory of 'data' I removed that
> share. Here is the new conf file[2].
>
> Trouble is, backuppc doesn't seem to acknowledge the changed conf
> file. Keep getting errors[3]. I have reloaded and also
> restarted backuppc daemon and still no luck.
>
> Why is it still looking for 'pictures' share?
> Why is it not backing up 'data'?
> How do I get it backing up 'data' as intended?
Think I've figured it out. Don't know how/why, but had 2 copies
of host configs. Had pc.pl config in /etc/backuppc/pc.pl and also in
/var/lib/backuppc/pc/pc/config.pl. I was editing the one in
/etc/backuppc and changed weren't carrying through.
I edited the ones in /var/lib..., reloaded and all works now.
> [1] - /etc/backuppc/pc.pl
> $Conf{XferMethod} = 'smb';
> $Conf{SmbShareName} = 'pictures';
> $Conf{SmbShareUserName} = 'user';
> $Conf{SmbSharePasswd} = 'password';
>
> [2] - /etc/backuppc/pc.pl
> $Conf{XferMethod} = 'smb';
> $Conf{SmbShareName} = ['data'];
> # Want to exclude d:\Program Files and subdirs.
> $Conf{BackupFilesExclude} = ['Program Files'];
> $Conf{SmbShareUserName} = 'user';
> $Conf{SmbSharePasswd} = 'password';
>
> [3] - Contents of file /var/lib/backuppc/pc/pc/XferLOG.bad.z,
> modified 2007-02-06 06:00:07 (Extracting only Errors)
> Running: /usr/bin/smbclient \\\\pc\\pictures -U user -E -N -d
> 1 -c tarmode\ full -TcNrX
> /var/lib/backuppc/pc/pc/timeStamp.level0 - Program\ Files
> Xfer PIDs are now 3362,3361
> [ skipped 1 lines ]
> tar_re_search set
> [ skipped 1 lines ]
> This backup will fail because: tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME
> tree connect failed: NT_STATUS_BAD_NETWORK_NAME
> [ skipped 1 lines ]
> tree connect failed: NT_STATUS_BAD_NETWORK_NAME
> tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0
> sizeExistComp, 0 filesTotal, 0 sizeTotal
> Got fatal error during xfer (tree connect failed:
> NT_STATUS_BAD_NETWORK_NAME)
> Backup aborted (tree connect failed: NT_STATUS_BAD_NETWORK_NAME)
--
Troy Piggins ,-O (o- O All your sigs are belong to us.
http://piggo.com/~troy O ) //\ O
RLU#415538 `-O V_/_ OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
-------------------------------------------------------------------------
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/