Re: [BackupPC-users] botched move of cpool directory

2007-05-11 Thread Nils Breunese (Lemonbit Internet)
Matthew Washburn wrote:

 I have a situation here.  I installed and upgraded BackupPC 7 and 3
 months ago, repectively, and have since rarely touched the thing.  I
 know when I did the upgrade I did something with the pool
 directories.  If my memory serves me correctly I believe I moved them
 from /home/backuppc/pc to /home/backuppc, although i could have done
 the reverse (apologies for the spacyness), and did some string
 replacement on /usr/share/backuppc/bin replacing all instances of 'pc/
 cpool' with '/cpool'.  In any event, my current situation is that I
 currently have both directories /home/backuppc/cpool and /home/
 backuppc/pc/pool (no more pool?) in existence, $TopDir is set to /
 home/backuppc in /etc/config.pl, the current size of /home/backuppc/
 cpool is 0, and despite having everything that I can see in the
 config  scripts/perl files referencing /home/backuppc/cppool nothing
 is backing up there.  Everything is still going to /home/backuppc/pc/
 cpool.  This has caused me to recently go into /usr/share/backuppc/
 bin/BackupPC_nightly and change $TopDir to /home/backuppc/pc/cpool in
 order to clean some old backups out.  I didn't look at this thing for
 a while and my disk all filled up.

 I would like to tidy up this install and have both cpool and trash
 residing in /home/backuppc.  Does anyone have any idea why data is
 not currently being placed in /home/backuppc/cpool and still going
 into /home/backuppc/pc/cpool?I have even tried backing up brand new
 boxes and have had the same results

I believe there are more files that have the path hardcoded. I believe
they were once discussed on this list.

Nils Breunese.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Backing up excluded directories

2007-05-11 Thread Miles Thompson
I have figured out most of BackupPC, but on some machine, directories
excluded in their configuration files are still being backed up.

From target machine's configuration file:
$Conf{SmbShareName} = 'sarah';
$Conf{BackupFilesExclude} = ['/MYMUSI~1','/WINDOWS','PROGRA~1'];

Two sections from the log for last night's incremental backup follow.
From the very top of it:

