Re: [BackupPC-users] Set host-based backup path

2006-07-25 Thread Davide Ferrari
El Lunes, 24 de Julio de 2006 21:41, Mark Coetser escribió:
> I would suggest stopping backuppc and moving /var/lib/backuppc/pc to your
> other partition just make sure you keep the permissions intact, then making
> a symlink to that

Yeah, this is what I did just after posting my request...it looks like a trick 
but it work nicely.
Only one doubt left: I'm using rsyncd as main backup method and I'm wondering 
if I could use two rsyncd "repositories" in one config file (as multiple 
directories with tar and rsync method). Maybe it's in the doc but I can't get 
it...

-- 
Davide Ferrari
System Administrator
atrapalo.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.php&p=sourceforge&CID=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] dry run of BackupPC_compressPool cant' create dirs

2006-07-25 Thread Vincent Fleuranceau
2006/7/25, Arlequín <[EMAIL PROTECTED]>:

> I su to BackupPC user (backuppc) and launched the command:
>
> /usr/share/backuppc/bin/BackupPC_compressPool -t -r
>
> but I am getting the following permission errors:
>
> mkdir /var/lib/backuppc/cpool/4: Permission denied at
> /usr/share/backuppc/bin/BackupPC_compr
> essPool line 153

(...)

> I don't want to run that command as root because the documentation says
> I have to run it as backuppc user.

Try this:

sudo -u backuppc /usr/share/backuppc/bin/BackupPC_compressPool -t -r

-- Vincent

-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] How can I verify backup pool integrity?

2006-07-25 Thread JP Vossen
I have used fsck to clear many errors on my backup volume after a crash 
during a power failure (see 
http://sourceforge.net/mailarchive/forum.php?thread_id=25989686&forum_id=503).

The system is back up, and the web GUI seems to be working normally. 
How can I verify the integrity of the backups without doing a full 
restore and compare, for which I simply do not have the disk space?

I've just re-read the FAQs and Docs and it seems like the combination of 
  BackupPC_link, BackupPC_trashClean and BackupPC_nightly *might* do 
enough checking to do the trick.  The next closest thing was 
BackupPC_compressPool, but I already am running with cpool and it 
specifically says "there must be no existing compressed backups when you 
run BackupPC_compressPool."

I'd rather not just clear the entire thing and start from scratch again 
because I have backups going back many months and would hate to lose 
that history.  But after fsck "fixed" all the stuff it did, I am worried 
that the pool has been corrupted and worse that it will CONTINUE to be 
corrupted as BackupPC assumes all is well and continues to hard link to 
crap instead of what it thinks it has.

For example, should there be directories below cpool/x/y/z?  No other 
container in cpool seems to have them except the one that had most of 
the fsck errors.  This seems like a Bad Thing:
/data/backuppc/cpool# find 1/9/4 -type d
1/9/4
1/9/4/1948594ab2b81e13ebeb08e4568cb7a8
1/9/4/1949df51f3b82896655bb92f8e61a5e8
1/9/4/1946962146aafc779f065303f338056b
1/9/4/19416ee737e69b60586629a65a023c87
1/9/4/19406588e36a7c661dae020d52a3d593
1/9/4/1942008474e4fb5cde93b56e47f67cb8
1/9/4/1940d491ca3f7f6640e22e6cf279d887
1/9/4/19431f3c7e5e1c086e20705e351b2276
1/9/4/194fd19855f8b6160a6dae78a7680e3c
1/9/4/19474739e5492f141d65f02212f459db

What happens if I 'rm -rf /data/backuppc/cpool/1/9/4'?

Thanks,
JP
|:::==|---
JP Vossen, CISSP|:::==|jp{at}jpsdomain{dot}org
My Account, My Opinions |=|  http://www.jpsdomain.org/
|=|---
Microsoft has single-handedly nullified Moore's Law.
Innate design flaws of Windows make a personal firewall, anti-virus
and anti-malware software mandatory. The resulting software arms race
has effectively flattened Moore's Law on hardware running Windows.

-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] front end for selection of backuppc

2006-07-25 Thread nilesh vaghela
Dear All,

We are trying to contribute for front end to selecte the bakcup.

As we have team good in java.

Initially we will try with rsync only.

This is already done with linux to linux backup.

