Re: [BackupPC-users] BackupPC working for a year, all of a sudden nothing works
Thank you all for your suggestions.. This is easily the most friendly and helpful email list I have ever participated in. I took the voltages on my power supply and while my +ive ones were good, my -12 was at -20, my -5 was at -10, and my -3.3 was at -6. Not good! I'm going to get a new power supply today and see what difference that makes. Thanks again! - Original Message - From: Juergen Harms juergen.ha...@unige.ch Date: Saturday, January 3, 2009 4:44 pm Subject: Re: [BackupPC-users] BackupPC working for a year, all of a sudden nothing works To: General list for user discussion, questions and support backuppc-users@lists.sourceforge.net It looks like the educated guesses do not help in this case. Something breaks without leaving an evident trace at the level of backuppc and of Linux - you need more evidence (I agree, after having eliminated the most likely explanations for such a diffusely manifested error). The next step I would attempt (and which has already been suggested) is to try and get more direct feedback from rsync: look at the command-line that backuppc generates and than run this command manually from a shell - maybe adding a -v to get more output. There may be some hope that rsync produces a helpful message which is not caught by backuppc and by the OS and which might give you a hint on what is going on. - - ___ 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 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] automated backup of specific dirs to local hdd
Don't spose I could get any advice/pointers from anyone here? see below... 31/12 jed wrote: Hi All, Is this app. purely for backup across networks to servers, or is it also perfectly fine for local backups of stipulated dirs? For starters I'm just wanting to regularly backup my Tbird/FF profiles to a separate hdd on the same Mac.. Can it deal with folders that contain data that's live and may be updating at the time of a backup? (hope that makes sense) I was going to start fiddling with all this but why reinvent the wheel?!? http://www.google.com.au/search?hl=enclient=firefox-arls=org.mozilla%3Aen-GB%3Aofficialq=bash+scripting+how-tobtnG=Searchmeta= http://www.google.com.au/search?hl=enclient=firefox-arls=org.mozilla%3Aen-GB%3Aofficialq=crontab+os+xbtnG=Searchmeta= or this may have worked better in practise than the above? http://rajeev.name/blog/2008/09/01/automated-osx-backups-with-launchd-and-rsync/ Any advice greatly appreciated :-) Seasons well wishes, Jed -- ___ 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] Client Updated- how tell BackupPC?
Christian writes: 2009-01-02 19:56:54 User admin requested backup of ip (ip) 2009-01-02 19:56:55 Started full backup on ip (pid=26716, share=/) 2009-01-02 19:56:56 Backup failed on ip (fileListReceive failed) The most common cause is extraneous output from the client-side ssh or shell before rsync starts. Can you send the first few lines of the XferLOG.bad file? Craig -- ___ 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] Starting Out Questions for Debian and Windows backups
I just setup backuppc 3.1.0 on a Debian system I am using it to backup several Debian machines and one Windows XP (using rsyncd and cygwin from the Backuppc Sourceforge site). I ran into a few issues that prompted some questions: 1. Windows XP SP2 backup using cygwin-rsyncd-2.6.8_0 I had to set strict modes = false to get rsync to work on the Windows machine (running as a service). If not, I got an authorization error. Since rsyncd is running as a service, the notes said I have to make the secrets file readable only by the SYSTEM account. How do I do that? I was logged in as an administrator, and I clicked on the properties for the secrets file and made it read only. That did not work. I googled for some info on SYSTEM user for XP, but I never found a solution. 2. What files should NOT be backed up on a Debian Linux machine? I originally set BackupFilesExclude = /proc, /mnt, /dev, /cdrom, /floppy, /lost+found, /media, /var/lib/backuppc, and then started a full backup. I got lots of errors (~10,000), and the log file shows most of them (all - too many to count!) were confined to /sys. Should /sys be excluded as well? I am not enough of a Debian/Linux guru to know if this is a directory I should exclude or not. It seems that it should be excluded based on what I have read about it, but I just wanted to check with the experts. Are there any other directories that should be excluded from a normal Debian installation? Some of the machines are servers for tomcat/apache, some are desktop machines running X. 3. Are there any Windows directories that should be excluded from a backup? The Windows machine is not a server, just a desktop with users. Thanks! Mark -- ___ 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] automated backup of specific dirs to local hdd
jed wrote: Don't spose I could get any advice/pointers from anyone here? see below... If you don't already have a webserver running, I wouldn't go with BackupPC for this scenario myself. I guess you're not running OS X 10.5? I like Time Machine for my OS X laptop backups myself. If you just want to copy a couple of dirs to another drive, I'd go with a simple (one line?) rsync script run by cron/launchd. Or rdiff-backup if I wanted to keep multiple backups around. But sure, you can use BackupPC too if you like. It probably just takes a little more time to setup. Nils Breunese. 31/12 jed wrote: Hi All, Is this app. purely for backup across networks to servers, or is it also perfectly fine for local backups of stipulated dirs? For starters I'm just wanting to regularly backup my Tbird/FF profiles to a separate hdd on the same Mac.. Can it deal with folders that contain data that's live and may be updating at the time of a backup? (hope that makes sense) I was going to start fiddling with all this but why reinvent the wheel?!? http://www.google.com.au/search?hl=enclient=firefox-arls=org.mozilla%3Aen-GB%3Aofficialq=bash+scripting+how-tobtnG=Searchmeta= http://www.google.com.au/search?hl=enclient=firefox-arls=org.mozilla%3Aen-GB%3Aofficialq=crontab+os+xbtnG=Searchmeta= or this may have worked better in practise than the above? http://rajeev.name/blog/2008/09/01/automated-osx-backups-with-launchd-and-rsync/ Any advice greatly appreciated :-) Seasons well wishes, Jed -- ___ 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] Starting Out Questions for Debian and Windows backups
2. What files should NOT be backed up on a Debian Linux machine? I originally set BackupFilesExclude = /proc, /mnt, /dev, /cdrom, /floppy, /lost+found, /media, /var/lib/backuppc, and then started a full backup. I got lots of errors (~10,000), and the log file shows most of them (all - too many to count!) were confined to /sys. Should /sys be excluded as well? I am not enough of a Debian/Linux guru to know if this is a directory I should exclude or not. It seems that it should be excluded based on what I have read about it, but I just wanted to check with the experts. Are there any other directories that should be excluded from a normal Debian installation? Some of the machines are servers for tomcat/apache, some are desktop machines running X. You should also exclude /tmp and /sys. You should think about whether or not you want to be able to completely restore the debian system from backuppc or if it is ok to reinstall the system and restore /etc. 3. Are there any Windows directories that should be excluded from a backup? The Windows machine is not a server, just a desktop with users. Because you cannot restore a windows system you should exlcude everything except the Documents and Settings and any other directories you store specific data in. Since it is not a server, I dont think you would have anything like mysql or anything like that. I would also add something like c:/backup and they run a script on the windows machine to save the registry into that folder just in case. -- ___ 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] Client Updated- how tell BackupPC?
Hi, 2009-01-02 19:56:56 Backup failed on ip (fileListReceive failed) The most common cause is extraneous output from the client-side ssh or shell before rsync starts. Can you send the first few lines of the XferLOG.bad file? Here you are. But shame on me.I forgot to install rsyncno wonder it didn't work... full backup started for directory / (baseline backup #31) Running: /usr/bin/ssh -q -x -l root ip /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --one-file-system --recursive --checksum-seed=32761 --ignore-times . / Xfer PIDs are now 16815 Got remote protocol 1752392034 Fatal error (bad version): bash: line 1: /usr/bin/rsync: No such file or directory Can't write 4 bytes to socket fileListReceive() failed Done: 0 files, 0 bytes Got fatal error during xfer (fileListReceive failed) Backup aborted by user signal Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0) -- ___ 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] Starting Out Questions for Debian and Windows backups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Phillips wrote: I just setup backuppc 3.1.0 on a Debian system I am using it to backup several Debian machines and one Windows XP (using rsyncd and cygwin from the Backuppc Sourceforge site). I ran into a few issues that prompted some questions: 1. Windows XP SP2 backup using cygwin-rsyncd-2.6.8_0 I had to set strict modes = false to get rsync to work on the Windows machine (running as a service). If not, I got an authorization error. Since rsyncd is running as a service, the notes said I have to make the secrets file readable only by the SYSTEM account. How do I do that? I was logged in as an administrator, and I clicked on the properties for the secrets file and made it read only. That did not work. I googled for some info on SYSTEM user for XP, but I never found a solution. This is only possible on MS Windows XP Pro, XP Home doesn't have these options. You will need to right click on the file, click properties, then click Security, and then adjust the properties for the individual users. 2. What files should NOT be backed up on a Debian Linux machine? I originally set BackupFilesExclude = /proc, /mnt, /dev, /cdrom, /floppy, /lost+found, /media, /var/lib/backuppc, and then started a full backup. I got lots of errors (~10,000), and the log file shows most of them (all - too many to count!) were confined to /sys. Should /sys be excluded as well? I am not enough of a Debian/Linux guru to know if this is a directory I should exclude or not. It seems that it should be excluded based on what I have read about it, but I just wanted to check with the experts. Are there any other directories that should be excluded from a normal Debian installation? Some of the machines are servers for tomcat/apache, some are desktop machines running X. Personally, I add --one-file-system to rsync, and then just backup all my filesystems. This automatically avoids devfs, /sys, /proc, etc... Sometimes I also exclude /var/logs, but there are some advantages to backing this dir up. I do also exclude /var/lib/mysql, but I have a script which dumps the DB, and these dump files are backed up. 3. Are there any Windows directories that should be excluded from a backup? The Windows machine is not a server, just a desktop with users. Again, it depends on if the system is XP Pro or XP Home... XP Pro has vshadow support, (search the mailing list, someone posted scripts on how to use that with backuppc etc in december). However, I wouldn't consider backuppc to be able to restore a 100% working machine, but I do tell backuppc to 'attempt' to backup ALL files anyway. I don't yet use the vshadow stuff, but at least I know I will have *ALL* user data files that I might need. Windows programs have bad habits of putting data files/etc in random locations all over the place. Documents Settings is not sufficient for most people. (From memory, even Outlook Express stores it's information under C:\windows somewhere...) Hope that helps. Regards, Adam -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklhVq4ACgkQGyoxogrTyiWvLQCdEnNSpR41slDsFZf+qm4Wt7BJ ws4An2rYqc5MuLSDFxn7q3+h31YFiOLL =/AI2 -END PGP SIGNATURE- -- ___ 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] backing up an ubuntu machine
i am currently running backuppc on a fedora machine. it backs up several systems and has been running like a champ for years.. what i would like to do is start backing up a new ubuntu machine into that pool.. the only problem i have is that i can't access my ubuntu machine via rsync with root access (in order to backup /home).. i supposed i could activate the 'root' user, but i am not too keen on that.. any ideas? thanks! ___ peace, sergio photographer, journalist, visionary www.village-buzz.com -- ___ 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] Reduce BackupPC_nightly to weekly?
Hi, dan wrote on 2008-12-28 20:10:20 -0700 [Re: [BackupPC-users] Reduce BackupPC_nightly to weekly?]: [...] I wonder how long a weekly cleanup job would take verses a daily? insignificantly longer. The difficult part is traversing the pool, not deleting files and renumbering chains. Sure, deleting large numbers of big files is going to take a while on some file systems, but you don't do more than the sum of what you would otherwise do daily. You save 6 traversals of the pool, though. For reference, I measured about 15 minutes for the traversal of a 103 GB pool (not with BackupPC_nightly, but with a similar algorithm, also implemented in Perl). Saving 90 minutes of heavy disk I/O per week does not sound like a bad thing. I would expect the same savings from an appropriate setting of $Conf{BackupPCNightlyPeriod} though. Spreading out the load evenly over several days is probably a better idea in most cases than doing all the work on one day per week (or one out of eight days). Currently, the maximum value for BackupPCNightlyPeriod is 16. I don't see why this couldn't be extended to allow the values 32, 64, 128 and 256. The pool structure would even allow for values upto 4096, but I very much doubt anything above, maybe, 64 makes any sense. Regards, Holger -- ___ 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 an ubuntu machine
Edit the host config, select the Xfer tab and change RsyncClientCmd and RsyncClientRestoreCmd from -l root to an existing username. Perhaps create a backuppc user with the appropriate permissions. On Sun, Jan 4, 2009 at 17:45, sergio_101 sergiol...@village-buzz.comwrote: i am currently running backuppc on a fedora machine. it backs up several systems and has been running like a champ for years.. what i would like to do is start backing up a new ubuntu machine into that pool.. the only problem i have is that i can't access my ubuntu machine via rsync with root access (in order to backup /home).. i supposed i could activate the 'root' user, but i am not too keen on that.. any ideas? thanks! ___ peace, sergio photographer, journalist, visionary www.village-buzz.com -- ___ 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/ -- [EOM] -- ___ 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/