BackupPC-users

Re: [BackupPC-users] Starting Out Questions for Debian and Windows backups

2009-01-05 10:51:11
Subject: Re: [BackupPC-users] Starting Out Questions for Debian and Windows backups
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 05 Jan 2009 10:48:10 -0500
Adam Goryachev wrote at about 11:39:10 +1100 on Monday, January 5, 2009:
 > Mark Phillips wrote:
 > > I just setup backuppc 3.1.0 on a Debian system I am using it to backup
 > > several Debian machines and one Windows XP (using rsyncd and cygwin from
 > > the Backuppc Sourceforge site). I ran into a few issues that prompted
 > > some questions:
 > > 
 > > 1. Windows XP SP2 backup using cygwin-rsyncd-2.6.8_0
 > > 
 > > I had to set strict modes = false to get rsync to work on the Windows
 > > machine (running as a service). If not, I got an authorization error.
 > > Since rsyncd is running as a service, the notes said I have to make the
 > > secrets file readable only by the SYSTEM account. How do I do that? I
 > > was logged in as an administrator, and I clicked on the properties for
 > > the secrets file and made it read only. That did not work. I googled for
 > > some info on SYSTEM user for XP, but I never found a solution.
 > 
 > This is only possible on MS Windows XP Pro, XP Home doesn't have these
 > options. You will need to right click on the file, click properties,
 > then click Security, and then adjust the properties for the individual
 > users.

Not true -- cygwin allows you to use standard linux chown/chmod tools
to change ownership. This works in any version of XP (or even win2k
for that matter). You can even change acls using getfacl/setfacl.

 > 
 > > 2. What files should NOT be backed up on a Debian Linux machine?
 > > 
 > > I originally set BackupFilesExclude = /proc, /mnt, /dev, /cdrom,
 > > /floppy, /lost+found, /media, /var/lib/backuppc, and then started a full
 > > backup. I got lots of errors (~10,000), and the log file shows most of
 > > them (all - too many to count!) were confined to /sys. Should /sys be
 > > excluded as well? I am not enough of a Debian/Linux guru to know if this
 > > is a directory I should exclude or not. It seems that it should be
 > > excluded based on what I have read about it, but I just wanted to check
 > > with the experts. Are there any other directories that should be
 > > excluded from a "normal" Debian installation? Some of the machines are
 > > servers for tomcat/apache, some are desktop machines running X.
 > 
 > Personally, I add --one-file-system to rsync, and then just backup all
 > my filesystems. This automatically avoids devfs, /sys, /proc, etc...
 > Sometimes I also exclude /var/logs, but there are some advantages to
 > backing this dir up. I do also exclude /var/lib/mysql, but I have a
 > script which dumps the DB, and these dump files are backed up.
 > 
 > > 3. Are there any Windows directories that should be excluded from a
 > > backup? The Windows machine is not a server, just a desktop with users.
 > 
 > Again, it depends on if the system is XP Pro or XP Home... XP Pro has
 > vshadow support, (search the mailing list, someone posted scripts on how
 > to use that with backuppc etc in december).

Again not true -- indeed I wrote the script and I use it (exclusively)
on my home XP Home machines. You may be confusing this with the fact
that the reason my script is somewhat complicated is that the vshadow
implementation is a bit limited in XP vs. Vista -- but thankfully, I
don't use Vista so I had to do some kludge hacking to make vshadow
work on XP (but it has nothing to do with Pro vs. Home).


------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>