Re: [BackupPC-users] Process for Overriding hosts configuration

2012-07-10 Thread Michael Stowe
 On Tue, Jul 10, 2012 at 09:12:54AM -0500, Michael Stowe wrote:

  The Windows 7 Junctions (which fail) are important directories in
 Windows
  XP, and I've made an effort to exclude all the junctions from Windows
 7.

 Huh.  XP doesn't have any junction points by default (although it
 supports
 them) so I guess you mean you're excluding 7 junctions like Documents
 and
 Settings instead of backing them up.

 We just back them up here, because it's simpler and hey, who wants to
 recreate 50 junction points manually?

 How are you backing the junction points up. AFAIK backuppc treats
 those as actual directories and not junction points (i.e. the concept
 of a junction point doesn't exist in backuppc's universe like a
 symbolic link does.) Pooling will make sure that the files under the
 junction point and the real location of those files are pooled

How BackupPC views them is dependent on the backup method; for rsync
backups, they look like symbolic links (which they are) and get backed up
as such.

--
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] Process for Overriding hosts configuration

2012-07-10 Thread Timothy J Massey
Michael Stowe mst...@chicago.us.mensa.org wrote on 07/10/2012 11:14:34 
AM:

  How are you backing the junction points up. AFAIK backuppc treats
  those as actual directories and not junction points (i.e. the concept
  of a junction point doesn't exist in backuppc's universe like a
  symbolic link does.) Pooling will make sure that the files under the
  junction point and the real location of those files are pooled
 
 How BackupPC views them is dependent on the backup method; for rsync
 backups, they look like symbolic links (which they are) and get backed 
up
 as such.

I do not see this in practice on my server.  In my case, the junctions 
create infinite loops (well, until the path gets too long, anyway), and 
give me tens of *thousands* of errors.  I used the list of exclusions on 
the BackupPC wiki to get this down to a manageable number (400, instead of 
80,000 or so).

Have you added a parameter somewhere to handle this?

Tim Massey


 
Out of the Box Solutions, Inc. 
Creative IT Solutions Made Simple!
http://www.OutOfTheBoxSolutions.com
tmas...@obscorp.com 
 
22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796 
--
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] Process for Overriding hosts configuration

2012-07-10 Thread Michael Stowe
 Michael Stowe mst...@chicago.us.mensa.org wrote on 07/10/2012 11:14:34
 AM:

  How are you backing the junction points up. AFAIK backuppc treats
  those as actual directories and not junction points (i.e. the concept
  of a junction point doesn't exist in backuppc's universe like a
  symbolic link does.) Pooling will make sure that the files under the
  junction point and the real location of those files are pooled

 How BackupPC views them is dependent on the backup method; for rsync
 backups, they look like symbolic links (which they are) and get backed
 up
 as such.

 I do not see this in practice on my server.  In my case, the junctions
 create infinite loops (well, until the path gets too long, anyway), and
 give me tens of *thousands* of errors.  I used the list of exclusions on
 the BackupPC wiki to get this down to a manageable number (400, instead of
 80,000 or so).

 Have you added a parameter somewhere to handle this?

Here's a sample from my BackupPC logs:
pool   l 777 4294967295/4294967295   6 Documents and Settings -
/Users

That's typical of all the links across Windows boxen, including servers.

I don't recall doing anything specific to make it work; it may be a
function of rsync version on the client.

You're welcome to the exact version (and client, and scripts) I use, here:
http://www.michaelstowe.com/backuppc/



--
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/


[BackupPC-users] BackupPC *ClientCmd $fileList

2012-07-10 Thread Bryan Keadle (.net)
When the backup command is executed (e.g. SmbClientFullCmd) how is the
$fileList variable generated - what process it retrieving the Exclusions
list for the named share?

I thought that by having a BackupFilesExclude key of ' * ' was additive to
the defined SmbShareName.  That is, I could create a * key of all common
files to exclude, and a key name of C$ that would define exclusions for the
SmbShareName C$, and the resulting $fileList would be the combination of
* exclusions *AND*  C$ exclusions.  I discovered that is not the case -
instead the * exclusions would be applied if the defined SmbShareName isn't
otherwise defined as a BackupFilesExclude key.

I was hoping I could do something that would generate the $fileList to
combine both.
--
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/


[BackupPC-users] BackupPC data volume

2012-07-10 Thread Bryan Keadle (.net)
It's recommended to mount the BackupPC data volume with noatime:

/dev/vg_backuppc_data/backuppc_data /var/lib/BackupPC ext4 rw,*noatime *0 0


However, since my data volume is an iSCSI volume, I needed this entry to
have the iSCSI mount properly mount at boot using _netdev:

/dev/vg_backuppc_data/backuppc_data /var/lib/BackupPC ext4 _netdev 0 0

so do I still need *noatime* and if so, how/where do I include it on that
line?
--
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] BackupPC data volume

2012-07-10 Thread Tim Fletcher
On 10/07/12 22:44, Bryan Keadle (.net) wrote:
 It's recommended to mount the BackupPC data volume with noatime:

 /dev/vg_backuppc_data/backuppc_data /var/lib/BackupPC ext4
 rw,*noatime *0 0


 However, since my data volume is an iSCSI volume, I needed this entry to
 have the iSCSI mount properly mount at boot using _netdev:

 /dev/vg_backuppc_data/backuppc_data /var/lib/BackupPC ext4 _netdev 0 0

 so do I still need *noatime* and if so, how/where do I include it on
 that line?

in fstab add ,noatime,nodiratime in the same place as you had _netdev so 
you end up with:

noatime,nodiratime,_netdev

-- 
Tim Fletcher t...@night-shade.org.uk



--
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] Process for Overriding hosts configuration

2012-07-10 Thread Adam Goryachev
On 11/07/12 00:12, Michael Stowe wrote:
 The Windows 7 Junctions (which fail) are important directories in Windows
 XP, and I've made an effort to exclude all the junctions from Windows 7.
 Huh. XP doesn't have any junction points by default (although it supports
 them) so I guess you mean you're excluding 7 junctions like Documents and
 Settings instead of backing them up.

 We just back them up here, because it's simpler and hey, who wants to
 recreate 50 junction points manually? Then again, we also back up the
 registries and open files, since those are important to us. We only
 exclude cache and temp directories, as I recall, and have had the
 horrifying occasion to perform full restores.
Could I ask what is your process for a full restore on a windows PC?
I recently considered to do a complete restore from backuppc for a
windows 2003 server which had been backed up using your method, but
ended up resolving the issue without the restore. However, I wasn't very
confident that I would get a working system from a restore.

In the past, I've had some success with taking a snapshot using dd or
similar, just after doing the OS install (before the first reboot) and
then doing a full restore from backuppc (taken with shadow support), and
this did produce a working system, but it isn't always easy to have an
image of a machine, so would be great to be able to just use the
backuppc to do a full restore.

Regards,
Adam


-- 
Adam Goryachev
Website Managers
www.websitemanagers.com.au

--
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/