Running: /usr/bin/smbclient yoohoo\\sarah -I 192.168.1.9 -U buop -E -N -d 1 
-c tarmode\ inc -TcNrX /var/lib/backuppc/pc/yoohoo/timeStamp.level0 - /MYMUSI~1 
/WINDOWS PROGRA~1
Xfer PIDs are now 18432,18431
cmdExecOrEval: about to exec /usr/bin/smbclient yoohoo\\sarah -I 
192.168.1.9 -U buop -E -N -d 1 -c tarmode\ inc -TcNrX 
/var/lib/backuppc/pc/yoohoo/timeStamp.level0 - /MYMUSI~1 /WINDOWS PROGRA~1
Getting files newer than Fri May  4 13:13:13 2007
tar_re_search set
Domain=[YOOHOO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
tarmode is now incremental, system, hidden, noreset, verbose

and then further down, what I thought had been excluded:

  create d 755   0/0   0 My Music
  create d 755   0/0   0 My Music/ABBA
  create d 755   0/0   0 My Music/ABBA/Flip n Fill
  create d 755   0/0   0 My Music/ACDC
  create d 755   0/0   0 My Music/Aerosmith
  create d 755   0/0   0 My Music/Afro Man
  create d 755   0/0   0 My Music/Aimee Mann

Suggestions or a steer in the right direction would be appreciated.

Regards - Miles Thompson



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backing up excluded directories

2007-05-11 Thread Miles Thompson
James,

Thank you for the suggestion, but it did not work. The script never
enters Program Files or Windows, but has no such hesitation about
My Music.

I have had another thought - could it be continuing to visit this
directory because it was included in the original full backup?

Regards - Miles Thompson

James wrote:
 you may need to add '/My\ Music' or '/My Music' to your list of
 directories to exclude, I can't remember at the moment if you need to
 escape the space (using the backslash) or whether '/My Music' will
 work, one of those two should work though, I would guess that this is
 happening because samba accesses the folders with their full names
 rather than their msdos shortened names

 let me know if that works for you

 On 5/11/07, *Miles Thompson* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I have figured out most of BackupPC, but on some machine, directories
 excluded in their configuration files are still being backed up.

 From target machine's configuration file:
 $Conf{SmbShareName} = 'sarah';
 $Conf{BackupFilesExclude} = ['/MYMUSI~1','/WINDOWS','PROGRA~1'];

 Two sections from the log for last night's incremental backup follow.
 From the very top of it:

 Running: /usr/bin/smbclient yoohoo\\sarah -I 192.168.1.9
 http://192.168.1.9 -U buop -E -N -d 1 -c tarmode\ inc -TcNrX
 /var/lib/backuppc/pc/yoohoo/timeStamp.level0 - /MYMUSI~1 /WINDOWS
 PROGRA~1
 Xfer PIDs are now 18432,18431
 cmdExecOrEval: about to exec /usr/bin/smbclient yoohoo\\sarah
 -I 192.168.1.9 http://192.168.1.9 -U buop -E -N -d 1 -c tarmode\
 inc -TcNrX /var/lib/backuppc/pc/yoohoo/timeStamp.level0 -
 /MYMUSI~1 /WINDOWS PROGRA~1
 Getting files newer than Fri May  4 13:13:13 2007
 tar_re_search set
 Domain=[YOOHOO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
 tarmode is now incremental, system, hidden, noreset, verbose

 and then further down, what I thought had been excluded:

   create d 755   0/0   0 My Music
   create d 755   0/0   0 My Music/ABBA
   create d 755   0/0   0 My Music/ABBA/Flip n Fill
   create d 755   0/0   0 My Music/ACDC
   create d 755   0/0   0 My Music/Aerosmith
   create d 755   0/0   0 My Music/Afro Man
   create d 755   0/0   0 My Music/Aimee Mann

 Suggestions or a steer in the right direction would be appreciated.

 Regards - Miles Thompson



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 mailto:BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backing up excluded directories

2007-05-11 Thread Travis Fraser
On Fri, 2007-05-11 at 15:22 -0300, Miles Thompson wrote:
 James,
 
 Thank you for the suggestion, but it did not work. The script never
 enters Program Files or Windows, but has no such hesitation about
 My Music.
 
 I have had another thought - could it be continuing to visit this
 directory because it was included in the original full backup?
 
What does the smb share sarah refer to? My guess is a user's directory
under Documents and Settings. If so, that is why two of the excludes
appear to work. The third exclude will most likely work with a backslash
instead of the forward slash e.g. '\My Music' or '\My\ Music'.

 James wrote:
  you may need to add '/My\ Music' or '/My Music' to your list of
  directories to exclude, I can't remember at the moment if you need to
  escape the space (using the backslash) or whether '/My Music' will
  work, one of those two should work though, I would guess that this is
  happening because samba accesses the folders with their full names
  rather than their msdos shortened names
 
  let me know if that works for you
 
  On 5/11/07, *Miles Thompson* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  I have figured out most of BackupPC, but on some machine, directories
  excluded in their configuration files are still being backed up.
 
  From target machine's configuration file:
  $Conf{SmbShareName} = 'sarah';
  $Conf{BackupFilesExclude} = ['/MYMUSI~1','/WINDOWS','PROGRA~1'];
 

-- 
Travis Fraser [EMAIL PROTECTED]


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] rsync or tar?

2007-05-11 Thread M. Sabath
Hello to all,

I am new in this List.
We have a small office with 5 Mac OSX (10.4) and 3 PCs (XP).
We decided to back up with Backuppc.

The last few hours I searche the mailinglist and read a lot.

But I am still not sure if:

* it is better to use rsync or tar because of the
resource forks?

* I have to install additional software like xtar on the Macs?


* How would a sample.pl configurationfile look if I just want to back up
the folder /customers?

This I can find out by myself.
--

Thank you very much.


Markus



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/