[BackupPC-users] SMB Vs Rsyncd restores and filling data
I have looked for info on this but need a confirmation on some questions I have. I was using SMB for backing up a few XP machines and switched to Rsyncd on one of them. In looking at the backups there are some differences. First SMB. When I look at a SMB backup (full or incremental) I see what looks like a full backup. As I understand it BackupPC has actually done an incremental backup and then filled the rest of the files in from previous incremental backup and the most recent full backup. Is this correct? When I do a restore then all I have to do is select the files I want in my last incremental backup and restore them. Rsyncd. I am looking at the incremental backup in the admin and all I see are the incremental files. It looks like BackupPC is not filling in the latest incremental backup with the previous incrementals and the most recent full backup. IS this correct? To do a restore of a folder using Rsyncd I would need to start with my most recent full backup and then do restores working backwards until I find the most recent version? If I needed to restore a folder and had a full backup and 5 incremental then I would need to perform 6 restores? Is this correct or do I have a configuration setting wrong not allowing Rsyncd incrementals to be backfilled. The upside to Rsyncd is it eats up less bandwidth than smb? You can also do remote restores on a user's machine (which is nice). Are there other upsides? By the way...The machine that I changed to Rsyncd crashed. I was able to restore everything but an address book that was corrupt from the drive crash. Thanks so much to Craig and all the rest for doing this fine, fine little piece of software. Eric - 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=100url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rsyncd - probability that it trashed my drive?
Makes sense. New drive is in now getting formatted. I will of course, see what I can salvage off the old drive. This computer was a used computer off ebay and shipped about 6 months ago, it may have had some head slap in shipping. That is why I think lots of drive activity causing the existing problem to show up makes sense. One more thing...THANK GOD for BackupPC! Awesome software! I appreciate deeply that I have a set of critical files ready to be restored on the new drive. Thanks Craig (and whoever else) for doing this project. Thanks, Eric Carl Wilhelm Soderstrom wrote: On 11/20 05:18 , [EMAIL PROTECTED] wrote: Anyway...what are the chances that rsyncd was responsible for the drive going down by somehow scrambling the data or some other unintended problem? Has anybody running rsyncd on XP Pro machines had any other problems to report? BackupPC puts substantial additional load on disks, because it forces them to seek every file, and on a heavily fragmented filesystem this can add up to a lot of head movement which would normally not take place. So a drive which might have been marginal before, might fail when you do the backup of it. I've had this happen to me once or twice (once with disastrous consequences when I found that the new external drive enclosure I was using for the backuppc data pool was no good, so I lost the backup that caused the client disk to fail, and then discovered that the LVM RAID I had been using to give me a redundant client disk had stopped replicating a year before and not given me any signs I recognized... fortunately it was only my own data, and not someone else's that I lost). So be aware that this can happen. No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.9.8/1801 - Release Date: 11/20/2008 9:11 AM - 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=100url=/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Rsyncd on XP
I was having problems with SMB on XP pro so have shifted gears and am trying Rsyncd. I ran a full backup of the cDrive setup. The problem is that I am using a backup user I created that is part of the user group Backup Operators. I do get files backed up but... The only files I get in the Documents and Settings folder is the backup user's files (basically empty). There are other users there and I need to get those files backed up as well. There seems to be a permission problem and I can't get the other users files backed up. How do I get all the users files backed up using Rsynced? Config file: [cDrive] path = c: comment = Entire Drive auth users = removed,removed secrets file = c:/rsyncd/rsyncd.secrets # hosts allow = 172.16.0.17 strict modes = false read only = true list = false - 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=100url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] XP Client setup problem
I have set up XP clients before with great trouble. It was over a year ago. I added a new computer and copied a current clients config, changed the the client specific settings and I get errors. I changed the share to C$ and get the No files dumped for share C$ error message. I believe that it is a problem on the new client side since the other XP clients are backing up just fine. I have set up a user on the new client and added them to the Backup Operators group. I still have the same error. Any help would be appreciated. - 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=100url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backing up localhost - permission question
Carl Wilhelm Soderstrom wrote: Here's the localhost.pl file that I use. # # Local server backup of /etc as user backuppc # $Conf{XferMethod} = 'tar'; $Conf{TarShareName} = ['/etc']; $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath' . ' -c -v -f - -C $shareName --totals'; # let it back itself up anytime it wants to. $Conf{BlackoutPeriods} = []; I also have this entry in /etc/sudoers: backuppc ALL=NOPASSWD: /bin/tar the suggestion to make that backuppc ALL=NOPASSWD: /bin/tar -c is a good one tho. Thanks. I have done everything and I get the folowing result: Contents of file /data/BackupPC/pc/slacker/XferLOG.bad.z, modified 2007-04-14 21:20:47 (Extracting only Errors) Running: /usr/bin/env LC_ALL=C /usr/bin/sudo /usr/bin/tar -c -v -f - -C /etc --totals . full backup started for directory /etc Xfer PIDs are now 2025,2024 We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: [ skipped 3 lines ] Password: tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal Got fatal error during xfer (No files dumped for share /etc) Backup aborted (No files dumped for share /etc) My localhost.pl file is as follows: $Conf{XferMethod} = 'tar'; $Conf{TarShareName} = [ '/etc' ]; $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath' . ' -c -v -f - -C $shareName --totals'; $Conf{SmbShareName} = [ 'backupshare' ]; $Conf{SmbSharePasswd} = 'removed'; $Conf{SmbShareUserName} = 'removed'; - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ BackupPC-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Backing up localhost - permission question
Hello all: I am setting up localhost to be backed up. In the help file at http://backuppc.sourceforge.net/faq/localhost.html there is the following blurb: Make sure this script and all parent directories have no write permission. Then remove the -c from $Conf{TarClientCmd} http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_tarclientcmd_ and change the tar path: Is this write permission for owner, group, others or all three? Thanks, Eric Snyder - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_link errors
Craig Barratt wrote: Eric writes: 2007-04-08 21:20:02 BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt, 5ee4aa1b190383553c1a7712ad260358, 1) The -4 error means that a file cannot be added to the pool (ie: a new hardlink cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358 to /data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt). You've checked the obvious things. FilesystemInodes IUsed IFree IUse% Mounted on /dev/hdb139075840 1011307 380645333% /dev/backupdisk Your TOPDIR is /data/BackupPC/backups, but your disk is mounted on /dev/backupdisk. Is that right? Yes, This is correct. What happens when you run: df /data/BackupPC/backups/pc/slacker df /data/BackupPC/backups/cpool I get: [EMAIL PROTECTED]:~# df /data/BackupPC/backups/pc/slacker Filesystem 1K-blocks Used Available Use% Mounted on /dev/hdb1307663800 144787820 147247548 50% /dev/backupdisk [EMAIL PROTECTED]:~# df /data/BackupPC/backups/cpool Filesystem 1K-blocks Used Available Use% Mounted on /dev/hdb1307663800 144787820 147247548 50% /dev/backupdisk Does it show the same file system? Does the directory /data/BackupPC/backups/cpool/5/e/e exist? What happens when you try to manually make the link: su backuppc link /data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt /data/BackupPC/backups/cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358 link: cannot create link `/data/BackupPC/backups/cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358' to `/data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt': No such file or directory I did a couple of things. 1) I changed the backup directory to be the one on the same drive that BackupPC runs from (hda) that holds the symlinks to the other drive. It created the links when I ran the backup. We know that my installation of BackupPC will make links OK to the same drive that it is installed on. 2) I created individual links for each directory (pc, cpool and pool) that point to actual directories on hdb and then tried the backup. The backup run fine and links were created on the target drive (hdb) inside dev/backupdisk/backups/cpool. It seems that the problem only shows up when I have a single link of my topmost directory rather than individual links to each directory one level down. ??? Thanks, Eric - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] BackupPC_link errors
First of all...Craig, for all the times I have posted I don't know if I ever thanked you for this great piece of software! I sleep much better knowing that I have a good backup plan working. I had BackupPC running under Ubuntu. I abandon Ubuntu because it was having too many problems. I have installed Slackware. I am liking it much better! My backup files were on an additional hard drive and I preserved that hard drive in the new install. I have installed Apache with mod_perl, Samba and BackupPC. I have placed a symbolic link in the backup data directory that points to the backup data on the additional drive. I can see my old backups and can run new backups. The problem is currently that I am getting linking errors like the following: clip 2007-04-08 21:20:02 BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt, 5ee4aa1b190383553c1a7712ad260358, 1) 2007-04-08 21:20:02 BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/backups/pc/slacker/2/fEric/attrib, 4e852a5ce7de7b42cc837be992d50f80, 1) 2007-04-08 21:20:02 Finished slacker (BackupPC_link slacker) clip I have looked in the archives and have found that this is usually caused by: 1) Running out of nodes. This is not the case in my situation: FilesystemInodes IUsed IFree IUse% Mounted on /dev/hdb139075840 1011307 380645333% /dev/backupdisk 2) Having the pool or cpool directory on a different volume. Also not the case as all are on the hard drive under the directory backups. Below are the permissions of the folders on the hard drive (hdb). hdb: drwxr-x--- 6 backuppc backuppc 4096 2006-11-23 18:09 backups hdb/backups: drwxr-x--- 2 backuppc backuppc 4096 2006-11-23 18:09 cpool drwxr-x--- 7 backuppc backuppc 4096 2007-04-08 21:08 pc drwxr-x--- 2 backuppc backuppc 4096 2006-12-23 19:53 pool drwxr-x--- 2 backuppc backuppc 4096 2007-02-04 01:10 trash I have confirmed that backuppc is running as backuppc. Can anyone help with this linking error? Also (possible related) is that when I had backuppc running on Ubuntu it was not pooling. I never figured that problem out. Thanks, Eric - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Web admin will not execute after installing 3.0
After installing 3.0 in slackware I can list the BackupPC_Admin file contents in my web browser but it will not execute. The files is marked as executable and the default group for the file was user. I have tried various user and group permissions and they are currently backuppc and group is currently nobody. I have looked at Apache's user and it is root for the parent and nobody for the child processes. Can anyone help me get the web admin running? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Not pooling or compressing
Here is a summary of a host that I did a full backup on. I thin changed the config file to share and backup just one folder with just 1 1.6 MB file. Backup #2 and #3 are two back to back backups of that file. I think that it is not pooling and compressing. I am still coming yup to speed with Linux, any help would be appreciated. File Size/Count Reuse Summary Existing files are those already in the pool; new files are those added to the pool. Empty files and SMB errors aren't counted in the reuse and new counts. Totals Existing Files New Files Backup# Type#Files Size/MB MB/sec #Files Size/MB#Files Size/MB 0 full46240 17139.3 1.03 894 0.0 0 0.0 1 full1 1.6 0.33 0 0.0 0 0.0 2 full1 1.6 0.33 0 0.0 0 0.0 Compression Summary Compression performance for files already in the pool and newly compressed files. Existing Files New Files Backup# TypeComp LevelSize/MB Comp/MBComp Size/MBComp/MBComp 0 full3 0.0 0.0 1 full3 0.0 0.0 2 full3 0.0 0.0 Eric Snyder wrote: Hello: It seems that my files are not pooling. I have read the docs and have looked in the folders that the pooled files should be in and they are not there. For each backup there is a folder and the backed up files are all contained inside that folder. I am using SMB for transport and am backing up one linux and two xp machines. Are there settings that I can check to make sure pooling happens? Also, my files are not compressing, could this be causing the pooling issue? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Not pooling or compressing
Hello: It seems that my files are not pooling. I have read the docs and have looked in the folders that the pooled files should be in and they are not there. For each backup there is a folder and the backed up files are all contained inside that folder. I am using SMB for transport and am backing up one linux and two xp machines. Are there settings that I can check to make sure pooling happens? Also, my files are not compressing, could this be causing the pooling issue? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Problems getting Samba connection to work - XP
The XP machine is messed up. It is XP pro but I do not have a Folder Options in my control panel or in Windows Explorer in order to turn off simple file sharing. I confirmed that the current user was a member of the Administrator group. What I did is go in and create a new Admin user and that new user had the Folder Options. I used the new Admin user to turn off simple file sharing and then deleted the C$ share. I then rebooted and the C$ share gets reestablished either on a reboot or a start/restart of server in services. After I did all this I could connect to the C$ share. This is not a BackupPC or Samba issue. Last night I did a full backup of C$ and this morning I saw that it took over 600 minutes to get over 30 GB backed up. I did notice that there was no compression of files even though compression was set to default 3. This may be a misunderstanding on my part of how BackupPC works (maybe compression only works using tar or rsync, I don't know). I will play with that for a while to gain an understanding before posting here. I will be chasing the C$ share/Folder Options issue on a Windows forum somewhere. Thanks for all your help! BackupPC is awesome! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Goryachev Sent: Monday, December 04, 2006 8:39 PM To: Backuppc-Users (E-mail) Subject: Re: [BackupPC-users] Problems getting Samba connection to work - XP Eric Snyder wrote: Yes, I created a user called backup and they are a member of the backup operators group. I gave that user a password. I am not escaping the $ but use a command similar to what you show below and get NT_STATUS_ACCESS_DENIED. Again, If I change the command from /usr/bin/smbclient gandolf\\C$ -U backup to /usr/bin/smbclient gandolf\\Eric -U backup it connects to the Eric folder just fine. Just a thought, have you tried: /usr/bin/smbclient gandolf\\C\$ -U backup Regards, Adam -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 8304 0001www.websitemanagers.com.au - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Installation on Fedora Core 5 login to CGI pagetrouble.
I'll bet you have an Apache password issue. When BackupPC installed it should have set up a username of backuppc and an 8 character long random looking password. Every time I have run install it comes up with a screen that gives you this password. This username and password is stored in a file in the directory, I believe that the file is called htpasswd. This is an Apache web server password. To set the password you need to do an htpasswd command. You will find general instructions on using htpasswd with Apache here: http://www.apacheweek.com/features/userauth I am sorry I do not remember where the htpasswd file is stored in the directory structure. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krsnendu dasa Sent: Monday, December 04, 2006 9:57 AM To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] Installation on Fedora Core 5 login to CGI pagetrouble. I have previously (several months ago) installed Backuppc on Ubuntu. This time I am trying to install it on K12LTSP 5 (Fedora Core 5)I installed using yum. Then I edited config.pl and hosts the same way the files on Ubuntu were set up. Next I tried to connect to the CGI interface. I typed http://localhost/BackupPC I was then presented with the username and password screen. I can't get past it. I tried backuppc, root my username (which defined in config.pl) I tried setting adminusers to * also. No joy. What should I do next? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Problems getting Samba connection to work - XP
Yes, I created a user called backup and they are a member of the backup operators group. I gave that user a password. I am not escaping the $ but use a command similar to what you show below and get NT_STATUS_ACCESS_DENIED. Again, If I change the command from /usr/bin/smbclient gandolf\\C$ -U backup to /usr/bin/smbclient gandolf\\Eric -U backup it connects to the Eric folder just fine. I don't know that much about sharing and networking but it's like the default share on C is messed up. What next? Jason Hughes wrote: Eric, You may need to do two things... Are you creating a user on the Windows box that is a member of the backup operators group? You can either do that, or use the administrator account. In either case, you will probably want to use a username that exists on the Windows machine that *requires a password*. Using an account that has a blank password may work only for certain folders, but fail when accessing others, inexplicably. Second, don't escape the $. I just did this: /usr/bin/smbclient dev1\\C$ -U jhughes It worked fine. However, if I use a username that doesn't exist on the windows machine, it gives NT_STATUS_ACCESS_DENIED. Good luck, JH Eric Snyder wrote: Using the following commands in a terminal su'd as backuppc the following commands work or don't work: *Works:* /usr/bin/smbclient -L gandolf\\ -U backuppc This produces a list of shares on the XP machine gandolf. *Also Works:* /usr/bin/smbclient gandolf\\Eric -U backuppc This connect ti the share Eric on the XP machine gandolf. *But does not work (frustrated Gr):* /usr/bin/smbclient gandolf\\C/$ -U backuppc Gives me NT_STATUS_BAD_NETWORK_NAME /usr/bin/smbclient gandolf\\C\$ -U backuppc Gives me NT_STATUS_ACCESS_DENIED How to fix? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Problems getting Samba connection to work - XP
Addition... I can connect to a specific share (Eric) on gandolf like this: /usr/bin/smbclient gandolf\\Eric -U backuppc When I list the shares on gandolf by using /usr/bin/smbclient -Lgandolf -U backuppc both Eric and C$ show up. It seems that when I try to connect to C$ that is when I run into the problem. What I am trying to do is to be able to add a host nae to the hosts file and have BackupPC backup everything that is shared on that Windows host without specifically calling out each share in the config file for that host. Possible? Eric Snyder wrote: I have successfully backed up my localhost machine that BackupPC is installed on so I know that it is working. I cannot connect to an XP machine using Samba as transfer method. I have searched and searched and cannot find what I need. Using the following commands in a terminal su'd as backuppc the following commands work or don't work: *Works:* /usr/bin/smbclient -L gandolf\\ -U backuppc This produces a list of shares on the XP machine gandolf. *Also Works:* /usr/bin/smbclient gandolf\\Eric -U backuppc This connect ti the share Eric on the XP machine gandolf. *But does not work (frustrated Gr):* /usr/bin/smbclient gandolf\\C/$ -U backuppc Gives me NT_STATUS_BAD_NETWORK_NAME /usr/bin/smbclient gandolf\\C\$ -U backuppc Gives me NT_STATUS_ACCESS_DENIED How to fix? Thanks, Eric - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Problems getting Samba connection to work - XP
I have found the following in the documentation: All Windows NT based OS (NT, 2000, XP Pro), are configured by default to share the entire C drive as C$. This is a special share used for various administration functions, one of which is to grant access to backup operators. All you need to do is create a new domain user, specifically for backup. Then add the new backup user to the built in ``Backup Operators'' group. You now have backup capability for any directory on any computer in the domain in one easy step. This avoids using administrator accounts and only grants permission to do exactly what you want for the given user, i.e.: backup. Also, for additional security, you may wish to deny the ability for this user to logon to computers in the default domain policy. In windows I have added a user named backup and have added them to the built in Backup Operators group. I tried to connect using the terminal from my linux machine and still could not. I added the backup user to the password file using smbpasswd. I gave that user the same passwd that I gave it when I added them as a user on the Windows box. I still cannot connect to gandolf/C or gandolf/C$. Eric Snyder wrote: I have successfully backed up my localhost machine that BackupPC is installed on so I know that it is working. I cannot connect to an XP machine using Samba as transfer method. I have searched and searched and cannot find what I need. Using the following commands in a terminal su'd as backuppc the following commands work or don't work: *Works:* /usr/bin/smbclient -L gandolf\\ -U backuppc This produces a list of shares on the XP machine gandolf. *Also Works:* /usr/bin/smbclient gandolf\\Eric -U backuppc This connect ti the share Eric on the XP machine gandolf. *But does not work (frustrated Gr):* /usr/bin/smbclient gandolf\\C/$ -U backuppc Gives me NT_STATUS_BAD_NETWORK_NAME /usr/bin/smbclient gandolf\\C\$ -U backuppc Gives me NT_STATUS_ACCESS_DENIED How to fix? Thanks, Eric - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Problems getting Samba connection to work - XP
I have successfully backed up my localhost machine that BackupPC is installed on so I know that it is working. I cannot connect to an XP machine using Samba as transfer method. I have searched and searched and cannot find what I need. Using the following commands in a terminal su'd as backuppc the following commands work or don't work: *Works:* /usr/bin/smbclient -L gandolf\\ -U backuppc This produces a list of shares on the XP machine gandolf. *Also Works:* /usr/bin/smbclient gandolf\\Eric -U backuppc This connect ti the share Eric on the XP machine gandolf. *But does not work (frustrated Gr):* /usr/bin/smbclient gandolf\\C/$ -U backuppc Gives me NT_STATUS_BAD_NETWORK_NAME /usr/bin/smbclient gandolf\\C\$ -U backuppc Gives me NT_STATUS_ACCESS_DENIED How to fix? Thanks, Eric - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] 3.0 installation with three wrinkles
I actually ran /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary -l gandolf and that is the result that I got. I have browsed the folders inside folder 42 and it looks like there is quite a bit of content inside these folders. The owner is backuppc - BackupPC and the group is backuppc and the permissions are 750. Is there any other possibilities to saving these backups? Thanks, Eric Craig Barratt wrote: Eric writes: Installed libtime-modules-perl per instruction I received directly from Holger Parplies. Ran BackupPC_fixupBackupSummary on my hosts with lost backups and got the following messages: Doing host gandolf Reading LOG.112006 Reading LOG.z Reading LOG.0.z *** No info for backup number 42 *** No info for backup number 22 *** No info for backup number 50 *** No info for backup number 49 *** No info for backup number 48 No changes for host gandolf Run: BackupPC_fixupBackupSummary -l gandolf The -l option is for legacy mode (pre 3.x) that makes it look through the log files to try to extract the necessary information. All 3.x backups store that meta data below the backup directory so that the backups file can be readily rebuilt. Craig - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] 3.0 installation with three wrinkles
I finally have the cgi interface connecting to the backuppc server with the n! Kudos on the web config editing interface. My problems: 1) I had a disk called helmsdeep with a folder backups on it that contains backups from version 2.?. I have the backups location set at /media/helmsdeep/backups when I ran perl config.pl. I added gandolf to the hosts file but when I use the cgi interface I cannot see the old backups. How to fix? 2) When I run the editor for the cgi interface and try to save any change I get two error messages at the top: Error: No save due to errors Error: ParPath must be a valid executable path 3) Really minor. My images do not show up in the cgi interface. Here is the bottom of my default file inside my sites-available folder where backuppc access is defined: Alias /backuppc/ /usr/local/BackupPC/cgi-bin/ Directory /usr/local/BackupPC/cgi-bin/ AllowOverride None Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi DirectoryIndex index.cgi /Directory The image files did actually get installed in /use/local/BackupPC/cgi-bin/images and I can browse then using the file manager. When I try to access them using http://debian/backuppc/images/0010001.gif the browser does actually display the image. Thanks, Eric * Learning linux - liking it more and more. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] 3.0 installation with three wrinkles
I fixed issue #2. Par2 was not installed. I installed and #2 is not an issue. There was a bug that happened regarding how the config file ends up being built when I saved. Any multi line strings that use the concatenate operator ends up being an error because a semicolon is added to the end of the first string in error. Now I just have #1 and #3 to address. Eric Snyder wrote: I finally have the cgi interface connecting to the backuppc server with the n! Kudos on the web config editing interface. My problems: 1) I had a disk called helmsdeep with a folder backups on it that contains backups from version 2.?. I have the backups location set at /media/helmsdeep/backups when I ran perl config.pl. I added gandolf to the hosts file but when I use the cgi interface I cannot see the old backups. How to fix? 2) When I run the editor for the cgi interface and try to save any change I get two error messages at the top: Error: No save due to errors Error: ParPath must be a valid executable path 3) Really minor. My images do not show up in the cgi interface. Here is the bottom of my default file inside my sites-available folder where backuppc access is defined: Alias /backuppc/ /usr/local/BackupPC/cgi-bin/ Directory /usr/local/BackupPC/cgi-bin/ AllowOverride None Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi DirectoryIndex index.cgi /Directory The image files did actually get installed in /use/local/BackupPC/cgi-bin/images and I can browse then using the file manager. When I try to access them using http://debian/backuppc/images/0010001.gif the browser does actually display the image. Thanks, Eric * Learning linux - liking it more and more. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] 3.0 installation with three wrinkles
Turns out that I just had the wrong spec in for the images url. It needed to be /backuppc/images not /images. Thanks for the help. David Relson wrote: On Sun, 26 Nov 2006 10:13:28 -0600 Eric Snyder wrote: ...[snip]... 3) Really minor. My images do not show up in the cgi interface. Here is the bottom of my default file inside my sites-available folder where backuppc access is defined: Alias /backuppc/ /usr/local/BackupPC/cgi-bin/ Directory /usr/local/BackupPC/cgi-bin/ AllowOverride None Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi DirectoryIndex index.cgi /Directory The image files did actually get installed in /use/local/BackupPC/cgi-bin/images and I can browse then using the file manager. When I try to access them using http://debian/backuppc/images/0010001.gif the browser does actually display the image. I encountered the same problem with my gentoo system. As I'm a gentoo rookie and treading in the very unfamiliar waters of DIY ebuilds, odds are the problem is one of my own creation. In any case I got images (and style sheets) to work by executing: ln -s ../image /usr/share/webapps/backuppc/3.0.0_beta2/htdocs/backuppc/ HTH, David - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] 3.0 installation with three wrinkles
Eric Snyder wrote: 1) I had a disk called helmsdeep with a folder backups on it that contains backups from version 2.?. I have the backups location set at /media/helmsdeep/backups when I ran perl config.pl. I added gandolf to the hosts file but when I use the cgi interface I cannot see the old backups. How to fix? Part of the problem was that file owners and groups were wrong. I changed the owner and group to be backuppc:backuppc and I can now see some of my backup files. I have about eight backups that I cannot see at all even though I can see them with the file manager. Craig, about eight weeks ago you helped someone with a script that could rebuild backups. The link here http://article.gmane.org/gmane.comp.sysutils.backup.backuppc.general/8071/match=rebuild+backups+3+0. I tried that and got this error: debian:~# /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary -l legolas Can't locate Time/ParseDate.pm in @INC (@INC contains: /usr/local/BackupPC/lib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44. BEGIN failed--compilation aborted at /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44. What needs to be done so that I have the best chance of getting as many backups visible and usable as possible? Thanks, Eric - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] 3.0 installation with three wrinkles
Thanks Craig. In what directory do I install Time::ParseDate? Yes, there is not corresponding entries for each folder so I will run after I install Time:ParseDate. Thanks again, I appreciate your hard work on BackupPC. Eric Craig Barratt wrote: Eric writes: Part of the problem was that file owners and groups were wrong. I changed the owner and group to be backuppc:backuppc and I can now see some of my backup files. I have about eight backups that I cannot see at all even though I can see them with the file manager. Craig, about eight weeks ago you helped someone with a script that could rebuild backups. The link here http://article.gmane.org/gmane.comp.sysutils.backup.backuppc.general/8071/match=rebuild+backups+3 +0. I tried that and got this error: debian:~# /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary -l legolas Can't locate Time/ParseDate.pm in @INC (@INC contains: /usr/local/BackupPC/lib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44. BEGIN failed--compilation aborted at /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44. What needs to be done so that I have the best chance of getting as many backups visible and usable as possible? You need to install Time::ParseDate from CPAN. But you should only be running BackupPC_fixupBackupSummary if you are sure the backups file (ie: TOP/pc/HOST/backups) is lost or corrupted. It is not going to solve a permissions problem. You should look in TOP/pc/HOST and look for the numbered directories. Is there a corresponding line in the TOP/pc/HOST/backups file for every numbered directory? If not, then you can run BackupPC_fixupBackupSummary to try to recover the old information. Craig - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] 3.0 installation with three wrinkles
Installed libtime-modules-perl per instruction I received directly from Holger Parplies. Ran BackupPC_fixupBackupSummary on my hosts with lost backups and got the following messages: Doing host gandolf Reading LOG.112006 Reading LOG.z Reading LOG.0.z *** No info for backup number 42 *** No info for backup number 22 *** No info for backup number 50 *** No info for backup number 49 *** No info for backup number 48 No changes for host gandolf Is there anything else I can do? Thanks, Eric Eric Snyder wrote: Thanks Craig. In what directory do I install Time::ParseDate? Yes, there is not corresponding entries for each folder so I will run after I install Time:ParseDate. Thanks again, I appreciate your hard work on BackupPC. Eric Craig Barratt wrote: Eric writes: Part of the problem was that file owners and groups were wrong. I changed the owner and group to be backuppc:backuppc and I can now see some of my backup files. I have about eight backups that I cannot see at all even though I can see them with the file manager. Craig, about eight weeks ago you helped someone with a script that could rebuild backups. The link here http://article.gmane.org/gmane.comp.sysutils.backup.backuppc.general/8071/match=rebuild+backups+3 +0. I tried that and got this error: debian:~# /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary -l legolas Can't locate Time/ParseDate.pm in @INC (@INC contains: /usr/local/BackupPC/lib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44. BEGIN failed--compilation aborted at /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44. What needs to be done so that I have the best chance of getting as many backups visible and usable as possible? You need to install Time::ParseDate from CPAN. But you should only be running BackupPC_fixupBackupSummary if you are sure the backups file (ie: TOP/pc/HOST/backups) is lost or corrupted. It is not going to solve a permissions problem. You should look in TOP/pc/HOST and look for the numbered directories. Is there a corresponding line in the TOP/pc/HOST/backups file for every numbered directory? If not, then you can run BackupPC_fixupBackupSummary to try to recover the old information. Craig - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Authorization Required
No, my BackupPC_Admin is already in my cgi-bin directory. Do both the symlink and the BackupPC_Admin need to be in the cgi-bin directory? Thanks for the links on perl, I will read up and learn how to configure Apache2 with perl support. I am a windows guy and am only now learning linux. It's fun and I see why linux is much more secure than windows. It is however, very different to get things done in, windows being all plug and play and linux being very configuration file driven and compiling things rather than installing with exe files. Thanks for your patience! Eric Ralf Gross wrote: Eric Snyder said: OK. I have done this. For now I have commented out the security/authorization section. When I request http://debian/backuppc/ I get a file not found. Did you create the symlink index.cgi - BackupPC_Admin? When I request http://debian/backuppc/BackupPC_Admin I get the BackupPC_Admin file as a text file. I am guessing that I need perl on my Apache2. is this correct? http://backuppc.sourceforge.net/faq/BackupPC.html#requirements http://backuppc.sourceforge.net/faq/BackupPC.html#step_8__cgi_interface I'm not using mod_perl but perl-suid. Ralf - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Authorization Required
OK. I have done this. For now I have commented out the security/authorization section. When I request http://debian/backuppc/ I get a file not found. When I request http://debian/backuppc/BackupPC_Admin I get the BackupPC_Admin file as a text file. I am guessing that I need perl on my Apache2. is this correct? Ralf Gross wrote: Eric Snyder said: I just installed BackupPC 3.0 on a new installation on Debian. I had a previous installation and have a SCSI drive with backup data from the old install so I am hoping to get reconfigured to use those backups. The problem currently is that I am getting an Authorization Required prompt and the install did not give me a username/password combination like that older version did. Where is the htpasswd file located so I can change the password to something I can use? I just finished a fresh install on ubuntu 6.06 and put the following at the end of my /etc/apache2/sites-enabled/000-default file (virtial host section). Alias /backuppc/ /usr/local/BackupPC/cgi-bin/ Directory /usr/local/BackupPC/cgi-bin/ AllowOverride None Options ExecCGI FollowSymlinks AddHandler cgi-script .cgi DirectoryIndex index.cgi AuthGroupFile /etc/BackupPC/htgroup AuthUserFile /etc/BackupPC/htpasswd AuthType basic AuthName BackupPC admin require valid-user /Directory I also created a symlink index.cgi - BackupPC_Admin in the cgi directory and put the user www-data into group backuppc. Ralf - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Authorization Required
I just installed BackupPC 3.0 on a new installation on Debian. I had a previous installation and have a SCSI drive with backup data from the old install so I am hoping to get reconfigured to use those backups. The problem currently is that I am getting an Authorization Required prompt and the install did not give me a username/password combination like that older version did. Where is the htpasswd file located so I can change the password to something I can use? - OR - Ho do I completely get rid of the need for authentication. I am running in a situation that has low security risks. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Upgrade Problem
I upgraded to 3.0 and now am having problems with Apache. I am getting a Apache login and when I access my page but I cannot login no matter what. I have deleted my htpasswd file and commented out my authorization directives in the apache.conf file. Still didn't help. I think that my files are in the wrong place. Can someone please document for me where each file goes in a default I think I need to start from scratch with this so that I point everything to the right place. I accepted all the defaults on the installation except the data files. I pointed the data file location to where I have earlier data files. The link in etc/apache2/conf.d is broken. Where does it need to point to? What else will I need to make sure is where? - 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=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Error: Unable to read config.pl or language strings!!
I upgraded to the 3.0 Beta version and get the above error when accessing the web interface. Any ideas? - 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=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Error: Unable to read config.pl or language strings!!
Thanks. I renamed and moved my config files. Now I cannot authenticate. I'll work on that tomorrow. David Relson wrote: On Wed, 08 Nov 2006 22:09:44 -0600 Eric Snyder wrote: I upgraded to the 3.0 Beta version and get the above error when accessing the web interface. Any ideas? Yes. I encountered the same problem! 3.0.0 isn't finding your config files. If I recall, 2.1.2 uses /etc/backuppc while 3.0.0 uses /etc/BackupPC. Have you tried renaming the directory? Also, if you have config files for individual hosts, 3.0.0 expects them in /etc/BackupPC/pc. HTH, David - 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=lnkkid=120709bid=263057dat=121642___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] rsyncd on Windows XP Home
I had problems making rsyncd work on XP pro. I ended up giving up and using Samba rather than rsyncd. After I got past the authentication problem with rsyncd the backup would eventually not finish for some reason that I could never track down. Samba did not work well until I added a list of files to exclude which looks like this: $Conf{BackupFilesExclude} = [ '*/Cookies/*', '/BACKUP/*', '/backuppc/*', '/Documents and Settings/*/Application Data/Adobe/*', '/Documents and Settings/*/Application Data/Identities/*', '/Documents and Settings/*/Application Data/Macromedia/*', '/Documents and Settings/*/Application Data/Microsoft/*', '/Documents and Settings/*/Application Data/Real/*', '/Documents and Settings/*/Application Data/Talkback/*', '/Documents and Settings/*/Local Settings/History/*', '/Documents and Settings/*/Local Settings/Temp/*', '/Documents and Settings/*/Local Settings/Temporary Internet Files/*', '/Documents and Settings/*/NetHood/*', '/Documents and Settings/*/NetHood/*', '/Documents and Settings/*/PrintHood/*', '/Documents and Settings/*/PrintHood/*', '/Documents and Settings/*/Recent/*', '/Documents and Settings/*/Recent/*', '/Documents and Settings/*/Templates/*', '/Documents and Settings/*/UserData/*', '/Documents and Settings/admin/*', '/Documents and Settings/Administrator/*', '/Documents and Settings/Administrator/*', '/Documents and Settings/All Users/*', '/Documents and Settings/All Users/*', '/Documents and Settings/Default User/*', '/Documents and Settings/Default User/*', '/Documents and Settings/DELL/*', '/Documents and Settings/LDAP/.', '/Documents and Settings/LocalService/*', '/Documents and Settings/LocalService/*', '/Documents and Settings/NetworkService/*', '/Documents and Settings/NetworkService/*', '/I386/*', '/Multimedia Files/*', '/My Downloads/*', '/My Music/*', '/ocs-ng/*', '/Program Files/*/*', '/QUARANTINE/*', '/QUARANTINE/*', '/RECYCLER/*', '/System Volume Information/*', '/Temp/*', '/temp/*', '/tmp/*', '/TMP/*', '/WINDOWS/*', '/WINNT/*', '/WUTemp/*', '*/openv/var/vnetd/*', '*.sys', '*/.bash_history', '*/*.dll', '*/*.DLL', '*/*.sys', '*/*.TMP', '*/*.tmp', '*/~*', '*/$*$', '*/4gl/Database/*.bin', '*/4gl/Database/*.bin', '*/4gl/Database/CardCnf.dat', '*/Cache/*', '*/DataStore/*.edb', '*/dllcache/*', '*/FOXUSER.DBF', '*/FOXUSER.FPT', '*/History.IE*/*', '*/ntuser.dat*', '*/NTUSER.DAT*', '*/parent.lock', '*/Recent/*.lnk', '*/ServicePackFiles/*', '*/System Volume Information/*', '*/Temporary Internet Files/*', '*/Thumbs.db', '*/UsrClass.dat.LOG', '*/UsrClass.dat', '*/*.exe', '*/*.EXE', '*/*.*_' ]; After I added the file exclusion list it has been working faithfully every day. Every time I look at a nd browse backups I get a really warm fuzzy that I have this info getting backed up. One other thing I changed is the number of full backups to keep. I set this up to look like this: $Conf{FullKeepCnt} = [4, 4, 4, 2, 1, 1]; Make sure to read this part and see if you like how it is handling how many backups to keep. I *think* that it defaults to keeping one backup. Hope this helps, Eric Aaron Throckmorton wrote: I have a BackupPC installation running on Ubuntu Server 6.06 LTS. The server is working fine, but I can't get a Windows XP Home computer to successfully backup. I installed the rsyncd service (downloaded from the backuppc project page on sourceforge). When I attempt a backup I get the following error message: "auth failed on module docs" I switched it to the cDrive module, but I get the same error. I have double and triple checked the host config file on the backuppc server to ensure the user name and password (RsyncdUsername and RsyncdPasswd) match what I have in the rsyncd.secrets file. I've been googling and searching the list archives but haven't found my answer. Here is the rsyncd.conf file: # # A sample rsyncd.conf file usable with BackupPC. This file does not # completely document all of the settings for rsyncd.conf - see the # man page that comes with the rsync ditribution for a comprehensive # overview off all available settings. # # # Allow rsync to change the root directory to the module location # upon connection of a client. This is disabled for Win32 as we do # not provide a full Cygwin environment. # # Warning: with a setting of "false", absolute symlinks will be # stripped of their leading "/". See "use chroot" in the rsyncd.conf # man page. This is relevant for machines that support symlinks # (WinXX machines do not). # use chroot = false # #
Re: [BackupPC-users] can I back up a mounted directory ?
Robert: I too had problems performing backups of XP machines using Samba. The way I finally fixed it was to use the connect string in a terminal to connect to the the share with samba rather than through Nautilus (file browser in Ubuntu distro). I assume you are using an file browser of some kind to test your connection with samba. Have a look at this page http://backuppc.sourceforge.net/faq/debugXfer.html , it helped me. It turns out that I did not include the correct username and password in my configuration file. Secondly, when a backup would start it would eventually bomb because Windows allows file names that are illegal in linux. I am not sure but my theory is that after a whole bunch of errors backuppc just bombs out. This post here lists exclusions that really helped me out. http://sourceforge.net/mailarchive/forum.php?thread_id=30038283forum_id=503 http://sourceforge.net/mailarchive/forum.php?thread_id=30038283forum_id=503 On that same subject it seems I saw a posting in this mailing list where someone said that they rename everything that ends up being illegal. I have not returned to study this closer yet. Also I have a main configuration file and a per machine config file for each machine. On the per machine config I went through and removed all the configuration directives that did not apply to the XP machine and removed any that were defaults for all machines. I am now getting my backups every night since last weekend. Hope this helps... Eric Snyder Robert G. Ristroph wrote: Hi, I am setting my first instance of BackupPC. I have a CentOS 4.3 server and I would like to backup a Windows XP computer. I tried to make the BackupPC use the smb transport. I made the windows machine have a share called backup and I made sure I could see it with smbclient. When I click on the start full backup button, it doesn't work -- here is what is in the LOG: 2006-08-15 19:39:56 full backup started for share backup 2006-08-15 19:39:58 Got fatal error during xfer (tree connect failed: NT_STATUS_ACCESS_DENIED) 2006-08-15 19:40:03 Backup aborted (tree connect failed: NT_STATUS_ACCESS_DENIED) and here is what is says in the Last bad Xfer LOG: Contents of file /home/backuppc/data/pc/192.168.1.34/XferLOG.bad.z, modified 2006-08-15 19:40:03 Running: /usr/bin/smbclient 192.168.1.34\\backup -U -E -N -d 1 -c tarmode\ full -Tc - Xfer PIDs are now 10759,10758 Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] tree connect failed: NT_STATUS_ACCESS_DENIED Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] tree connect failed: NT_STATUS_ACCESS_DENIED tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal Got fatal error during xfer (tree connect failed: NT_STATUS_ACCESS_DENIED) Backup aborted (tree connect failed: NT_STATUS_ACCESS_DENIED) Now, if I take that smbclient command and paste it to the command line, either as root or as the backuppc user, it works -- at least I presume it works, because endless junk characters go by on the screen until I hit control-C. Since I couldn't figure out that, I then thought of using another method. I could mount the directories with smbmount, and then tar from the mount point. That is probably what I will do if you guys don't have any other suggestions. Thanks, --Rob - 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=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Moving installation and Samba and/or rsyncd problems
Hello all: First of all, if I can get backuppc working it looks to rock! I have a couple of questions: I am running Ubuntu V6.06 LTS, Backuppc V2.1.2. 1) My installation is in the wrong place. It is on my bootable 20GB hard drive, not my 160GB second drive. How do I move my installation and still keep my backups and such? 2) I am backing the server that BackupPC is loaded on, a couple of PC's and will soon be adding a Mac to the network. The Samba configuration seems to work great with the localhost but always failed on the PC. I was getting a tree connect failed: NT_STATUS_BAD_NETWORK_NAME. After trying to work it out I switched to rsyncd and have started getting backups. Now the backup gets partway through and the fails with a Got fatal error during xfer (Child exited prematurely). I don't care so much if I use Samba or rsyncd, can comeone help with the configuration of one or the other? Thanks in advance... Eric - 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=lnkkid=120709bid=263057dat=121642 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/