Re: [BackupPC-users] Backup to same computer
On Thu, Jan 21, 2010 at 02:43:11AM +, Timothy Murphy wrote: What is the best way to backup a folder - in fact, my mail folder /home/tim/Maildir - with backuppc running on the same computer? I assume that I need to allow backuppc to read this folder? The easiest approach is a) install an rsyncd which allows only local connects b) threat your local machine just like any other server and use ssh/rsync with public-key authentication HTH, Tino, using b). -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Thanks for the software
Hi all, Just want to say thanks for this little gem. I just installed the software on a departmental Backupserver for our linux-group. After some initial troubles with the RSA-key and copy of the same to the clients, it all started to work properly; flawlessly that is (mental note; read howto's first...). Very nice piece of software this. My thanks to the authors! -- BW, Sorin --- # Sorin Srbu[Sysadmin, Systems Engineer] # Dept of Medicinal Chemistry, Phone: +46 (0)18-4714482 3 signals GSM # Div of Org Pharm Chem,Mobile: +46 (0)701-718023 # Box 574, Uppsala University, Fax: +46 (0)18-4714482 # SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b # Web: http://www.orgfarm.uu.se --- # () ASCII ribbon campaign - Against html E-mail # /\ # # MotD follows: # CentOS: The Freshmaker! smime.p7s Description: S/MIME cryptographic signature -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ 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] FileListReceive failed on Irix machine
-Original Message- From: Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] Sent: Thursday, January 21, 2010 1:10 PM To: 'backuppc-users@lists.sourceforge.net' Subject: FileListReceive failed on Irix machine Hi all, Of course after having mailed to this list about how good BackupPC is and how it worked flawlessly, I ran into a problem with one of our ancient SGI-machines. The error I get is seen below. full backup started for directory /etc Running: /usr/bin/ssh -q -x -l root xxx.yyy.zzz.nnn /usr/sbin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /etc/ Xfer PIDs are now 16088 Got remote protocol 1920169263 Fatal error (bad version): /usr/sbin/rsync Read EOF: Tried again: got 0 bytes fileListReceive() failed Done: 0 files, 0 bytes Got fatal error during xfer (fileListReceive failed) Backup aborted (fileListReceive failed) First problem was that it couldn't find the rsync executable, but I managed to track it down and change the path in this particular machine's setup page in BackupPC. After that, I got the above error message. Here however, I'm not entirely sure what's causing the failed fileListReceive command. I have a hunch it might be a case of BackupPC looking in the wrong place for something, just as with the former rsync executabel, but what? Unfortunately I'm not that into Irix at all, but know enough to know that it isn't quite like normal linux. Would anybody who has any insights in Irix please give me a hint or two as how to fix this? What's worse, there is no dmesg, as I know of in Irix, as suggested on http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Troubleshooting#fileListReceive_failed... -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ 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] Determining space consumed by a backup
On Wed, 2010-01-20 at 21:38 +0100, Pieter Wuille wrote: Yes, this is possible to determine. By default, the du system utility will count files occurring more than once in a set of directories only once. if you use this three times: cd /var/lib/backuppc/pc du -sh * du -sh [all workstations] du -sh [all non-workstations] You get three numbers, A, B and C. B is how much space you will need (excuding some filesystem metadata + size of the pool/cpool directories, but if you have 4TB of data, this is probably neglectable) on the new backuppc server. A-C is how much space you'll be able to free on the original one. Note that these commands may take a while (a few hours, i'd say) on a large filesystem. As for the migration itself, i'd suggest you to first attempt to create two identical backuppc configurations, with all data on both. If this works, you can delete all workstation-pc-subdirs on the second, and all non-workstation-pc-subdirs on the first. The nightly job will then delete all files which aren't used by any backup anymore. In case this is not possible because of harddisk space constraints, it may be a little more tricky/dangerous. Excellent. You're right, du is going to take a loogg time, but if it'll keep track, that works great. And that was about what I was expecting on the copy - space may be tricky, but I might have a way to temporarily get around that by adding some extra (non-permanent) storage with LVM for the copy, then after I trim everything down, I can remove the extra space. Thanks a lot for the help! -Ken -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] FileListReceive failed on Irix machine
Hi all, Of course after having mailed to this list about how good BackupPC is and how it worked flawlessly, I ran into a problem with one of our ancient SGI-machines. The error I get is seen below. full backup started for directory /etc Running: /usr/bin/ssh -q -x -l root xxx.yyy.zzz.nnn /usr/sbin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /etc/ Xfer PIDs are now 16088 Got remote protocol 1920169263 Fatal error (bad version): /usr/sbin/rsync Read EOF: Tried again: got 0 bytes fileListReceive() failed Done: 0 files, 0 bytes Got fatal error during xfer (fileListReceive failed) Backup aborted (fileListReceive failed) First problem was that it couldn't find the rsync executable, but I managed to track it down and change the path in this particular machine's setup page in BackupPC. After that, I got the above error message. Here however, I'm not entirely sure what's causing the failed fileListReceive command. I have a hunch it might be a case of BackupPC looking in the wrong place for something, just as with the former rsync executabel, but what? Unfortunately I'm not that into Irix at all, but know enough to know that it isn't quite like normal linux. Would anybody who has any insights in Irix please give me a hint or two as how to fix this? Thanks. -- BW, Sorin --- # Sorin Srbu[Sysadmin, Systems Engineer] # Dept of Medicinal Chemistry, Phone: +46 (0)18-4714482 3 signals GSM # Div of Org Pharm Chem,Mobile: +46 (0)701-718023 # Box 574, Uppsala University, Fax: +46 (0)18-4714482 # SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b # Web: http://www.orgfarm.uu.se --- # () ASCII ribbon campaign - Against html E-mail # /\ # # MotD follows: # Where fear is present, wisdom cannot be. -Lactantius smime.p7s Description: S/MIME cryptographic signature -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ 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] FileListReceive failed on Irix machine
hi, I could never get rsync to work with our last SGI system and I switched it to use gnu tar instead. I got it gnu tar from http://freeware.sgi.com/ Mark On 1/21/2010 7:09 AM, Sorin Srbu wrote: it worked flawlessly, I ran into a problem with one of our ancient -- Mark Maciolek Network Administrator Morse Hall 339 862-3050 m...@sr.unh.edu https://www.sr.unh.edu -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backup to same computer
Tino Schwarze wrote: On Thu, Jan 21, 2010 at 02:43:11AM +, Timothy Murphy wrote: What is the best way to backup a folder - in fact, my mail folder /home/tim/Maildir - with backuppc running on the same computer? I assume that I need to allow backuppc to read this folder? The easiest approach is a) install an rsyncd which allows only local connects b) threat your local machine just like any other server and use ssh/rsync with public-key authentication Tino, using b). Thanks for your comment. I take it from your final remark that (a) and (b) are alternative methods? I tried (b), as far as I understood it, but without success. I added my id_rsa.pub to backuppc's .ssh/authorized_keys so that when I run as backuppc on this machine (helen) I can access my account with ssh -l tim helen . However, when I try to backup /home/tim/Maildir/ I fail with the usual 4 bytes failure: --- 2010-01-21 14:14:19 full backup started for directory /home/tim/Maildir/ 2010-01-21 14:14:20 Got fatal error during xfer (Unable to read 4 bytes) 2010-01-21 14:14:25 Backup aborted (Unable to read 4 bytes) --- Could you say precisely what you did to get this working, please. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] FileListReceive failed on Irix machine
Sorin Srbu wrote: Of course after having mailed to this list about how good BackupPC is and how it worked flawlessly, I ran into a problem with one of our ancient SGI-machines. The error I get is seen below. full backup started for directory /etc Running: /usr/bin/ssh -q -x -l root xxx.yyy.zzz.nnn /usr/sbin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /etc/ Xfer PIDs are now 16088 Got remote protocol 1920169263 Fatal error (bad version): /usr/sbin/rsync Valid protocol numbers should be 30 or lower; backuppc must negotiate 28 or lower. Something is very wrong here. Read EOF: Tried again: got 0 bytes fileListReceive() failed Done: 0 files, 0 bytes Got fatal error during xfer (fileListReceive failed) Backup aborted (fileListReceive failed) First problem was that it couldn't find the rsync executable, but I managed to track it down and change the path in this particular machine's setup page in BackupPC. After that, I got the above error message. Here however, I'm not entirely sure what's causing the failed fileListReceive command. I have a hunch it might be a case of BackupPC looking in the wrong place for something, just as with the former rsync executabel, but what? Unfortunately I'm not that into Irix at all, but know enough to know that it isn't quite like normal linux. Would anybody who has any insights in Irix please give me a hint or two as how to fix this? What's worse, there is no dmesg, as I know of in Irix, as suggested on http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Troubleshooting#fileListReceive_failed... First, make sure that there is nothing like a message-of-the-day generating output from the shell before rsync starts. That's a common problem but I'm not sure if it causes this issue. You should be able to test with some rsync commands from the backuppc server command line to see if it works at all. If not and you have a compiler, I'd try to build a newer version from source. Or switch to tar as the xfer method. For that you need the gnu version of tar which may be named gtar if you have it at all. -- Les Mikesell lesmikes...@gmail.com -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backup to same computer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timothy Murphy wrote: Tino Schwarze wrote: On Thu, Jan 21, 2010 at 02:43:11AM +, Timothy Murphy wrote: What is the best way to backup a folder - in fact, my mail folder /home/tim/Maildir - with backuppc running on the same computer? I assume that I need to allow backuppc to read this folder? The easiest approach is a) install an rsyncd which allows only local connects b) threat your local machine just like any other server and use ssh/rsync with public-key authentication Tino, using b). Thanks for your comment. I take it from your final remark that (a) and (b) are alternative methods? I tried (b), as far as I understood it, but without success. I added my id_rsa.pub to backuppc's .ssh/authorized_keys so that when I run as backuppc on this machine (helen) I can access my account with ssh -l tim helen . backuppc needs the private id_rsa file in it's .ssh directory. You need to add the id_rsa.pub to tim's .ssh/authorized_keys file on helen... However, when I try to backup /home/tim/Maildir/ I fail with the usual 4 bytes failure: --- 2010-01-21 14:14:19 full backup started for directory /home/tim/Maildir/ 2010-01-21 14:14:20 Got fatal error during xfer (Unable to read 4 bytes) 2010-01-21 14:14:25 Backup aborted (Unable to read 4 bytes) --- Could you say precisely what you did to get this working, please. Try making sure you can login as the backuppc user and do ssh -l tim helen id and get just the string tim back You need to do that once manually anyway to accept the SSH host key for backuppc user. Hope that helps. Regards, Adam -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktYbNwACgkQGyoxogrTyiXgnACfXL9o261mETRAeymHEkYOaLl8 pykAoKTncF8eP7ht3hLc1Qq8GkO1FI0/ =JBrQ -END PGP SIGNATURE- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] FileListReceive failed on Irix machine
-Original Message- From: Mark Maciolek [mailto:m...@sr.unh.edu] Sent: Thursday, January 21, 2010 3:40 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] FileListReceive failed on Irix machine I could never get rsync to work with our last SGI system and I switched it to use gnu tar instead. I got it gnu tar from http://freeware.sgi.com/ @Les Mikesell and Mark Maciolek: I'll look into gtar instead then. Thanks! -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ 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] FileListReceive failed on Irix machine
-Original Message- From: Adam Goryachev [mailto:mailingli...@websitemanagers.com.au] Sent: Thursday, January 21, 2010 3:47 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] FileListReceive failed on Irix machine -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/21/2010 7:09 AM, Sorin Srbu wrote: it worked flawlessly, I ran into a problem with one of our ancient Sorry, missed replying to your original message, but from memory (on linux systems) it seems to suggest that when backuppc logs into your irix machine and attempts to run rsync, it is getting some input from a shell or other login script instead of input from rsync binary. You might try to login to the backuppc machine as the backuppc user, and run the command ssh r...@irix id and make sure you do not get *ANY* output other than root. If you get any other output track down what is causing it, and remove it. Thanks. It would seem that using tar instead with this machine might be easier. I'll try it out and see what I get, and then post back when and if. -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ 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] (fileListReceive failed)
So is there any way I can change rsync's MAXPATHLEN ? I have a look at the config file but I can seem to see it any where ? Any help would be greatly appriceated. Thanks Pat On Mon, Jan 18, 2010 at 6:58 PM, Michael Stowe mst...@chicago.us.mensa.org wrote: The following is appearing in the logs: 2010-01-18 15:53:00 User backuppc requested backup of law98 (law98) 2010-01-18 15:53:01 Started full backup on law98 (pid=14346, share=cDrive) 2010-01-18 15:53:37 law98: overflow: flags=0x78 l1=215 l2=352471873, lastname=Documents and Settings/Administrator/Local Settings/Application Data/Google/Google Desktop/db8b98c89a34/dbeam 2010-01-18 15:53:42 Backup failed on law98 (fileListReceive failed) This part implies that you're exceeding rsync's MAXPATHLEN -- in other words, the path you're trying to transfer is bigger than what rsync can accept (on one end or the other.) -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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/ -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] FileListReceive failed on Irix machine
-Original Message- From: Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] Sent: Thursday, January 21, 2010 4:37 PM To: 'General list for user discussion, questions and support' Subject: Re: [BackupPC-users] FileListReceive failed on Irix machine I could never get rsync to work with our last SGI system and I switched it to use gnu tar instead. I got it gnu tar from http://freeware.sgi.com/ @Les Mikesell and Mark Maciolek: I'll look into gtar instead then. Thanks! This support-list appears to be as good as the software. ;-) Seems to be working with gtar. Thanks guys! -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ 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] Backups vanish nightly...
We've been happily running BackupPC for a couple years now at a couple different sites. One site, running 3.0 was behaving perfectly, until Monday night, when much to my surprise, it had deleted every backup, and had preformed a full against all hosts. That full is labeled 0. That made it a great time to upgrade, so I rm'ed the backuppc data directories, installed 3.1.0, restarted the backups.. But the problem persists.. Every night since, it removes the last evenings backup, and does a new full, still labeled 0. Any ideas where to start looking? Thanks! -- Don Krause -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] (fileListReceive failed)
It is [unfortunately] compiled in, but this comes from the OLDNEWS file on my distribution: - Some buffer sizes were expanded a bit, particularly on systems where MAXPATHLEN is overly small (e.g. cygwin). So it may suffice to upgrade to a later version. It's defined in rsync.h but would typically be set by the build platform. So is there any way I can change rsync's MAXPATHLEN ? I have a look at the config file but I can seem to see it any where ? Any help would be greatly appriceated. Thanks Pat On Mon, Jan 18, 2010 at 6:58 PM, Michael Stowe mst...@chicago.us.mensa.org wrote: The following is appearing in the logs: 2010-01-18 15:53:00 User backuppc requested backup of law98 (law98) 2010-01-18 15:53:01 Started full backup on law98 (pid=14346, share=cDrive) 2010-01-18 15:53:37 law98: overflow: flags=0x78 l1=215 l2=352471873, lastname=Documents and Settings/Administrator/Local Settings/Application Data/Google/Google Desktop/db8b98c89a34/dbeam 2010-01-18 15:53:42 Backup failed on law98 (fileListReceive failed) This part implies that you're exceeding rsync's MAXPATHLEN -- in other words, the path you're trying to transfer is bigger than what rsync can accept (on one end or the other.) -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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/ -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backup to same computer
I came to the conclusion that tar was actually a faster way to do backups on the local system. Less CPU usage, and bandwidth is not a problem. YMMV. You do need to use sudo in order to make sure you can access all the files, however, so add a couple of lines like this to your /etc/sudoers: # allow backuppc to run as root, in order to get all the files backuppc ALL=NOPASSWD: /bin/tar here's my localhost.pl file: # # Local server backup of /etc as user backuppc # $Conf{XferMethod} = 'tar'; # let it back itself up anytime it wants to. $Conf{BlackoutPeriods} = []; $Conf{TarShareName} = ['/']; $Conf{BackupFilesExclude} = ['/proc', '/sys', '/var/lib/backuppc', '/var/log', '/tmp', '/var/tmp', '/mnt', '/media']; $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f - -C $shareName --totals'; # remove extra shell escapes ($fileList+ etc.) that are # needed for remote backups but may break local ones $Conf{TarFullArgs} = '$fileList'; $Conf{TarIncrArgs} = '--newer=$incrDate $fileList'; # turning off compression on these files, so they can be recovered without # backuppc. # wouldn't make sense to need your backup server, # in order to recover your backup server, now would it? $Conf{CompressLevel} = 0; -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backup to same computer
On Thu, Jan 21, 2010 at 10:31:26AM -0600, Carl Wilhelm Soderstrom wrote: I came to the conclusion that tar was actually a faster way to do backups on the local system. Less CPU usage, and bandwidth is not a problem. YMMV. But tar comes with a price: If you extract an archive, therefore creating files with ctime in the past, they won't get picked up by incremental backups. I suppose, you already knew that... Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On 1/21/2010 10:08 AM, Don Krause wrote: We've been happily running BackupPC for a couple years now at a couple different sites. One site, running 3.0 was behaving perfectly, until Monday night, when much to my surprise, it had deleted every backup, and had preformed a full against all hosts. That full is labeled 0. That made it a great time to upgrade, so I rm'ed the backuppc data directories, installed 3.1.0, restarted the backups.. But the problem persists.. Every night since, it removes the last evenings backup, and does a new full, still labeled 0. Any ideas where to start looking? Did you do an fsck on the filesystem holding the backups? I doubt if this is related to backuppc itself. -- Les Mikesell lesmikes...@gmail.com -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On Jan 21, 2010, at 8:50 AM, Les Mikesell wrote: On 1/21/2010 10:08 AM, Don Krause wrote: We've been happily running BackupPC for a couple years now at a couple different sites. One site, running 3.0 was behaving perfectly, until Monday night, when much to my surprise, it had deleted every backup, and had preformed a full against all hosts. That full is labeled 0. That made it a great time to upgrade, so I rm'ed the backuppc data directories, installed 3.1.0, restarted the backups.. But the problem persists.. Every night since, it removes the last evenings backup, and does a new full, still labeled 0. Any ideas where to start looking? Did you do an fsck on the filesystem holding the backups? I doubt if this is related to backuppc itself. fsck comes back clean. even when run forced. I doubt this is a backuppc problem, I'm just at a loss where to look. This worked fine on this box for 18months +, there's no changes to the config files, they pass both diff and md5 against their backups. FWIW, it's running SLES 10, on an HP385 with 6x300G SCSI, RAID 5, ext3. Thanks -- Les Mikesell lesmikes...@gmail.com -- Don Krause -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] can't ping 'client'...sort of...
Hi: My backuppc server is a debian machine and I am trying to backup an xp machine. BackupPC tells me that it can't ping my xp machine. From a terminal window in debian, i can ping my xp machine when i use the ip address. 192.160.xx.xx If I ping using the host name of the xp machine (e.g. foo), the ping command displays some ip address i've never seen...something like 63.123.155.104how is it getting that and how can it be corrected? I recall that nslookup looks at the local hosts file first to resolve the namei look in my hosts file and found no such addressnow what? Thanks John +-- |This was sent by jjhu...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backup to same computer
On 1/21/2010 10:50 AM, Tino Schwarze wrote: On Thu, Jan 21, 2010 at 10:31:26AM -0600, Carl Wilhelm Soderstrom wrote: I came to the conclusion that tar was actually a faster way to do backups on the local system. Less CPU usage, and bandwidth is not a problem. YMMV. But tar comes with a price: If you extract an archive, therefore creating files with ctime in the past, they won't get picked up by incremental backups. I suppose, you already knew that... Most systems can't backdate ctime, only mtime, so you could fix that with the right arguments to gnutar. The part you can't fix easily is where you rename a directory and want to pick up the old files below it in their new location. Gnutar's --listed-incremental mode will handle that but requires some file manipulation to work. -- Les Mikesell lesmikes...@gmail.com -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On 1/21/2010 11:07 AM, Don Krause wrote: On Jan 21, 2010, at 8:50 AM, Les Mikesell wrote: On 1/21/2010 10:08 AM, Don Krause wrote: We've been happily running BackupPC for a couple years now at a couple different sites. One site, running 3.0 was behaving perfectly, until Monday night, when much to my surprise, it had deleted every backup, and had preformed a full against all hosts. That full is labeled 0. That made it a great time to upgrade, so I rm'ed the backuppc data directories, installed 3.1.0, restarted the backups.. But the problem persists.. Every night since, it removes the last evenings backup, and does a new full, still labeled 0. Any ideas where to start looking? Did you do an fsck on the filesystem holding the backups? I doubt if this is related to backuppc itself. fsck comes back clean. even when run forced. I doubt this is a backuppc problem, I'm just at a loss where to look. This worked fine on this box for 18months +, there's no changes to the config files, they pass both diff and md5 against their backups. FWIW, it's running SLES 10, on an HP385 with 6x300G SCSI, RAID 5, ext3. Is it just a problem with the file containing the list of backups or do the numbered backup directories under the pc/hostname/ directory go away too? -- Les Mikesell lesmikes...@gmail.com -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
Don writes: Every night since, it removes the last evenings backup, and does a new full, still labeled 0. fsck comes back clean. even when run forced. Is there some way that $Conf{FullKeepCnt} got set to 0? Please check both the main and per-host config files. Craig -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
Nope, it set to: $Conf{FullKeepCnt} = [ 4, 0, 4, 0, 0, 2 ]; On Jan 21, 2010, at 9:33 AM, Craig Barratt wrote: Don writes: Every night since, it removes the last evenings backup, and does a new full, still labeled 0. fsck comes back clean. even when run forced. Is there some way that $Conf{FullKeepCnt} got set to 0? Please check both the main and per-host config files. Craig -- Don Krause -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] FileListReceive failed on Irix machine
Sorin writes: full backup started for directory /etc Running: /usr/bin/ssh -q -x -l root xxx.yyy.zzz.nnn /usr/sbin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /etc/ Xfer PIDs are now 16088 Got remote protocol 1920169263 Fatal error (bad version): /usr/sbin/rsync I realize you have switched to gtar, but just for the record, the reason it is failing is that the ssh command generates this output /usr/sbin/rsync instead of quietly running rsync. So something on that machine (.bashrc, ssh debug etc?) is printing the command before it executes it. Craig -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] old backups not showing
I recently installed backuppc onto a new server and mounted /var/lib/backuppc from a remote NAS where all the backup data is stored. I can see all the old backups for the all my hosts except one. This one host ran a scheduled backup last night which started as backup # 0. I can see the old backups for this host when mounting the NAS onto my linux machine where backuppc is installed, but the backuppc web interface won't show me these backups, it only shows me backup #0. Why is it not showing me the older backups? I'm using backuppc 3.0 on ubuntu 8.04 server edition. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ 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] Backups vanish nightly...
Just an update, there are no errors in the logs, and a forced fsck on the file system is clean.. llupbt2:~ # fsck.ext3 -f /dev/cciss/c0d0p6 e2fsck 1.38 (30-Jun-2005) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/cciss/c0d0p6: 5987824/181534720 files (0.6% non-contiguous), 105141741/363048910 blocks llupbt2:~ # On Jan 21, 2010, at 9:36 AM, Don Krause wrote: Nope, it set to: $Conf{FullKeepCnt} = [ 4, 0, 4, 0, 0, 2 ]; On Jan 21, 2010, at 9:33 AM, Craig Barratt wrote: Don writes: Every night since, it removes the last evenings backup, and does a new full, still labeled 0. fsck comes back clean. even when run forced. Is there some way that $Conf{FullKeepCnt} got set to 0? Please check both the main and per-host config files. Craig -- Don Krause -- Don Krause -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On Jan 21, 2010, at 9:23 AM, Les Mikesell wrote: On 1/21/2010 11:07 AM, Don Krause wrote: On Jan 21, 2010, at 8:50 AM, Les Mikesell wrote: On 1/21/2010 10:08 AM, Don Krause wrote: We've been happily running BackupPC for a couple years now at a couple different sites. One site, running 3.0 was behaving perfectly, until Monday night, when much to my surprise, it had deleted every backup, and had preformed a full against all hosts. That full is labeled 0. That made it a great time to upgrade, so I rm'ed the backuppc data directories, installed 3.1.0, restarted the backups.. But the problem persists.. Every night since, it removes the last evenings backup, and does a new full, still labeled 0. Any ideas where to start looking? Did you do an fsck on the filesystem holding the backups? I doubt if this is related to backuppc itself. fsck comes back clean. even when run forced. I doubt this is a backuppc problem, I'm just at a loss where to look. This worked fine on this box for 18months +, there's no changes to the config files, they pass both diff and md5 against their backups. FWIW, it's running SLES 10, on an HP385 with 6x300G SCSI, RAID 5, ext3. Is it just a problem with the file containing the list of backups or do the numbered backup directories under the pc/hostname/ directory go away too? -- Les Mikesell lesmikes...@gmail.com The numbered directories are gone. I only have 0 from last nights backup, which is 0.3 days old, and it replaced the one from the day before.. -- Don Krause -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On Thu, Jan 21, 2010 at 10:37:31AM -0800, Don Krause wrote: Just an update, there are no errors in the logs, and a forced fsck on the file system is clean.. Please post the main logfile of BackupPC and a logfile of one affected host - spanning at least 2 days of continuous operation. Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] old backups not showing
On Thu, Jan 21, 2010 at 12:06 PM, Leandro Tracchia ltracc...@gmail.com wrote: I recently installed backuppc onto a new server and mounted /var/lib/backuppc from a remote NAS where all the backup data is stored. I can see all the old backups for the all my hosts except one. This one host ran a scheduled backup last night which started as backup # 0. I can see the old backups for this host when mounting the NAS onto my linux machine where backuppc is installed, but the backuppc web interface won't show me these backups, it only shows me backup #0. Why is it not showing me the older backups? I'm using backuppc 3.0 on ubuntu 8.04 server edition. I have no idea if it's the same problem I had, but are you running selinux in enforcing mode? I had moved my backups to /home/BackupPC because I had more room on that partition not realizing the proper selinux contexts were only being maintained for /var/lib/BackupPC. Since I recently purchased a new 500GB drive I decided to put backups back under /var/lib/BackupPC and now all my backups are showing again in the web interface. You can manually update the context but if they are not part of the targeted policy then if your volumes get relabeled for any reason the changes will be reverted. If you are running selinux in enforcing mode try changing temporarily to permissive and see if the problem persists. Richard -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
Don writes: The numbered directories are gone. I only have 0 from last nights backup, which is 0.3 days old, and it replaced the one from the day before.. Please look in the host's LOG file. Do you see messages like: 2005-02-06 11:20:55 removing old full backup 0 If not, then it appears something other than BackupPC is removing or trashing the files. If so, then BackupPC is removing the backups, and the only explanation I can think of is the $Conf{FullKeepCnt} ends up being 0. Could you have a syntax error in your main or per-PC config.pl files? Eg: try running this: perl PATH_TO_MAIN_CONFIG/config.pl perl PATH_TO_PER_HOST_CONFIG/config.pl Craig -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] old backups not showing
Leandro writes: I recently installed backuppc onto a new server and mounted /var/lib/backuppc from a remote NAS where all the backup data is stored. I can see all the old backups for the all my hosts except one. This one host ran a scheduled backup last night which started as backup # 0. I can see the old backups for this host when mounting the NAS onto my linux machine where backuppc is installed, but the backuppc web interface won't show me these backups, it only shows me backup #0. Why is it not showing me the older backups? I'm using backuppc 3.0 on ubuntu 8.04 server edition. It sounds like the backups file got trashed. It's the file in, eg, /data/BackupPC/pc/HOST/backups that summarizes each back. I assume it only has one line in it, right? If you have several numbered directories in /data/BackupPC/pc/HOST that don't have matching lines in /data/BackupPC/pc/HOST/backups then you should rebuild the backups file: su backuppc cp /data/BackupPC/pc/HOST/backups /data/BackupPC/pc/HOST/backups.save /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary HOST Craig -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On Jan 21, 2010, at 10:44 AM, Tino Schwarze wrote: On Thu, Jan 21, 2010 at 10:37:31AM -0800, Don Krause wrote: Just an update, there are no errors in the logs, and a forced fsck on the file system is clean.. Please post the main logfile of BackupPC and a logfile of one affected host - spanning at least 2 days of continuous operation. Tino. Sure.. The affected hosts (all of them on this installation.) only appear to have a very short log file for the previous night. It's almost as if the log file is being overwritten nightly as well.. As a bonus, here's the config file: (Comments stripped..) $Conf{ServerHost} = 'llupbt2'; $Conf{ServerPort} = -1; $Conf{ServerMesgSecret} = ''; $Conf{MyPath} = '/bin'; $Conf{UmaskMode} = 23; $Conf{WakeupSchedule} = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 ]; $Conf{MaxBackups} = 4; $Conf{MaxUserBackups} = 4; $Conf{MaxPendingCmds} = 10; $Conf{MaxBackupPCNightlyJobs} = 2; $Conf{BackupPCNightlyPeriod} = 1; $Conf{MaxOldLogFiles} = 14; $Conf{DfPath} = '/bin/df'; $Conf{DfCmd} = '$dfPath $topDir'; $Conf{SplitPath} = '/usr/bin/split'; $Conf{ParPath} = undef; $Conf{CatPath} = '/bin/cat'; $Conf{GzipPath} = '/usr/bin/gzip'; $Conf{Bzip2Path} = '/usr/bin/bzip2'; $Conf{DfMaxUsagePct} = 95; $Conf{TrashCleanSleepSec} = 300; $Conf{DHCPAddressRanges} = []; $Conf{BackupPCUser} = 'backuppc'; $Conf{TopDir} = '/export/facility/BackupPC'; $Conf{ConfDir} = '/etc/BackupPC'; $Conf{LogDir} = '/var/log/BackupPC'; $Conf{InstallDir} = '/usr/local/BackupPC'; $Conf{CgiDir} = '/usr/local/BackupPC/Apache/cgi-bin'; $Conf{BackupPCUserVerify} = '1'; $Conf{HardLinkMax} = 31999; $Conf{PerlModuleLoad} = undef; $Conf{ServerInitdPath} = undef; $Conf{ServerInitdStartCmd} = ''; $Conf{FullPeriod} = '6.97'; $Conf{IncrPeriod} = '0.97'; $Conf{FullKeepCnt} = [ 4, 0, 4, 0, 0, 2 ]; $Conf{FullKeepCntMin} = 1; $Conf{FullAgeMax} = 90; $Conf{IncrKeepCnt} = 6; $Conf{IncrKeepCntMin} = 1; $Conf{IncrAgeMax} = 30; $Conf{IncrLevels} = [ 1 ]; $Conf{BackupsDisable} = 0; $Conf{PartialAgeMax} = 3; $Conf{IncrFill} = '0'; $Conf{RestoreInfoKeepCnt} = 10; $Conf{ArchiveInfoKeepCnt} = 10; $Conf{BackupFilesOnly} = {}; $Conf{BackupFilesExclude} = { '*' = [ '/proc' ] }; $Conf{BlackoutBadPingLimit} = 3; $Conf{BlackoutGoodCnt} = 4; $Conf{BlackoutPeriods} = [ { 'hourEnd' = '23.5', 'weekDays' = [ 1, 2, 3, 4, 5 ], 'hourBegin' = 6 } ]; $Conf{BackupZeroFilesIsFatal} = '1'; $Conf{XferMethod} = 'tar'; $Conf{XferLogLevel} = 1; $Conf{ClientCharset} = ''; $Conf{ClientCharsetLegacy} = 'iso-8859-1'; $Conf{SmbShareName} = [ 'C$' ]; $Conf{SmbShareUserName} = ''; $Conf{SmbSharePasswd} = ''; $Conf{SmbClientPath} = '/usr/bin/smbclient'; $Conf{SmbClientFullCmd} = '$smbClientPath $host\\$shareName $I_option -U $userName -E -N -d 1 -c tarmode\\ full -Tc$X_option - $fileList'; $Conf{SmbClientIncrCmd} = '$smbClientPath $host\\$shareName $I_option -U $userName -E -N -d 1 -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList'; $Conf{SmbClientRestoreCmd} = '$smbClientPath $host\\$shareName $I_option -U $userName -E -N -d 1 -c tarmode\\ full -Tx -'; $Conf{TarShareName} = [ '/' ]; $Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host env LC_ALL=C $tarPath -c -v -f - -C $shareName+ --totals'; $Conf{TarFullArgs} = '$fileList+'; $Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+'; $Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+'; $Conf{TarClientPath} = '/bin/tar'; $Conf{RsyncClientPath} = '/usr/bin/rsync'; $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+'; $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+'; $Conf{RsyncShareName} = [ '/' ]; $Conf{RsyncdClientPort} = 873; $Conf{RsyncdUserName} = ''; $Conf{RsyncdPasswd} = ''; $Conf{RsyncdAuthRequired} = '1'; $Conf{RsyncCsumCacheVerifyProb} = '0.01'; $Conf{RsyncArgs} = [ '--numeric-ids', '--perms', '--owner', '--group', '-D', '--links', '--hard-links', '--times', '--block-size=2048', '--recursive' ]; $Conf{RsyncRestoreArgs} = [ '--numeric-ids', '--perms', '--owner', '--group', '-D', '--links', '--hard-links', '--times', '--block-size=2048', '--relative', '--ignore-times', '--recursive' ]; $Conf{BackupPCdShareName} = '/'; $Conf{BackupPCdPath} = ''; $Conf{BackupPCdCmd} = '$bpcdPath $host $shareName $poolDir $poolCompress $topDir/pc/$client/new'; $Conf{BackupPCdRestoreCmd} = '$bpcdPath TODO'; $Conf{ArchiveDest} = '/tmp'; $Conf{ArchiveComp} = 'gzip'; $Conf{ArchivePar} = '0'; $Conf{ArchiveSplit} = 0; $Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost $tarCreatePath $splitpath $parpath $host $backupnumber $compression $compext $splitsize
Re: [BackupPC-users] Backups vanish nightly...
Hi Don, On Thu, Jan 21, 2010 at 11:54:17AM -0800, Don Krause wrote: On Thu, Jan 21, 2010 at 10:37:31AM -0800, Don Krause wrote: Just an update, there are no errors in the logs, and a forced fsck on the file system is clean.. Please post the main logfile of BackupPC and a logfile of one affected host - spanning at least 2 days of continuous operation. Tino. Sure.. The affected hosts (all of them on this installation.) only appear to have a very short log file for the previous night. It's almost as if the log file is being overwritten nightly as well.. Please provide the logfiles hosts as well - there is a separate logfile for each host available via web interface... And this logfile is rotated, but it shouldn't start anew each day. (I didn't have the time to look through the config for now). Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On Jan 21, 2010, at 2:54 PM, Don Krause wrote: On Jan 21, 2010, at 10:44 AM, Tino Schwarze wrote: On Thu, Jan 21, 2010 at 10:37:31AM -0800, Don Krause wrote: Just an update, there are no errors in the logs, and a forced fsck on the file system is clean.. Please post the main logfile of BackupPC and a logfile of one affected host - spanning at least 2 days of continuous operation. Tino. Sure.. The affected hosts (all of them on this installation.) only appear to have a very short log file for the previous night. It's almost as if the log file is being overwritten nightly as well.. As a bonus, here's the config file: (Comments stripped..) $Conf{ServerHost} = 'llupbt2'; i've trimmed most of your included output for my reply, but before 2AM incrementals are running, but after 2 AM only fulls. Is something happening to your disk at 2? Can you halt BackupPC for one day and see if it's empty in the morning? Tony Schreiner -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On Jan 21, 2010, at 12:38 PM, Tino Schwarze wrote: Hi Don, On Thu, Jan 21, 2010 at 11:54:17AM -0800, Don Krause wrote: On Thu, Jan 21, 2010 at 10:37:31AM -0800, Don Krause wrote: Just an update, there are no errors in the logs, and a forced fsck on the file system is clean.. Please post the main logfile of BackupPC and a logfile of one affected host - spanning at least 2 days of continuous operation. Tino. Sure.. The affected hosts (all of them on this installation.) only appear to have a very short log file for the previous night. It's almost as if the log file is being overwritten nightly as well.. Please provide the logfiles hosts as well - there is a separate logfile for each host available via web interface... And this logfile is rotated, but it shouldn't start anew each day. (I didn't have the time to look through the config for now). Tino. They were in the same email, below the config. This is a typical client log file.. (This would be calib) llupbt2:/export/facility/BackupPC/pc/calib # cat LOG.012010 2010-01-21 02:00:18 full backup started for directory / 2010-01-21 02:20:37 full backup 0 complete, 39312 files, 1082940297 bytes, 20 xferErrs (0 bad files, 0 bad shares, 20 other) It's very strange, the per host log file looks like a new host, the backup file just lists the one '0' backup. Also, running perl on the various config files returns no errors.. llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/config.pl llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/pc/calib.pl llupbt2:/export/facility/BackupPC/pc/calib # Thanks very much for your time. -- Don Krause -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
I meant to also add in my previous message Check in particular the $topdir/pc directory after 2AM Tony -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On Jan 21, 2010, at 11:30 AM, Craig Barratt wrote: Don writes: The numbered directories are gone. I only have 0 from last nights backup, which is 0.3 days old, and it replaced the one from the day before.. Please look in the host's LOG file. Do you see messages like: 2005-02-06 11:20:55 removing old full backup 0 If not, then it appears something other than BackupPC is removing or trashing the files. If so, then BackupPC is removing the backups, and the only explanation I can think of is the $Conf{FullKeepCnt} ends up being 0. Could you have a syntax error in your main or per-PC config.pl files? Eg: try running this: perl PATH_TO_MAIN_CONFIG/config.pl perl PATH_TO_PER_HOST_CONFIG/config.pl Craig llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/config.pl llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/pc/calib.pl llupbt2:/export/facility/BackupPC/pc/calib # No instances of removing in the log files either.. Last nights log is interesting in that at 1am it claims to be starting incremental backups.. 2010-01-21 01:00:01 Started incr backup on g2disun (pid=31638, share=/) 2010-01-21 01:00:01 Started incr backup on gantry3 (pid=31639, share=/) 2010-01-21 01:00:01 Started incr backup on delta (pid=31643, share=/) 2010-01-21 01:00:04 Started incr backup on gantry2 (pid=31675, share=/) 2010-01-21 01:00:09 Started incr backup on gantry3 (pid=31639, share=/usr) 2010-01-21 01:00:14 Started incr backup on gantry2 (pid=31675, share=/usr) 2010-01-21 01:00:22 Started incr backup on delta (pid=31643, share=/usr) 2010-01-21 01:00:48 Started incr backup on gantry3 (pid=31639, share=/var) 2010-01-21 01:00:48 Started incr backup on delta (pid=31643, share=/export) 2010-01-21 01:00:53 Started incr backup on gantry2 (pid=31675, share=/var) Then, 2 hours later.. 2010-01-21 03:51:12 Started full backup on gantry2 (pid=489, share=/) 2010-01-21 03:52:19 Started full backup on gantry2 (pid=489, share=/usr) 2010-01-21 03:57:04 Finished crabs (BackupPC_link crabs) 2010-01-21 03:58:15 Started full backup on gantry3 (pid=452, share=/export/switc hyard) 2010-01-21 04:00:00 Next wakeup is 2010-01-21 05:00:00 2010-01-21 04:04:54 Started full backup on gantry3 (pid=452, share=/export/ingre s_back) 2010-01-21 04:04:58 Finished full backup on gantry3 2010-01-21 04:04:58 Running BackupPC_link gantry3 (pid=569) 2010-01-21 04:04:59 Started full backup on ebl-recovery (pid=571, share=/) 2010-01-21 04:05:04 Finished gantry3 (BackupPC_link gantry3) 2010-01-21 04:05:06 Backup failed on ebl-recovery (Unable to read 4 bytes) 2010-01-21 04:05:09 Started full backup on g1imgreg (pid=579, share=/) 2010-01-21 04:11:13 Started full backup on gantry2 (pid=489, share=/var) 2010-01-21 04:12:07 Started full backup on gantry2 (pid=489, share=/export/gantr y2) Thanks for you time! -- Don Krause -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
Hi Don, On Thu, Jan 21, 2010 at 12:49:28PM -0800, Don Krause wrote: On Jan 21, 2010, at 11:30 AM, Craig Barratt wrote: Don writes: The numbered directories are gone. I only have 0 from last nights backup, which is 0.3 days old, and it replaced the one from the day before.. Please look in the host's LOG file. Do you see messages like: 2005-02-06 11:20:55 removing old full backup 0 If not, then it appears something other than BackupPC is removing or trashing the files. If so, then BackupPC is removing the backups, and the only explanation I can think of is the $Conf{FullKeepCnt} ends up being 0. Could you have a syntax error in your main or per-PC config.pl files? Eg: try running this: perl PATH_TO_MAIN_CONFIG/config.pl perl PATH_TO_PER_HOST_CONFIG/config.pl Craig llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/config.pl llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/pc/calib.pl llupbt2:/export/facility/BackupPC/pc/calib # No instances of removing in the log files either.. Last nights log is interesting in that at 1am it claims to be starting incremental backups.. 2010-01-21 01:00:01 Started incr backup on g2disun (pid=31638, share=/) 2010-01-21 01:00:01 Started incr backup on gantry3 (pid=31639, share=/) 2010-01-21 01:00:01 Started incr backup on delta (pid=31643, share=/) 2010-01-21 01:00:04 Started incr backup on gantry2 (pid=31675, share=/) 2010-01-21 01:00:09 Started incr backup on gantry3 (pid=31639, share=/usr) 2010-01-21 01:00:14 Started incr backup on gantry2 (pid=31675, share=/usr) 2010-01-21 01:00:22 Started incr backup on delta (pid=31643, share=/usr) 2010-01-21 01:00:48 Started incr backup on gantry3 (pid=31639, share=/var) 2010-01-21 01:00:48 Started incr backup on delta (pid=31643, share=/export) 2010-01-21 01:00:53 Started incr backup on gantry2 (pid=31675, share=/var) Then, 2 hours later.. 2010-01-21 03:51:12 Started full backup on gantry2 (pid=489, share=/) 2010-01-21 03:52:19 Started full backup on gantry2 (pid=489, share=/usr) 2010-01-21 03:57:04 Finished crabs (BackupPC_link crabs) 2010-01-21 03:58:15 Started full backup on gantry3 (pid=452, share=/export/switc hyard) 2010-01-21 04:00:00 Next wakeup is 2010-01-21 05:00:00 2010-01-21 04:04:54 Started full backup on gantry3 (pid=452, share=/export/ingre s_back) 2010-01-21 04:04:58 Finished full backup on gantry3 2010-01-21 04:04:58 Running BackupPC_link gantry3 (pid=569) 2010-01-21 04:04:59 Started full backup on ebl-recovery (pid=571, share=/) 2010-01-21 04:05:04 Finished gantry3 (BackupPC_link gantry3) 2010-01-21 04:05:06 Backup failed on ebl-recovery (Unable to read 4 bytes) 2010-01-21 04:05:09 Started full backup on g1imgreg (pid=579, share=/) 2010-01-21 04:11:13 Started full backup on gantry2 (pid=489, share=/var) 2010-01-21 04:12:07 Started full backup on gantry2 (pid=489, share=/export/gantr y2) My bets are on something or someone is wiping your directories. Try disabling backups for this night, then see what it looks like the next day. I suppose, the directories will look pretty virgin. Maybe run a cronjob which does an ls -l /export/facility/BackupPC/pc/calib /tmp/watchit.`date +%Y%m%d-%H%M%S` every minute just to get an idea what's going on. Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Yet another offsite backup question. how to do the restore?
First of all my thanks and apologies to Adam Goryachev for responding so quickly. For some reason when I looked at the forum I didn't see any replies until just recently. Perhaps something was wrong in the email list to forum routing. Anyway, here goes I would think the *install* of backuppc doesn't modify any content of the data directories. However, running the newly installed backuppc would eventually run the nightly script, which would expire (delete) a heap of old backups (because your config was not what you wanted). Once those backups are expired, the nightly script would then prune the pool/cpool and remove all the files that are no longer needed by your backups, in the process renaming some pool files where files with colisions have been removed etc... this is exactly right. It wasn't that the install was changing data, it was when backuppc offsite server woke up and started removing old backups which then modified pool/cpool. hence almost full rsyncs instead of incremental. Why do you need 6TB of space? Do you mean you need 3TB to store your backups, and another 3TB for a single copy of all your data (the restore tar)? Or is there a temp file created somewhere that needs 3TB? yes because I need a place to store this full restore. Which ideally would be another server brought over and put on that lan. I could do this fine from the gui, but had issues doing it via command line piping to ssh in my lab. Looks like it requires a ton of memory. There is perhaps one scenario you are not protecting against, which is sabotage/hacking/etc. ie, an Internal or external agent manages to rm - -rf your local backup machine and/or one or more servers on the LAN. Will your remote rsync replicate this data destruction. leaving you with no backups? ie, the malicious person does the deed at 2am, and your rsync runs at 3am... will someone notice in time to stop the rsync and save your final copy of the data? Definitely not accounting for this scenario. yet. and that is a good point. And one that I will think about addressing next. So your reply really got me thinking about what I really need here. I need a backuppc install that is running read-only. More specifically I believe what I would need is to have the nightly script disabled. (the one that wakes up and removes old backups,prunes cpool/pool). I have yet to dig deep into how this could be done. But I welcome any suggestions. I will of course update this forum posting if I figure it out. And again thankyou Adam Goryachev and Shawn Perry for your replies +-- |This was sent by dst...@hugeinc.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
On Jan 21, 2010, at 1:06 PM, Tino Schwarze wrote: Hi Don, On Thu, Jan 21, 2010 at 12:49:28PM -0800, Don Krause wrote: On Jan 21, 2010, at 11:30 AM, Craig Barratt wrote: Don writes: The numbered directories are gone. I only have 0 from last nights backup, which is 0.3 days old, and it replaced the one from the day before.. Please look in the host's LOG file. Do you see messages like: 2005-02-06 11:20:55 removing old full backup 0 If not, then it appears something other than BackupPC is removing or trashing the files. If so, then BackupPC is removing the backups, and the only explanation I can think of is the $Conf{FullKeepCnt} ends up being 0. Could you have a syntax error in your main or per-PC config.pl files? Eg: try running this: perl PATH_TO_MAIN_CONFIG/config.pl perl PATH_TO_PER_HOST_CONFIG/config.pl Craig llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/config.pl llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/pc/calib.pl llupbt2:/export/facility/BackupPC/pc/calib # No instances of removing in the log files either.. Last nights log is interesting in that at 1am it claims to be starting incremental backups.. 2010-01-21 01:00:01 Started incr backup on g2disun (pid=31638, share=/) 2010-01-21 01:00:01 Started incr backup on gantry3 (pid=31639, share=/) 2010-01-21 01:00:01 Started incr backup on delta (pid=31643, share=/) 2010-01-21 01:00:04 Started incr backup on gantry2 (pid=31675, share=/) 2010-01-21 01:00:09 Started incr backup on gantry3 (pid=31639, share=/usr) 2010-01-21 01:00:14 Started incr backup on gantry2 (pid=31675, share=/usr) 2010-01-21 01:00:22 Started incr backup on delta (pid=31643, share=/usr) 2010-01-21 01:00:48 Started incr backup on gantry3 (pid=31639, share=/var) 2010-01-21 01:00:48 Started incr backup on delta (pid=31643, share=/export) 2010-01-21 01:00:53 Started incr backup on gantry2 (pid=31675, share=/var) Then, 2 hours later.. 2010-01-21 03:51:12 Started full backup on gantry2 (pid=489, share=/) 2010-01-21 03:52:19 Started full backup on gantry2 (pid=489, share=/usr) 2010-01-21 03:57:04 Finished crabs (BackupPC_link crabs) 2010-01-21 03:58:15 Started full backup on gantry3 (pid=452, share=/export/switc hyard) 2010-01-21 04:00:00 Next wakeup is 2010-01-21 05:00:00 2010-01-21 04:04:54 Started full backup on gantry3 (pid=452, share=/export/ingre s_back) 2010-01-21 04:04:58 Finished full backup on gantry3 2010-01-21 04:04:58 Running BackupPC_link gantry3 (pid=569) 2010-01-21 04:04:59 Started full backup on ebl-recovery (pid=571, share=/) 2010-01-21 04:05:04 Finished gantry3 (BackupPC_link gantry3) 2010-01-21 04:05:06 Backup failed on ebl-recovery (Unable to read 4 bytes) 2010-01-21 04:05:09 Started full backup on g1imgreg (pid=579, share=/) 2010-01-21 04:11:13 Started full backup on gantry2 (pid=489, share=/var) 2010-01-21 04:12:07 Started full backup on gantry2 (pid=489, share=/export/gantr y2) My bets are on something or someone is wiping your directories. Try disabling backups for this night, then see what it looks like the next day. I suppose, the directories will look pretty virgin. Maybe run a cronjob which does an ls -l /export/facility/BackupPC/pc/calib /tmp/watchit.`date +%Y%m%d-%H%M%S` every minute just to get an idea what's going on. Tino. I'll try that. It's very strange... Thanks Much! -- Don Krause -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] Backups vanish nightly...
Will do.. On Jan 21, 2010, at 2:59 PM, Shawn Perry wrote: and touch a file in there with the current date/time while you're at it. On Thu, Jan 21, 2010 at 2:06 PM, Tino Schwarze backuppc.li...@tisc.de wrote: Hi Don, On Thu, Jan 21, 2010 at 12:49:28PM -0800, Don Krause wrote: On Jan 21, 2010, at 11:30 AM, Craig Barratt wrote: Don writes: The numbered directories are gone. I only have 0 from last nights backup, which is 0.3 days old, and it replaced the one from the day before.. Please look in the host's LOG file. Do you see messages like: 2005-02-06 11:20:55 removing old full backup 0 If not, then it appears something other than BackupPC is removing or trashing the files. If so, then BackupPC is removing the backups, and the only explanation I can think of is the $Conf{FullKeepCnt} ends up being 0. Could you have a syntax error in your main or per-PC config.pl files? Eg: try running this: perl PATH_TO_MAIN_CONFIG/config.pl perl PATH_TO_PER_HOST_CONFIG/config.pl Craig llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/config.pl llupbt2:/export/facility/BackupPC/pc/calib # perl /etc/BackupPC/pc/calib.pl llupbt2:/export/facility/BackupPC/pc/calib # No instances of removing in the log files either.. Last nights log is interesting in that at 1am it claims to be starting incremental backups.. 2010-01-21 01:00:01 Started incr backup on g2disun (pid=31638, share=/) 2010-01-21 01:00:01 Started incr backup on gantry3 (pid=31639, share=/) 2010-01-21 01:00:01 Started incr backup on delta (pid=31643, share=/) 2010-01-21 01:00:04 Started incr backup on gantry2 (pid=31675, share=/) 2010-01-21 01:00:09 Started incr backup on gantry3 (pid=31639, share=/usr) 2010-01-21 01:00:14 Started incr backup on gantry2 (pid=31675, share=/usr) 2010-01-21 01:00:22 Started incr backup on delta (pid=31643, share=/usr) 2010-01-21 01:00:48 Started incr backup on gantry3 (pid=31639, share=/var) 2010-01-21 01:00:48 Started incr backup on delta (pid=31643, share=/export) 2010-01-21 01:00:53 Started incr backup on gantry2 (pid=31675, share=/var) Then, 2 hours later.. 2010-01-21 03:51:12 Started full backup on gantry2 (pid=489, share=/) 2010-01-21 03:52:19 Started full backup on gantry2 (pid=489, share=/usr) 2010-01-21 03:57:04 Finished crabs (BackupPC_link crabs) 2010-01-21 03:58:15 Started full backup on gantry3 (pid=452, share=/export/switc hyard) 2010-01-21 04:00:00 Next wakeup is 2010-01-21 05:00:00 2010-01-21 04:04:54 Started full backup on gantry3 (pid=452, share=/export/ingre s_back) 2010-01-21 04:04:58 Finished full backup on gantry3 2010-01-21 04:04:58 Running BackupPC_link gantry3 (pid=569) 2010-01-21 04:04:59 Started full backup on ebl-recovery (pid=571, share=/) 2010-01-21 04:05:04 Finished gantry3 (BackupPC_link gantry3) 2010-01-21 04:05:06 Backup failed on ebl-recovery (Unable to read 4 bytes) 2010-01-21 04:05:09 Started full backup on g1imgreg (pid=579, share=/) 2010-01-21 04:11:13 Started full backup on gantry2 (pid=489, share=/var) 2010-01-21 04:12:07 Started full backup on gantry2 (pid=489, share=/export/gantr y2) My bets are on something or someone is wiping your directories. Try disabling backups for this night, then see what it looks like the next day. I suppose, the directories will look pretty virgin. Maybe run a cronjob which does an ls -l /export/facility/BackupPC/pc/calib /tmp/watchit.`date +%Y%m%d-%H%M%S` every minute just to get an idea what's going on. Tino. -- What we nourish flourishes. - Was wir nähren erblüht. www.lichtkreis-chemnitz.de www.tisc.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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/ -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: