Re: [BackupPC-users] Exclude directory based on dot file?
Rsync supports precisely what you want: place the following item into your RsyncArgs argument list (the name .rsyncPerDirFilter is just a name choosen for this example - but the space between the : and the name is mandatory, possibly needs to be backslashed). --filter=: .rsyncPerDirFilter In each directory where a user wants files to be excluded, he can create a file of that name, with a content like - suchafile - /suchafile* - /suchadir/*** to exclude all files/directories that match one of the patterns (be carefull, rsync reads these lines one after the other and triggers on the first match it finds - later matches are not seen, even if they would be more restrictive). Have a look at the "INCLUDE/EXCLUDE PATTERN RULES" in the rsync man page. I found this slightly dangerous - you introduce a filter file and than forget about it or dont tell about it ... -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Many full backup
Hi! I'd like many full backups (example 7). Which parameter need in host1.pl file? Thanks +-- |This was sent by hirleve...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Exclude directory based on dot file?
On Tue, Jan 27, 2009 at 1:36 AM, Juergen Harms wrote: > Rsync supports precisely what you want: place the following item into > your RsyncArgs argument list (the name .rsyncPerDirFilter is just a name > choosen for this example - but the space between the : and the name is > mandatory, possibly needs to be backslashed). > > --filter=: .rsyncPerDirFilter Thanks, Juergen! I will look into that option. The danger of using it is duly noted! Reid -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Many full backup
On Tue, Jan 27, 2009 at 5:04 AM, tagore wrote: > > Hi! > > I'd like many full backups (example 7). Which parameter need in host1.pl file? I think you want this one: $Conf{FullKeepCnt} = 7; reid -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Backuppc cygwin rsync fails to write files to C drive.
Hi, not sure if anyone has come across this before. I have a full backup of a windows 2003 X86_64 R2 server. This includes an NT system state job to capture the parts the backuppc cannot backup nativly. The backup has a C$ share and a D$ share contained in it. I'm using cygwin with rsync version 2.6.9 on the windows server running as an rsyncd system service. I can restore the D$ share without any problems. But when I try and restore the C$ share to the C: drive of a rebuilt server. Backuppc says it has restored the files but when I check on the hard drive several files under C:\windows\system32\drivers have not been restored. This means that when I restore the system state and reboot I get unrecoverable boot errors. So I have to rebuild the server from scratch. I have managed to restore some of the driver files to the root of the D: drive. But when I try and restore them with the full path to the D$ drive I get an error saying mkdir failed. Any ideas would be appreciated. +-- |This was sent by supp...@vnetrix.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Backuppc cygwin rsync fails to write files to Cdrive.
Have you tried booting into safe mode? Chris Baker -- cba...@intera.com systems administrator INTERA -- 512-425-2006 -Original Message- From: vnetrix [mailto:backuppc-fo...@backupcentral.com] Sent: Tuesday, January 27, 2009 12:02 PM To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] Backuppc cygwin rsync fails to write files to Cdrive. Hi, not sure if anyone has come across this before. I have a full backup of a windows 2003 X86_64 R2 server. This includes an NT system state job to capture the parts the backuppc cannot backup nativly. The backup has a C$ share and a D$ share contained in it. I'm using cygwin with rsync version 2.6.9 on the windows server running as an rsyncd system service. I can restore the D$ share without any problems. But when I try and restore the C$ share to the C: drive of a rebuilt server. Backuppc says it has restored the files but when I check on the hard drive several files under C:\windows\system32\drivers have not been restored. This means that when I restore the system state and reboot I get unrecoverable boot errors. So I have to rebuild the server from scratch. I have managed to restore some of the driver files to the root of the D: drive. But when I try and restore them with the full path to the D$ drive I get an error saying mkdir failed. Any ideas would be appreciated. +-- |This was sent by supp...@vnetrix.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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/ -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Many full backup
Hi! Thank you! It's good! Tagore +-- |This was sent by hirleve...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Backuppc cygwin rsync fails to write files to C drive.
On Tue, Jan 27, 2009 at 01:01:41PM -0500, vnetrix wrote: > > Hi, > not sure if anyone has come across this before. I have a full backup of a > windows 2003 X86_64 R2 server. This includes an NT system state job to > capture the parts the backuppc cannot backup nativly. > > The backup has a C$ share and a D$ share contained in it. > I'm using cygwin with rsync version 2.6.9 on the windows server running as an > rsyncd system service. > > I can restore the D$ share without any problems. But when I try and restore > the C$ share to the C: drive of a rebuilt server. Backuppc says it has > restored the files but when I check on the hard drive several files under > C:\windows\system32\drivers have not been restored. > > This means that when I restore the system state and reboot I get > unrecoverable boot errors. So I have to rebuild the server from scratch. > > I have managed to restore some of the driver files to the root of the D: > drive. But when I try and restore them with the full path to the D$ drive I > get an error saying mkdir failed. > Make sure that the rsync daemon is running as a user who has permission to create the files/directories you are trying to restore. -Rob -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] how to make a backup available as a backup basis for another client?
Matthias Meyer wrote: > I plan to backup (with rsync) some machines with nearly identical data > (operating system). Because this machines are only reachable through > internet I want to avoid a lot of traffic for files which are already > on the backuppc server. > I assume rsync will only compare the data between the client and the > backup of the client and not between client and cpool!? > > So my idea: > 0) create host1 with the backuppc gui > 1) host1 runs a full backup > 2) create host2 with the backuppc gui > 3) cp -a /var/lib/backuppc/pc/host1/0 /var/lib/backuppc/pc/host2/0 > 4) cp -a /var/lib/backuppc/pc/host1/backups > /var/lib/backuppc/pc/host2/backups 5) run a full backup for host2 > 6) run BackupPC_deleteBackup -c host2 -d 0 > > Someone believe that this will make a problem? > If somebody is interested I can make a script > (similiar the BackupPC_deleteBackup) and store it in the wiki. > > br > Matthias ;-) As outlined in the documentation: su backuppc cd NEW_TOPDIR mkdir pc cd pc /usr/share/backuppc/bin/BackupPC_tarPCCopy /var/lib/backuppc/pc | tar xvPf - I should run: su backuppc cd /var/lib/backuppc/pc/host2 mkdir 0 cd 0 /usr/share/backuppc/bin/BackupPC_tarPCCopy /var/lib/backuppc/pc/host1/0 | tar xvPf - br Matthias -- Don't Panic -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] against which basis rsync do compare files before transmit the changed part?
I do not fully understand how rsync works within backuppc. In the documentation for BackupPC_dump I found: As BackupPC_tarExtract extracts the files from smbclient or tar, or as rsync runs, it checks each file in the backup to see if it is identical to an existing file from any previous backup of any PC. Did that mean that during the rsync-process each sourcefile will be compared against all files in pool and cpool and if a file is found theire than only the changed part of this file will be transmitted? Or did rsync compare against all files in all backups of the appropriate host or only against all files in the last full backup of the appropriate host? Thanks Matthias -- Don't Panic -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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/