[BackupPC-users] Data Directory
Hi, I've install backuppcpc on debian stable, and I would like to change the data directory location. I've try dpkg-reconfigure backuppc, and read the /etc/backuppc/config.pl, but I've found nothing. I think I (maybe) can do a symbolic link, but I'm not sure that's a clean way. Thanks in advance for all help -- Cordialement - 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] Data Directory
Hi, Ludovic Gele wrote on 28.02.2007 at 11:04:07 [[BackupPC-users] Data Directory]: I've install backuppcpc on debian stable, and I would like to change the data directory location. I've try dpkg-reconfigure backuppc, and read the /etc/backuppc/config.pl, but I've found nothing. I think I (maybe) can do a symbolic link, but I'm not sure that's a clean way. from BackupPC's point of view it is. From the package management system's point of view it would probably be cleaner to mount your destination partition (if it is a whole partition) on /var/lib/backuppc or to use a bind-mount (if it is not a whole partition). Copy (or move) anything the package put under /var/lib/backuppc over to the new destination first (or even establish the mount before installing the package). You probably do not have a populated pool there yet, so that should not be a problem. Regards, Holger - 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] Data Directory
Ludovic Gele wrote: I've install backuppcpc on debian stable, and I would like to change the data directory location. I've try dpkg-reconfigure backuppc, and read the /etc/backuppc/config.pl, but I've found nothing. I think I (maybe) can do a symbolic link, but I'm not sure that's a clean way. Please search the archives before posting, this question has been answered quite a few times. Solution: use a symlink or mount another partition as /var/lib/backuppc (or whatever the location used by the .deb is). Nils Breunese. PGP.sig Description: Dit deel van het bericht is digitaal ondertekend - 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] excludes on windows with spaces in names
Hello again list! I'm running into some trouble with excluding directories in rsyncd.conf on a windows machine. The machine in question is dying quickly, and rarely stays alive for more than 30 minutes or so. Because of that, I'm trying to slowly increment what is being backed up to the debian server. The main problem is the excludes list is supposed to be separated by spaces, and of course everyone's favorite OS has spaces in directory names. I tried to get around this with quotation marks, but the things I ask to be excluded are still included. I also tried adding explicit excludes to the config on the backuppc, and that similarly didn't take. Here are the key configs - From the host.pl on the backuppc - $Conf{RsyncShareName} = [ 'documents' ]; $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application Data/' = [ '' ], '/All Users/' = [ '' ], '/Default User/' = [ '' ] }; This is the rsyncd.conf that is running from the cygwin-rsyncd 2.6.8_0package from the backuppc page at sourceforge. I am trying to start with the smallest possible amount of data from this machine, then I'll include things one directory at a time. use chroot = false max connections = 4 log file = c:/rsyncd/rsyncd.log pid file = c:/rsyncd/rsyncd.pid lock file = c:/rsyncd/rsyncd.lock [documents] path = c:/Documents and Settings comment = Everything strict modes = false auth users = backuppc secrets file = c:/rsyncd/rsyncd.secrets hosts allow = 192.168.68.103 read only = false list = true exclude = /Administrator/ /All Users/ /Application Data/ /Default User/ /Jennie and Andy/.java/ /Jennie and Andy/.javaws/ /Jennie and Andy/.jpi_cache/ /Jennie and Andy/Application Data/ /Jennie and Andy/Cookies/ /Jennie and Andy/Desktop/ /Jennie and Andy/Favorites/ /Jennie and Andy/Local Settings/ /Jennie and Andy/My Documents/ /Jennie and Andy/NetHood/ /Jennie and Andy/PrintHood/ /Jennie and Andy/Recent/ /Jennie and Andy/SendTo/ /Jennie and Andy/Start Menu/ /Jennie and Andy/Temp/ All in all that should leave only about 10 Mb worth of data under c:\Documents and Settings that should be copied to the server, but every attempt at rsyncing grabs absolutely everything in documents and settings. Thanks for the help. Peace, Jim - 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] excludes on windows with spaces in names
Have you tried escaping the spaces with a \ ? Like: '/Application\ Data/' Not sure if that will work, but it sounds like it's worth a shot. brien Jim McNamara wrote: Hello again list! I'm running into some trouble with excluding directories in rsyncd.conf on a windows machine. The machine in question is dying quickly, and rarely stays "alive" for more than 30 minutes or so. Because of that, I'm trying to slowly increment what is being backed up to the debian server. The main problem is the excludes list is supposed to be separated by spaces, and of course everyone's favorite OS has spaces in directory names. I tried to get around this with quotation marks, but the things I ask to be excluded are still included. I also tried adding explicit excludes to the config on the backuppc, and that similarly didn't take. Here are the key configs - >From the host.pl on the backuppc - $Conf{RsyncShareName} = [ 'documents' ]; $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application Data/' = [ '' ], '/All Users/' = [ '' ], '/Default User/' = [ '' ] }; This is the rsyncd.conf that is running from the cygwin-rsyncd 2.6.8_0 package from the backuppc page at sourceforge. I am trying to start with the smallest possible amount of data from this machine, then I'll include things one directory at a time. use chroot = false max connections = 4 log file = c:/rsyncd/rsyncd.log pid file = c:/rsyncd/rsyncd.pid lock file = c:/rsyncd/rsyncd.lock [documents] path = c:/Documents and Settings comment = Everything strict modes = false auth users = backuppc secrets file = c:/rsyncd/rsyncd.secrets hosts allow = 192.168.68.103 read > list = true exclude = "/Administrator/" "/All Users/" "/Application Data/" "/Default User/" "/Jennie and Andy/.java/" "/Jennie and Andy/.javaws/" "/Jennie and Andy/.jpi_cache/" "/Jennie and Andy/Application Data/" "/Jennie and Andy/Cookies/" "/Jennie and Andy/Desktop/" "/Jennie and Andy/Favorites/" "/Jennie and Andy/Local Settings/" "/Jennie and Andy/My Documents/" "/Jennie and Andy/NetHood/" "/Jennie and Andy/PrintHood/" "/Jennie and Andy/Recent/" "/Jennie and Andy/SendTo/" "/Jennie and Andy/Start Menu/" "/Jennie and Andy/Temp/" All in all that should leave only about 10 Mb worth of data under c:\Documents and Settings that should be copied to the server, but every attempt at rsyncing grabs absolutely everything in documents and settings. Thanks for the help. Peace, Jim - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Restore problems
I'm running BackupPC v3x and have had no issues with regard to doing backups both rsync for Linux and rsyncd from Windows machines. I'm am having issues however, with doing restore opperations. I have a Windows 2000 server which I having been successfully backing up every day and I want to restore the data drive on this server to (an alternate location) a new Windows 2003 server using the rsyncd method. What happens is that the restore goes fine for about the first 4GB of data and then eventually comes back with a cannot read 4 bytes restore failed error. I tried a couple times but the same thing keeps happening. I then thought that I would try the TAR restore option but again all went well until it reached 3.99GB and then the transfer seems to stop as the is no futher activity in the pop-up transfer window. My transfer rate seemed to maintain at around 5MB/sec throughout the transfer. My question is what could be wrong as it is great to see all your files that have been backed-up but it's useless if you cannot restore them. I know that some of you likely have restores or backups that are far larger than my 40 or 50GB. Any assistance greatly appreciated. Ed - 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] excludes on windows with spaces in names
The modified parts of the files now look like: $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application\ Data/' = [ '' ], '/All\ Users/' = [ '' ], '/Default\ User/' = [ '' ] }; and on windows: exclude = /Administrator/ /All\ Users/ /Application\ Data/ /Default\ User/ /Jennie\ and\ Andy/.java/ /Jennie\ and\ Andy/.javaws/ /Jennie\ and\ Andy/.jpi_cache/ /Jennie\ and\ Andy/Application\ Data/ /Jennie\ and\ Andy/Cookies/ /Jennie\ and\ Andy/Desktop/ /Jennie\ and\ Andy/Favorites/ /Jennie\ and\ Andy/Local\ Settings/ /Jennie\ and\ Andy/My\ Documents/ /Jennie\ and\ Andy/NetHood/ /Jennie\ and\ Andy/PrintHood/ /Jennie\ and\ Andy/Recent/ /Jennie\ and\ Andy/SendTo/ /Jennie\ and\ Andy/Start\ Menu/ /Jennie\ and\ Andy/Temp/ I didn't think it would be necessary on the windows machine as it handled c:\Documents and Settings without special regards to the whitespace in the path, but figured it was better safe than sorry. Unfortunately, it still grabs the entire contents of Documents and Settings. Peace, Jim On 2/28/07, Brien Dieterle [EMAIL PROTECTED] wrote: Have you tried escaping the spaces with a \ ? Like: '/Application\ Data/' Not sure if that will work, but it sounds like it's worth a shot. brien Jim McNamara wrote: Hello again list! I'm running into some trouble with excluding directories in rsyncd.conf on a windows machine. The machine in question is dying quickly, and rarely stays alive for more than 30 minutes or so. Because of that, I'm trying to slowly increment what is being backed up to the debian server. The main problem is the excludes list is supposed to be separated by spaces, and of course everyone's favorite OS has spaces in directory names. I tried to get around this with quotation marks, but the things I ask to be excluded are still included. I also tried adding explicit excludes to the config on the backuppc, and that similarly didn't take. Here are the key configs - From the host.pl on the backuppc - $Conf{RsyncShareName} = [ 'documents' ]; $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application Data/' = [ '' ], '/All Users/' = [ '' ], '/Default User/' = [ '' ] }; This is the rsyncd.conf that is running from the cygwin-rsyncd 2.6.8_0package from the backuppc page at sourceforge. I am trying to start with the smallest possible amount of data from this machine, then I'll include things one directory at a time. use chroot = false max connections = 4 log file = c:/rsyncd/rsyncd.log pid file = c:/rsyncd/rsyncd.pid lock file = c:/rsyncd/rsyncd.lock [documents] path = c:/Documents and Settings comment = Everything strict modes = false auth users = backuppc secrets file = c:/rsyncd/rsyncd.secrets hosts allow = 192.168.68.103 read only = false list = true exclude = /Administrator/ /All Users/ /Application Data/ /Default User/ /Jennie and Andy/.java/ /Jennie and Andy/.javaws/ /Jennie and Andy/.jpi_cache/ /Jennie and Andy/Application Data/ /Jennie and Andy/Cookies/ /Jennie and Andy/Desktop/ /Jennie and Andy/Favorites/ /Jennie and Andy/Local Settings/ /Jennie and Andy/My Documents/ /Jennie and Andy/NetHood/ /Jennie and Andy/PrintHood/ /Jennie and Andy/Recent/ /Jennie and Andy/SendTo/ /Jennie and Andy/Start Menu/ /Jennie and Andy/Temp/ All in all that should leave only about 10 Mb worth of data under c:\Documents and Settings that should be copied to the server, but every attempt at rsyncing grabs absolutely everything in documents and settings. Thanks for the help. Peace, Jim -- - 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 cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV -- ___ BackupPC-users mailing [EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/backuppc-usershttp://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] excludes on windows with spaces in names
perhaps the leading "/"s are causing it not to match? Have you tried just 'Administrator/' brien Jim McNamara wrote: The modified parts of the files now look like: $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application\ Data/' = [ '' ], '/All\ Users/' = [ '' ], '/Default\ User/' = [ '' ] }; and on windows: exclude = "/Administrator/" "/All\ Users/" "/Application\ Data/" "/Default\ User/" "/Jennie\ and\ Andy/.java/" "/Jennie\ and\ Andy/.javaws/" "/Jennie\ and\ Andy/.jpi_cache/" "/Jennie\ and\ Andy/Application\ Data/" "/Jennie\ and\ Andy/Cookies/" "/Jennie\ and\ Andy/Desktop/" "/Jennie\ and\ Andy/Favorites/" "/Jennie\ and\ Andy/Local\ Settings/" "/Jennie\ and\ Andy/My\ Documents/" "/Jennie\ and\ Andy/NetHood/" "/Jennie\ and\ Andy/PrintHood/" "/Jennie\ and\ Andy/Recent/" "/Jennie\ and\ Andy/SendTo/" "/Jennie\ and\ Andy/Start\ Menu/" "/Jennie\ and\ Andy/Temp/" I didn't think it would be necessary on the windows machine as it handled c:\Documents and Settings without special regards to the whitespace in the path, but figured it was better safe than sorry. Unfortunately, it still grabs the entire contents of Documents and Settings. Peace, Jim On 2/28/07, Brien Dieterle [EMAIL PROTECTED] wrote: Have you tried escaping the spaces with a \ ? Like: '/Application\ Data/' Not sure if that will work, but it sounds like it's worth a shot. brien Jim McNamara wrote: Hello again list! I'm running into some trouble with excluding directories in rsyncd.conf on a windows machine. The machine in question is dying quickly, and rarely stays "alive" for more than 30 minutes or so. Because of that, I'm trying to slowly increment what is being backed up to the debian server. The main problem is the excludes list is supposed to be separated by spaces, and of course everyone's favorite OS has spaces in directory names. I tried to get around this with quotation marks, but the things I ask to be excluded are still included. I also tried adding explicit excludes to the config on the backuppc, and that similarly didn't take. Here are the key configs - >From the host.pl on the backuppc - $Conf{RsyncShareName} = [ 'documents' ]; $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application Data/' = [ '' ], '/All Users/' = [ '' ], '/Default User/' = [ '' ] }; This is the rsyncd.conf that is running from the cygwin-rsyncd 2.6.8_0 package from the backuppc page at sourceforge. I am trying to start with the smallest possible amount of data from this machine, then I'll include things one directory at a time. use chroot = false max connections = 4 log file = c:/rsyncd/rsyncd.log pid file = c:/rsyncd/rsyncd.pid lock file = c:/rsyncd/rsyncd.lock [documents] path = c:/Documents and Settings comment = Everything strict modes = false auth users = backuppc secrets file = c:/rsyncd/rsyncd.secrets hosts allow = 192.168.68.103 read > list = true exclude = "/Administrator/" "/All Users/" "/Application Data/" "/Default User/" "/Jennie and Andy/.java/" "/Jennie and Andy/.javaws/" "/Jennie and Andy/.jpi_cache/" "/Jennie and Andy/Application Data/" "/Jennie and Andy/Cookies/" "/Jennie and Andy/Desktop/" "/Jennie and Andy/Favorites/" "/Jennie and Andy/Local Settings/" "/Jennie and Andy/My Documents/" "/Jennie and Andy/NetHood/" "/Jennie and Andy/PrintHood/" "/Jennie and Andy/Recent/" "/Jennie and Andy/SendTo/" "/Jennie and Andy/Start Menu/" "/Jennie and Andy/Temp/" All in all that should leave only about 10 Mb worth of data under c:\Documents and Settings that should be copied to the server, but every attempt at rsyncing grabs absolutely everything in documents and settings. Thanks for the help. Peace, Jim - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Restore problems
It sounds a lot like you've hit some bugs in cygwin/rsync/smb bugs? from the faq: Smbclient is limited to 4GB file sizes. Moreover, a bug in smbclient (mixing signed and unsigned 32 bit values) causes it to incorrectly do the tar octal conversion for file sizes from 2GB-4GB. BackupPC_tarExtract knows about this bug and can recover the correct file size. So smbclient transport works up to 4GB file sizes. Rsync running on Cygwin is limited to either 2GB or 4GB file sizes. More testing needs to be done to verify the file size limit for rsync on various platforms. brien Ed Burgstaler wrote: I'm running BackupPC v3x and have had no issues with regard to doing backups both rsync for Linux and rsyncd from Windows machines. I'm am having issues however, with doing restore opperations. I have a Windows 2000 server which I having been successfully backing up every day and I want to restore the data drive on this server to (an alternate location) a new Windows 2003 server using the rsyncd method. What happens is that the restore goes fine for about the first 4GB of data and then eventually comes back with a "cannot read 4 bytes" restore failed error. I tried a couple times but the same thing keeps happening. I then thought that I would try the TAR restore option but again all went well until it reached 3.99GB and then the transfer seems to stop as the is no futher activity in the pop-up transfer window. My transfer rate seemed to maintain at around 5MB/sec throughout the transfer. My question is what could be wrong as it is great to see all your files that have been backed-upbut it's useless if you cannot restore them. I know that some of you likely have restores or backups that are far larger than my 40 or 50GB. Any assistance greatly appreciated. Ed - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] excludes on windows with spaces in names
I did, and unfortunately it made no difference. Here is the rsyncd exclude info I based my file on - # --exclude *.o would exclude all filenames matching *.o # --exclude /foo would exclude a file in the base directory called foo # --exclude foo/ would exclude any directory called foo. # --exclude /foo/*/bar would exclude any file called bar two levels below a base directory called foo. # --exclude /foo/**/bar would exclude any file called bar two or more levels below a base directory called foo. the full page is http://www.ss64.com/bash/rsync.html I'm guessing the translation from bash to winworld is where my problem is occurring. Peace, Jim On 2/28/07, Brien Dieterle [EMAIL PROTECTED] wrote: perhaps the leading /s are causing it not to match? Have you tried just 'Administrator/' brien Jim McNamara wrote: The modified parts of the files now look like: $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application\ Data/' = [ '' ], '/All\ Users/' = [ '' ], '/Default\ User/' = [ '' ] }; and on windows: exclude = /Administrator/ /All\ Users/ /Application\ Data/ /Default\ User/ /Jennie\ and\ Andy/.java/ /Jennie\ and\ Andy/.javaws/ /Jennie\ and\ Andy/.jpi_cache/ /Jennie\ and\ Andy/Application\ Data/ /Jennie\ and\ Andy/Cookies/ /Jennie\ and\ Andy/Desktop/ /Jennie\ and\ Andy/Favorites/ /Jennie\ and\ Andy/Local\ Settings/ /Jennie\ and\ Andy/My\ Documents/ /Jennie\ and\ Andy/NetHood/ /Jennie\ and\ Andy/PrintHood/ /Jennie\ and\ Andy/Recent/ /Jennie\ and\ Andy/SendTo/ /Jennie\ and\ Andy/Start\ Menu/ /Jennie\ and\ Andy/Temp/ I didn't think it would be necessary on the windows machine as it handled c:\Documents and Settings without special regards to the whitespace in the path, but figured it was better safe than sorry. Unfortunately, it still grabs the entire contents of Documents and Settings. Peace, Jim On 2/28/07, Brien Dieterle [EMAIL PROTECTED] wrote: Have you tried escaping the spaces with a \ ? Like: '/Application\ Data/' Not sure if that will work, but it sounds like it's worth a shot. brien Jim McNamara wrote: Hello again list! I'm running into some trouble with excluding directories in rsyncd.confon a windows machine. The machine in question is dying quickly, and rarely stays alive for more than 30 minutes or so. Because of that, I'm trying to slowly increment what is being backed up to the debian server. The main problem is the excludes list is supposed to be separated by spaces, and of course everyone's favorite OS has spaces in directory names. I tried to get around this with quotation marks, but the things I ask to be excluded are still included. I also tried adding explicit excludes to the config on the backuppc, and that similarly didn't take. Here are the key configs - From the host.pl on the backuppc - $Conf{RsyncShareName} = [ 'documents' ]; $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application Data/' = [ '' ], '/All Users/' = [ '' ], '/Default User/' = [ '' ] }; This is the rsyncd.conf that is running from the cygwin-rsyncd 2.6.8_0package from the backuppc page at sourceforge. I am trying to start with the smallest possible amount of data from this machine, then I'll include things one directory at a time. use chroot = false max connections = 4 log file = c:/rsyncd/rsyncd.log pid file = c:/rsyncd/rsyncd.pid lock file = c:/rsyncd/rsyncd.lock [documents] path = c:/Documents and Settings comment = Everything strict modes = false auth users = backuppc secrets file = c:/rsyncd/rsyncd.secrets hosts allow = 192.168.68.103 read only = false list = true exclude = /Administrator/ /All Users/ /Application Data/ /Default User/ /Jennie and Andy/.java/ /Jennie and Andy/.javaws/ /Jennie and Andy/.jpi_cache/ /Jennie and Andy/Application Data/ /Jennie and Andy/Cookies/ /Jennie and Andy/Desktop/ /Jennie and Andy/Favorites/ /Jennie and Andy/Local Settings/ /Jennie and Andy/My Documents/ /Jennie and Andy/NetHood/ /Jennie and Andy/PrintHood/ /Jennie and Andy/Recent/ /Jennie and Andy/SendTo/ /Jennie and Andy/Start Menu/ /Jennie and Andy/Temp/ All in all that should leave only about 10 Mb worth of data under c:\Documents and Settings that should be copied to the server, but every attempt at rsyncing grabs absolutely everything in documents and settings. Thanks for the help. Peace, Jim -- - 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] {Fraud?} {Disarmed} Re: {Fraud?} {Disarmed} Re: excludes on windows with spaces in names
Jim, Here is a snippet from my exclude list, which works using rsyncd on a Win2k box: /Documents and Settings/*/Local Settings/Temporary Internet Files/* The spaces are not a problem, for me at least. But, I did have considerable difficulty getting rsyncd.conf to behave when I placed the share as anywhere on my drive that had spaces in it. I had to resort to using 8.3 contractions (dir /x) to make it work. This was true for the log file locations, secret file locations, etc. Other people have reported no problems using the same package, so I'm at a loss to explain it. Anyway, what I'm getting at is, if you set your share to be a directory with spaces in it, perhaps that is failing to match a folder at all, so you get the root instead. This means your excludes will fail to match as well, because / will not start in /Documents and Settings/ for you, but instead / is c:/. You could try changing the share folder to be /docume~1/ and see if that fixes your problem with excludes. Good luck, JH Jim McNamara wrote: I did, and unfortunately it made no difference. Here is the rsyncd exclude info I based my file on - # --exclude *.o would exclude all filenames matching *.o # --exclude /foo would exclude a file in the base directory called foo # --exclude foo/ would exclude any directory called foo. # --exclude /foo/*/bar would exclude any file called bar two levels below a base directory called foo. # --exclude /foo/**/bar would exclude any file called bar two or more levels below a base directory called foo. the full page is http://www.ss64.com/bash/rsync.html I'm guessing the translation from bash to winworld is where my problem is occurring. Peace, Jim On 2/28/07, * Brien Dieterle* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: perhaps the leading /s are causing it not to match? Have you tried just 'Administrator/' brien Jim McNamara wrote: The modified parts of the files now look like: $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application\ Data/' = [ '' ], '/All\ Users/' = [ '' ], '/Default\ User/' = [ '' ] }; and on windows: exclude = /Administrator/ /All\ Users/ /Application\ Data/ /Default\ User/ /Jennie\ and\ Andy/.java/ /Jennie\ and\ Andy/.javaws/ /Jennie\ and\ Andy/.jpi_cache/ /Jennie\ and\ Andy/Application\ Data/ /Jennie\ and\ Andy/Cookies/ /Jennie\ and\ Andy/Desktop/ /Jennie\ and\ Andy/Favorites/ /Jennie\ and\ Andy/Local\ Settings/ /Jennie\ and\ Andy/My\ Documents/ /Jennie\ and\ Andy/NetHood/ /Jennie\ and\ Andy/PrintHood/ /Jennie\ and\ Andy/Recent/ /Jennie\ and\ Andy/SendTo/ /Jennie\ and\ Andy/Start\ Menu/ /Jennie\ and\ Andy/Temp/ I didn't think it would be necessary on the windows machine as it handled c:\Documents and Settings without special regards to the whitespace in the path, but figured it was better safe than sorry. Unfortunately, it still grabs the entire contents of Documents and Settings. Peace, Jim On 2/28/07, *Brien Dieterle* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Have you tried escaping the spaces with a \ ? Like: '/Application\ Data/' Not sure if that will work, but it sounds like it's worth a shot. brien Jim McNamara wrote: Hello again list! I'm running into some trouble with excluding directories in rsyncd.conf on a windows machine. The machine in question is dying quickly, and rarely stays alive for more than 30 minutes or so. Because of that, I'm trying to slowly increment what is being backed up to the debian server. The main problem is the excludes list is supposed to be separated by spaces, and of course everyone's favorite OS has spaces in directory names. I tried to get around this with quotation marks, but the things I ask to be excluded are still included. I also tried adding explicit excludes to the config on the backuppc, and that similarly didn't take. Here are the key configs - From the host.pl on the backuppc - $Conf{RsyncShareName} = [ 'documents' ]; $Conf{BackupFilesExclude} = { '/Administrator/' = [ '' ], '/Application Data/' = [ '' ], '/All Users/' = [ '' ], '/Default User/' = [ '' ] }; This is the rsyncd.conf that is running from the cygwin-rsyncd 2.6.8_0 package from the backuppc page at sourceforge. I am trying to start with the smallest possible amount of data from this machine, then I'll include things one directory at a time. use chroot = false max
Re: [BackupPC-users] Backup from a debian etch
Hey forum and Ralf, I did the tar reinstall with version 1.4, but I'm still have the problem, the lastest status that I got from the backuppc is: Contents of file /var/lib/backuppc/pc/portal/XferLOG.0.z, modified 2007-02-28 13:35:58 (Extracting only Errors) Running: /usr/bin/ssh -q -x -l root portal /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --one-file-system --exclude=/lost+found --exclude=/tmp --exclude=/chroots/smc.samurai.com.br/var/run --exclude=/chroots/smc.samurai.com.br/dev --exclude=/var/run --exclude=/sys --exclude=/opt/Plone-2.5/zeocluster/server/etc/zeo.zdsock --exclude=/opt/Plone-2.5/zeocluster/client2/var/ --exclude=/opt/Plone-2.5/zeocluster/client1/var/ --exclude=/dev --exclude=/proc --exclude=/opt/zope2.8.8/var/zopectlsock --exclude=/vmlinuz --exclude=/var/lib/backuppc/log/ --ignore-times . / Xfer PIDs are now 5310 Got remote protocol 29 Xfer PIDs are now 5310,5314 [ skipped 14834 lines ] Can't open /var/lib/backuppc/pc/portal/new//f%2f/ for empty output [ skipped 1 lines ] Can't open /var/lib/backuppc/pc/portal/new//f%2f/ for empty output [ skipped 1 lines ] Can't open /var/lib/backuppc/pc/portal/new//f%2f/ for empty output [ skipped 1 lines ] Can't open /var/lib/backuppc/pc/portal/new//f%2f/ for empty output [ skipped 1 lines ] Can't open /var/lib/backuppc/pc/portal/new//f%2f/ for empty output [ skipped 1 lines ] Can't open /var/lib/backuppc/pc/portal/new//f%2f/ for empty output [ skipped 1 lines ] Do you know what is it? Thanks and best regast, Bruno Sampayo Ralf Gross escreveu: Bruno Sampayo schrieb: I tried to make backup with backuppc on debian sarge, and the server client is a Debian etch kernel: 2.6.8-2-386. When I start the full backuppc for this machine, I got a error with the follow message: [EMAIL PROTECTED]:~$ /usr/bin/perl /usr/share/backuppc/bin/BackupPC_dump -f portal started full dump, share=/ xferPids 7258 xferPids 7258,7259 dump failed: aborted by signal=ALRM link portal Are you using tar as transfer method? There has been a change in tar 1.16 that reports a failure if a file changed during backup. etch is using tar 1.16. If this is your problem, try tar 1.15.1 or a recent backuppc version where this problem is fixed. Ralf - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ -- Bruno Sampayo [EMAIL PROTECTED] Tel.: +55(011) 50973005 Engenharia Samurai Projetos Especiais - 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] Restore problems
On 02/28 10:54 , Ed Burgstaler wrote: My question is what could be wrong as it is great to see all your files that have been backed-up but it's useless if you cannot restore them. I know that some of you likely have restores or backups that are far larger than my 40 or 50GB. my suggestion would be to install the cygwin tools on your win32 box; and then use tar+netcat to move the data. this is how I restore to Linux boxen... never done a big restore to a Windows box. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com - 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] Backup from a debian etch
Bruno Sampayo schrieb: I did the tar reinstall with version 1.4, but I'm still have the problem, the lastest status that I got from the backuppc is: Contents of file /var/lib/backuppc/pc/portal/XferLOG.0.z, modified 2007-02-28 13:35:58 (Extracting only Errors) Ok, but you are using rsync as Xfer method, not tar. Running: /usr/bin/ssh -q -x -l root portal /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --one-file-system --exclude=/lost+found --exclude=/tmp --exclude=/chroots/smc.samurai.com.br/var/run --exclude=/chroots/smc.samurai.com.br/dev --exclude=/var/run --exclude=/sys --exclude=/opt/Plone-2.5/zeocluster/server/etc/zeo.zdsock --exclude=/opt/Plone-2.5/zeocluster/client2/var/ --exclude=/opt/Plone-2.5/zeocluster/client1/var/ --exclude=/dev --exclude=/proc --exclude=/opt/zope2.8.8/var/zopectlsock --exclude=/vmlinuz --exclude=/var/lib/backuppc/log/ --ignore-times . / Can't open /var/lib/backuppc/pc/portal/new//f%2f/ for empty output [ skipped 1 lines ] Try changing rsync option --devices to -D. Maybe you have to update File::RsyncP too. Ralf - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] excludes on windows with spaces in names
On 02/28 11:19 , Jim McNamara wrote: The main problem is the excludes list is supposed to be separated by spaces, and of course everyone's favorite OS has spaces in directory names. I do excludes on things like that, using a '?' in place of the spaces. So for example: $Conf{BackupFilesExclude} = { 'cDrive' = ['/RECYCLER', '/winnt/tmp', '/temp', '/WUTemp', '/WINDOWS', '*/Temporary?Internet?Files/' ] }; -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com - 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] Restore problems
Ed Burgstaler wrote: I'm running BackupPC v3x and have had no issues with regard to doing backups both rsync for Linux and rsyncd from Windows machines. I'm am having issues however, with doing restore opperations. I have a Windows 2000 server which I having been successfully backing up every day and I want to restore the data drive on this server to (an alternate location) a new Windows 2003 server using the rsyncd method. What happens is that the restore goes fine for about the first 4GB of data and then eventually comes back with a cannot read 4 bytes restore failed error. I tried a couple times but the same thing keeps happening. I then thought that I would try the TAR restore option but again all went well until it reached 3.99GB and then the transfer seems to stop as the is no futher activity in the pop-up transfer window. My transfer rate seemed to maintain at around 5MB/sec throughout the transfer. My question is what could be wrong as it is great to see all your files that have been backed-up but it's useless if you cannot restore them. I know that some of you likely have restores or backups that are far larger than my 40 or 50GB. If your doing a straight restore (i.e. not downloading a zip file) then you shouldn't have a problem as it will restore files individually. The 4gb limit thing is more to do with a single file size limit. So if you've got 40gb of thousands of files and not one of them is 4gb it should restore fine. On the other hand if you are trying to restore/download via a zip archive then it will fail at 4gb because of the single file limitation. If you are getting errors doing the straight restore to the other host then what is getting restroed needs to be investigated - i.e. what files/folders where they are going to etc etc, what if any errors in log files, including the rsyncd.log file on the windows server. Regards, Les - 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] excludes on windows with spaces in names
The error was found to be syntax on my config.pl. Carl has a good suggestion on it, and Les Stott also helped off list. The problem was in the way I was passing the excludes to backuppc. Rather than blocking the directory Administrator within the share module [documents], I was trying to block the module [Administrator] which doesn't exist, so it was excluded very effectively! None of the excludes should be done on the windows rsyncd.conf, that doesn't seem to work at all. it can all be done through the individual host's config. Here is the correct syntax to block directories with whitespaces in their names from the backuppc server - $Conf{RsyncShareName} = [ 'documents' ]; $Conf{BackupZeroFilesIsFatal} = '0'; $Conf{BackupFilesExclude} = { '*' = [ '/Administrator/', '/Application Data/', '/All Users/', '/Local Settings/', '/Default User/', '/Jennie and Andy/Desktop/', '/Jennie and Andy/Local Settings/', '/Jennie and Andy/My Documents/' ] }; Obviously the asterisk could be changed to an individual module's name if you need different excludes in each of your shares. My thanks again go out to everyone! Peace, Jim On 2/28/07, Carl Wilhelm Soderstrom [EMAIL PROTECTED] wrote: On 02/28 11:19 , Jim McNamara wrote: The main problem is the excludes list is supposed to be separated by spaces, and of course everyone's favorite OS has spaces in directory names. I do excludes on things like that, using a '?' in place of the spaces. So for example: $Conf{BackupFilesExclude} = { 'cDrive' = ['/RECYCLER', '/winnt/tmp', '/temp', '/WUTemp', '/WINDOWS', '*/Temporary?Internet?Files/' ] }; -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] smb files truncated
I'm get xfer errors on long path/filenames. total length is over 100 chars. Is there a limit on the total path/filename size ??? Example error: Read error: Connection reset by peer opening remote file \bjsimon\ABCD\svn-sandbox\branches\firmware\P20-NiceBigProject-2\F1234.humongous-mutation\project\F1234\src\datapath\src\rx_manager\src\r (\bjsimon\CTAM\svn-sandbox\branches\firmware\P20-NiceBigProject-2\F1234.humongous-mutation\project\F1234\src\datapath\src\rx_manager\src\) There are 6 files in that directory starting with 'r'. Examples: rx_foo1.v rx_foo2.v How can I get backuppc to backup long windows xp file names? Is it a length problem or some other issue? Thanks, Brendan. - 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] smb files truncated
All versions of Windows have a limit of 250-ish characters maximum for a full path, including the filename and extension, regardless of file system. I'm not aware of a lower limit imposed by the file system or OS, but it's likely related. Are you running Unicode-16 character set or UTF-16 on the server or Windows box, perhaps? That might halve the limit--I'm not sure. Hope that helps, JH Brendan Simon wrote: I'm get xfer errors on long path/filenames. total length is over 100 chars. Is there a limit on the total path/filename size ??? Example error: Read error: Connection reset by peer opening remote file \bjsimon\ABCD\svn-sandbox\branches\firmware\P20-NiceBigProject-2\F1234.humongous-mutation\project\F1234\src\datapath\src\rx_manager\src\r (\bjsimon\CTAM\svn-sandbox\branches\firmware\P20-NiceBigProject-2\F1234.humongous-mutation\project\F1234\src\datapath\src\rx_manager\src\) There are 6 files in that directory starting with 'r'. Examples: rx_foo1.v rx_foo2.v How can I get backuppc to backup long windows xp file names? Is it a length problem or some other issue? Thanks, Brendan. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/