We are trying for windows client also.

Any body interested let me know. Will send you or upload the code and the method.-- Nilesh VaghelaElectroMechRedhat Channel Partner and Training Partner74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.www.electromech.info
-
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.php&p=sourceforge&CID=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] Restoring a localhost

2006-07-25 Thread Carl Wilhelm Soderstrom
On 07/25 12:12 , Mark Miksis wrote:
> This means that I will want to have certain critical files
> available (and backed up) somewhere outside of the BackupPC infrastructure:
> 
> - BackupPC source or RPM (can be downloaded)
> - File::RsyncP source or RPM (can be downloaded)
> - any changes to default config.pl
> - localhost's per-PC config.pl
> - any necessary customization to the BackupPC httpd conf file

this is why I turn off compression on the backups of localhost. if you look
at the tree of files, they're still not quite a live copy; but close enough
to be usable if you only needed a few of them.

> - backuppc user's ssh keypair (and known_hosts?)

dunno about other distros, but under Debian, the backuppc user's homedir is
the same as __TOPDIR__ (/var/lib/backuppc).

-- 
Carl Soderstrom


-
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.php&p=sourceforge&CID=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] fsck errors after crash in cpool data

2006-07-25 Thread Carl Wilhelm Soderstrom
On 07/21 02:01 , JP Vossen wrote:
> I ran an fsck -n, logged the results and looked through them:
> 41"Inode * ref count is *, should be *."
> 34deleted/unused inode
> 25incorrect filetype
> 21link to directory
> 
> That seems like a lot of errors for a simple power crash.  Any thoughts 
> on that?

if you have a lot of disk activity, and a lot of changes queued up in memory
that haven't been flushed to disk yet, then it's not unusual. 
you might be surprised just how much Linux buffers in memory... try sending
several hundred MB to a slow USB drive sometime... it'll look like hundreds
of MB are transferred immediately, but then it appears to slow down. you'll
note that the amount which appears to be transferred, corresponds with
roughly the amount of memory which can be freed for the purpose. it's all
just cached in memory and slowly being flushed to disk.

this makes a lot of sense, because for short-lived files, it may happen that
they're created and deleted before ever hitting disk, thus improving
performance substantially.

-- 
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.php&p=sourceforge&CID=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] Understanding rsync

2006-07-25 Thread Randy Barlow
Craig Barratt wrote:
> ..plus drop the "+" from $argList:
> 
> $Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList';
> 
> since there is no shell that needs escaping of arguments.

Thanks Craig!

-
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.php&p=sourceforge&CID=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] dry run of BackupPC_compressPool cant' create dirs

2006-07-25 Thread Arlequín
On 25/07/2006 04:25, Vincent Fleuranceau wrote:
> 2006/7/25, Arlequín <[EMAIL PROTECTED]>:
> 
>> I su to BackupPC user (backuppc) and launched the command:
>>
>> /usr/share/backuppc/bin/BackupPC_compressPool -t -r
>>
>> but I am getting the following permission errors:
>>
>> mkdir /var/lib/backuppc/cpool/4: Permission denied at
>> /usr/share/backuppc/bin/BackupPC_compr
>> essPool line 153
> 
> (...)
> 
>> I don't want to run that command as root because the documentation says
>> I have to run it as backuppc user.
> 
> Try this:
> 
> sudo -u backuppc /usr/share/backuppc/bin/BackupPC_compressPool -t -r
> 
> -- Vincent
> 
Vincent,

Actually doing it using sudo causes the same effect... permission denied.

Perhaps I must change the permission on the directory cpool

This is what I have:

[EMAIL PROTECTED]:/var/lib/backuppc/cpool# ls -la
total 0
drwxr-xr-x  2 root root  6 2006-07-12 10:10 .
drwxr-x---  7 backuppc backuppc 80 2006-07-21 15:28 ..


-- 
Arlequín _o)
amahoro_AT_adinet_DOT_com_DOT_uy / \\
http://counter.li.org/ _(___V
Linux Registered User  #207262


-
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.php&p=sourceforge&CID=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] Restoring a localhost

2006-07-25 Thread Mark Miksis
Carl Wilhelm Soderstrom  real-time.com> writes:
> this is why I turn off compression on the backups of localhost. if you look
> at the tree of files, they're still not quite a live copy; but close enough
> to be usable if you only needed a few of them.

