[BackupPC-users] Error Backing up Servers
Hi guys, Oliver, == Also, with W7 and 2k8, you need to remove some of the links like documents settings and so on. Not at work atm, but I can send you my exclude list. == What do you mean by remove some of the links? Sorry am a bit confused there. Would be great if you could send it please. == As for the syntax, personnally, had to actually tweak it a bit, for 2k3 and 2k8 servers: * always use backward slashes * don't double the first backward slashes * Through the web interface, if you want to specify a folder, you need to add \* at the end, if you want to look for a folder at every specific level, it would be something like: *\foldername\* * If you manually edit the config file, you need to escape de backward slashes, so double them. == I've edited my config file and added \Boot\* on the web ui and ticked the override box, but still no luck, it tried to back up \Boot\ and fails Les Mikesell, == Also, when adding hosts in the web interface you can specify new=old to copy an existing host's configuration so once you get a system of each type working you can use it as a template when adding more and then edit in any specific differences in the new instances. == That's the newhost=copyhost option for the hostname right? For example, I want server2 to take settings from server 1, so in the web ui I go to Edit hosts, add new, and in the host column I add; server2=server1 Is that correct? Thank you. Kind Regards, gshergill[/i] +-- |This was sent by gasherg...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Error Backing up Servers
Hello, If you look into your C drive for example, you should have a folder named: Documents and Settings, but that is just actually a link to Users, it is the same for my documents, my videos and some others. So, no need to back them up twice (takes time for nothing). I attached the main list I use, though might not be exhaustive. When you edit the configuration file, you need to reload the configuration file, the documentation provides 3 ways to do this. The web interface, the kill -HUP backup pc way and just stopping / restarting the service. Otherwise the configuration file is only reloaded every 24 hours. Regards, Hi guys, Oliver, == Also, with W7 and 2k8, you need to remove some of the links like documents settings and so on. Not at work atm, but I can send you my exclude list. == What do you mean by remove some of the links? Sorry am a bit confused there. Would be great if you could send it please. == As for the syntax, personnally, had to actually tweak it a bit, for 2k3 and 2k8 servers: * always use backward slashes * don't double the first backward slashes * Through the web interface, if you want to specify a folder, you need to add \* at the end, if you want to look for a folder at every specific level, it would be something like: *\foldername\* * If you manually edit the config file, you need to escape de backward slashes, so double them. == I've edited my config file and added \Boot\* on the web ui and ticked the override box, but still no luck, it tried to back up \Boot\ and fails Les Mikesell, == Also, when adding hosts in the web interface you can specify new=old to copy an existing host's configuration so once you get a system of each type working you can use it as a template when adding more and then edit in any specific differences in the new instances. == That's the newhost=copyhost option for the hostname right? For example, I want server2 to take settings from server 1, so in the web ui I go to Edit hosts, add new, and in the host column I add; server2=server1 Is that correct? Thank you. Kind Regards, gshergill[/i] +-- |This was sent by gasherg...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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/ # For tar, if the exclude file contains a / it is assumed to be anchored # at the start of the string. Since all the tar paths start with ./, # BackupPC prepends a . if the exclude file starts with a /. Note # that GNU tar version = 1.13.7 is required for the exclude option to # work correctly. For linux or unix machines you should add # /proc to $Conf{BackupFilesExclude} unless you have specified # --one-file-system in $Conf{TarClientCmd} or --one-file-system in # $Conf{RsyncArgs}. Also, for tar, do not use a trailing / in # the directory name: a trailing / causes the name to not match # and the directory will not be excluded. # # Users report that for smbclient you should specify a directory # followed by /*, eg: /proc/*, instead of just /proc. # # If a hash is used, a special key * means it applies to all # shares that don't have a specific entry. # # Examples: #$Conf{BackupFilesExclude} = '/temp'; #$Conf{BackupFilesExclude} = ['/temp']; # same as first example #$Conf{BackupFilesExclude} = ['/temp', '/winnt/tmp']; #$Conf{BackupFilesExclude} = { # 'c' = ['/temp', '/winnt/tmp'], # these are for 'c' share # 'd' = ['/junk', '/dont_back_this_up'], # these are for 'd' share #}; #$Conf{BackupFilesExclude} = { # 'c' = ['/temp', '/winnt/tmp'], # these are for 'c' share # '*' = ['/junk', '/dont_back_this_up'], # these are for other shares #}; # $Conf{BackupFilesExclude} = { '*' = [ '/Application*', '/sbin/*', '/cores/*', '/bin/*', '/Volumes/*', '/System*/*', '/Library/*', '/dev/*', '*/.*/*', '*\\Documents and Settings\\NetworkService\\*', '.*\\*', '*\\Config.Msi\\*', '*\\*Recovery\\*', '*\\Utilitaires\\*', '\\MSOCache\\*', '*\\All Users\\*',
Re: [BackupPC-users] Error Backing up Servers
On 8/21/2012 12:51 PM, Olivier Ragain wrote: Using '*' works also for the windows shares (at least when using samba). So you don't have to specify C$, D$... As for the syntax, personnally, had to actually tweak it a bit, for 2k3 and 2k8 servers: * always use backward slashes * don't double the first backward slashes * Through the web interface, if you want to specify a folder, you need to add \* at the end, if you want to look for a folder at every specific level, it would be something like: *\foldername\* * If you manually edit the config file, you need to escape de backward slashes, so double them. I have had better luck with forward slashes. Samba will convert them for you and there is no need to double them as there are no escaping issues. This makes the config files much easier to read and your syntax can remain the same for Windows and Linux systems. For example: $Conf{BackupFilesExclude} = { '*' = [ '/pagefile.sys', '/Downloads', '/Documents and Settings/*/Cookies', '/Documents and Settings/*/Local Settings/Temporary Internet Files', '/Documents and Settings/*/Local Settings/Temp', '/Documents and Settings/*/NTUSER.DAT*', '/Documents and Settings/*/ntuser.dat*', '/Documents and Settings/*/Local Settings/Application Data/Microsoft/Windows/UsrClass.dat*', '/Documents and Settings/*/Local Settings/Application Data/Mozilla/Firefox/Profiles/*/Cache', '/Documents and Settings/*/Local Settings/Application Data/Mozilla/Firefox/Profiles/*/OfflineCache', '/Documents and Settings/*/Recent', '*.lock', 'Thumbs.db', 'IconCache.db', 'Cache*', 'cache*', '/RECYCLER', '/temp' ] }; Now, I don't have any 2k3 or 2k8 servers that are using Samba shares for backup, but I would not expect the behavior to change. -- Bowie -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Error Backing up Servers
On Wed, Aug 22, 2012 at 4:04 AM, gshergill backuppc-fo...@backupcentral.com wrote: == Also, when adding hosts in the web interface you can specify new=old to copy an existing host's configuration so once you get a system of each type working you can use it as a template when adding more and then edit in any specific differences in the new instances. == That's the newhost=copyhost option for the hostname right? For example, I want server2 to take settings from server 1, so in the web ui I go to Edit hosts, add new, and in the host column I add; server2=server1 Is that correct? Yes, then go to the server2 page and change any details that differ. If the shares are the same and you don't set ClientNameAlias, you might not need to change anything for additions made this way. Note that you want to be sure your source settings are correct before making a lot of copies, though. Subsequent changes of settings that override the global config will have to be repeated for each copy. You probably want the global settings to match your most common target type because you can make changes there and affect all targets that don't override it, but the template/copy approach is good where you have several of a different type (like windows/linux). -- Les Mikesell lesmikes...@gmail.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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/