Re: [BackupPC-users] backing up FROM removable media (3.0.0beta3)
On Thu, 11 Jan 2007, Craig Barratt wrote: To decouple the removable media from your regular backups you could setup another virtual backup host (eg: HOST-extDrive) that just backs up the removable media. You should set $Conf{ClientNameAlias} to point HOST-extDrive at HOST. On Fri, 12 Jan 2007, Jason Hughes wrote: If you want to do this completely on the client's side, you could Google for junction points. They're symbolic links for Windows, allowing you to make an empty subdirectory somewhere on your client and junction in the removable drive. I think that would give you what you want without changing the backup server config. Thanks, both of you, for your suggestions. I like the first approach, as it will give me a way to have a reminder emailed if I forget to let it do a backup after N days. I may use these junction points for a different project, though, so thanks for the head's up on them! -- Regards, joe Joe Casadonte [EMAIL PROTECTED] -- Llama Fresh Farms = http://www.northbound-train.com Ramblings of a Gay Man = http://www.northbound-train.com/ramblings Emacs Stuff = http://www.northbound-train.com/emacs.html Music CD Trading = http://www.northbound-train.com/cdr.html -- Live Free, that's the message! -- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] backing up FROM removable media (3.0.0beta3)
Using 3.0.0beta3, backup client is WinXP Pro via rsyncd. I have an 80 GB USB hard drive that I'd like to back up if it's connected. If it's not, then I'd like the rest of the laptop backed up. I have 'BackupZeroFilesIsFatal' unchecked. Here's what I get in the log: 2007-01-11 06:01:41 incr backup started back to 2007-01-09 13:23:02 (backup #0) for directory G-Drive 2007-01-11 06:01:41 Got fatal error during xfer (chdir failed) 2007-01-11 06:01:46 Backup aborted (chdir failed) It seems to have thrown out the whole incremental that was done up until that point. Am I doing something that shouldn't be done, or is there a bug? -- Regards, joe Joe Casadonte [EMAIL PROTECTED] -- Llama Fresh Farms = http://www.northbound-train.com Ramblings of a Gay Man = http://www.northbound-train.com/ramblings Emacs Stuff = http://www.northbound-train.com/emacs.html Music CD Trading = http://www.northbound-train.com/cdr.html -- Live Free, that's the message! -- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] backing up FROM removable media (3.0.0beta3)
Joe writes: Using 3.0.0beta3, backup client is WinXP Pro via rsyncd. I have an 80 GB USB hard drive that I'd like to back up if it's connected. If it's not, then I'd like the rest of the laptop backed up. I have 'BackupZeroFilesIsFatal' unchecked. Here's what I get in the log: 2007-01-11 06:01:41 incr backup started back to 2007-01-09 13:23:02 (backup #0) for directory G-Drive 2007-01-11 06:01:41 Got fatal error during xfer (chdir failed) 2007-01-11 06:01:46 Backup aborted (chdir failed) It seems to have thrown out the whole incremental that was done up until that point. Am I doing something that shouldn't be done, or is there a bug? It's working as intended (although not as desired in your case). A backup (with multiple shares or directories) either fully succeeds, or it fails if any share failes and is discarded. To decouple the removable media from your regular backups you could setup another virtual backup host (eg: HOST-extDrive) that just backs up the removable media. You should set $Conf{ClientNameAlias} to point HOST-extDrive at HOST. Another approach would be to change this code in BackupPC_dump: UserCommandRun(DumpPreShareCmd, $shareName); if ( $? $Conf{UserCmdCheckStatus} ) { print(LOG $bpc-timeStamp, DumpPreShareCmd returned error status $?... exiting\n); print(dump failed: DumpPreShareCmd returned error status $?\n); UserCommandRun(DumpPostUserCmd) if ( $NeedPostCmd ); exit(1); } so that a particular exit status would do a next rather than exit. You would set $Conf{UserCmdCheckStatus} to 1 and $Conf{DumpPreShareCmd} to a command that checks if the media is there. This would cause the share to be skipped when the removable media isn't present. One benefit of having a different virtual host is that you can cancel just that backup if you need to remove the media without canceling the backup of the rest of the host (which is scheduled and runs independently). Craig - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] backing up FROM removable media (3.0.0beta3)
Joe Casadonte wrote: Using 3.0.0beta3, backup client is WinXP Pro via rsyncd. I have an 80 GB USB hard drive that I'd like to back up if it's connected. If it's not, then I'd like the rest of the laptop backed up. I have 'BackupZeroFilesIsFatal' unchecked. Here's what I get in the log: If you want to do this completely on the client's side, you could Google for junction points. They're symbolic links for Windows, allowing you to make an empty subdirectory somewhere on your client and junction in the removable drive. I think that would give you what you want without changing the backup server config. Good luck, JH - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/