Thanks for the feedback.  I've thought of this, but I'd like to avoid turning
off compression, especially if the alternative is as simple as keeping an extra
copy of 2 or 3 small config files.
> 
> > - backuppc user's ssh keypair (and known_hosts?)
> 
> dunno about other distros, but under Debian, the backuppc user's homedir is
> the same as __TOPDIR__ (/var/lib/backuppc).
> 
Good point.  I guess this addresses the per-PC config files too.





-
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.php&p=sourceforge&CID=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] Restoring a localhost

2006-07-25 Thread Carl Wilhelm Soderstrom
On 07/25 04:01 , Mark Miksis wrote:
> Carl Wilhelm Soderstrom  real-time.com> writes:
> > this is why I turn off compression on the backups of localhost. if you look
> > at the tree of files, they're still not quite a live copy; but close enough
> > to be usable if you only needed a few of them.
> 
> Thanks for the feedback.  I've thought of this, but I'd like to avoid turning
> off compression, especially if the alternative is as simple as keeping an 
> extra
> copy of 2 or 3 small config files.

localhost's backups, at least on a dedicated server, aren't really that big.
few hundred MB. I don't worry about it. backing up the whole machine also
means that if some binary file on the machine is lost, which breaks
everything (been there, seen that), then it's fairly straightforward to
recover that file.

if you're really concerned about it, just back up /etc non-compressed; or
keep a separate live or semi-live backup using mondo, rsnapshot, or the
like. (redundant backups are a good thing in any case; I still use my
ancient Amanda server as a redundant and offsite backup system for some
hosts). 

> > > - backuppc user's ssh keypair (and known_hosts?)
> > 
> > dunno about other distros, but under Debian, the backuppc user's homedir is
> > the same as __TOPDIR__ (/var/lib/backuppc).
> > 
> Good point.  I guess this addresses the per-PC config files too.

per-pc config files should be under /etc/backuppc; tho I guess this probably
varies by installation. 

-- 
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.php&p=sourceforge&CID=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] dry run of BackupPC_compressPool cant' create dirs

2006-07-25 Thread Vincent Fleuranceau
2006/7/25, Arlequín <[EMAIL PROTECTED]>:

> Vincent,
>
> Actually doing it using sudo causes the same effect... permission denied.
>
> Perhaps I must change the permission on the directory cpool
>
> This is what I have:
>
> [EMAIL PROTECTED]:/var/lib/backuppc/cpool# ls -la
> total 0
> drwxr-xr-x  2 root root  6 2006-07-12 10:10 .
> drwxr-x---  7 backuppc backuppc 80 2006-07-21 15:28 ..
>

I have:

[EMAIL PROTECTED] /var/lib/backuppc/cpool]# ls -al
total 72
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:38 ./
drwxr-x---   9 backuppc backuppc 4096 jui 25 15:29 ../
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 0/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 1/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 2/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 3/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 4/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 5/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 6/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 7/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 8/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 9/
drwxr-x---  18 backuppc backuppc 4096 mar 14 01:41 a/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 b/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 c/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 d/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 e/
drwxr-x---  18 backuppc backuppc 4096 mar 13 14:48 f/

The following command should to fix the problem:

   chown -R backuppc:backuppc /var/lib/backuppc/

-- Vincent

-
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.php&p=sourceforge&CID=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] Restoring a localhost

2006-07-25 Thread Les Mikesell
On Tue, 2006-07-25 at 16:01 +, Mark Miksis wrote:

> > this is why I turn off compression on the backups of localhost. if you look
> > at the tree of files, they're still not quite a live copy; but close enough
> > to be usable if you only needed a few of them.
> 
> Thanks for the feedback.  I've thought of this, but I'd like to avoid turning
> off compression, especially if the alternative is as simple as keeping an 
> extra
> copy of 2 or 3 small config files.

I think your bigger worry should be that whatever might break the
rest of the machine will also fry or erase the backuppc drive.  My
approach is to periodically raid-mirror my archive disk to an
external firewire drive and I have a laptop with backuppc already
installed so I can connect the external drive and be ready to restore.

-- 
  Les Mikesell
   [EMAIL PROTECTED]




-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/