Re: [BackupPC-users] rsync error

2021-09-22 Thread Rob Morin
Hey Gary, to start with, are you able to simply ssh as the backuppc user to
those 2 servers?

Let us know.

On Wed., Sep. 22, 2021, 17:15 Gary L. Roach,  wrote:

> Hi All,
>
> After setting up SSH, Rsyncd and Backuppc, I tried to run a backup on two
> different computers and got the following log file error:
>
> 2021-09-22 13:22:08 Created directory /var/lib/backuppc/pc/supercrunch 
> /refCnt
> 2021-09-22 13:22:08 full backup started for directory /etc
> 2021-09-22 13:22:09 Got fatal error during xfer (rsync error: error starting 
> client-server protocol (code 5) at main.c(1683) [Receiver=3.1.3.0])
>
>
> My config.pl file for the host is attached.
>
> Any help will be sincerely appreciated.
>
> Gary R.
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Move current data dir to another location and start from scratch.

2021-08-12 Thread Rob Morin
Hey Guillermo, thanks for the reply...

How do you archive your backups?

WHat I was thinking was simply moving/renaming the current backup set and
making the dir immutable to prevent ransomware from getting to it.

Then start from scratch again, but leave that one for 6 months then do the
same thing again but deleting the older immutable copy.

Thanks  and of course , have a great day!



On Thu, Aug 12, 2021 at 10:10 AM Guillermo Rozas 
wrote:

> Hi,
>
> I have a full week's backup of all my servers, i want to make an immutable
>> copy of them, so I was thinking of just "moving" the current data dir, and
>> whatever else I might need to another partition, and start the backup from
>> scratch again.
>>
>
> Why "move and start from scratch"? Why don't you just copy the folder and
> let the backup keep working?
>
> I want to do that every 6 months...
>> Suggestions?
>>
>
> Do you really need the full BackupPC data structure, including the
> different snapshots, or is one copy of the data enough? For the latter case
> maybe the "Archive" function is better, as you get the files with the
> original files structure and names. However, you also lose the
> deduplication.
>
> I do a full Archive of my backups every 2 months to an external drive, but
> I have little overlap of files so losing deduplication is not an issue.
>
> Regards,
> Guillermo
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>


-- 

-- 

Rob Morin
Systems/Network Administrator
Hardent Inc.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Move current data dir to another location and start from scratch.

2021-08-11 Thread Rob Morin
Hey everyone

I have a full week's backup of all my servers, i want to make an immutable
copy of them, so I was thinking of just "moving" the current data dir, and
whatever else I might need to another partition, and start the backup from
scratch again.

Mean while i make the dir on that new partition immutable.

I want to do that every 6 months...

Suggestions?

Thanks & have a great day!

-- 

-- 

Rob Morin
Systems/Network Administrator
Hardent Inc.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Run VPN script before backup - PingCmd?

2021-07-13 Thread Rob Morin
Wow, ok so that worked!

I put the Connect2Office.sh in the DumpPreUserCmd
It returns a zero as exit status too
And drops the vpn when done with DumpPostUserCmd

[image: image.png]

DumpPreUserCmd cript looks like this:

#!/bin/bash
sudo openvpn --daemon --config /etc/openvpn/gateway.hardent.com.ovpn
sleep 10
echo $?
/bin/true

DumprPostUserCmd looks like this:

#!/bin/bash
sudo killall openvpn
echo $?
/bin/true

Thanks a bunch Adam.
I hope this helps others!
Have a great day everyone!


On Mon, Jul 12, 2021 at 7:52 PM Adam Goryachev via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

>
> On 13/7/21 05:32, Rob Morin wrote:
> > Hello all...
> >
> > I was looking at a way to start up my vpn from our remote backup site
> > to the office when backuppc starts a job.
> >
> > I googled around for quite a bit and saw some people were using  a
> > script in place of the pingcmd parameter.
> >
> > I have tried that but i cant get it to work, as well as stop the
> > connection when done using the PostDumpCmd.
> >
> > In a host, where the PingCmd text box is located i entered:
> > /usr/local/bin/Connect2Office.sh
> > And made sure the check mark was there and I saved it.
> >
> > The script itself is below, not much at all, really.
> >
> > #!/bin/bash
> > /bin/true
> > sudo openvpn --daemon --config /etc/openvpn/gateway.hardent.com.ovpn
> > echo $?
> >
> > I added the --daemon in order to put the process in the
> > background while running
> > /bin/true is there because i thought the exit status had to be something
> > and the echo $? is there for same exit status reason.
> >
> > The user backuppc is allowed to sudo that script via the sudoers file.
> >
> > Now , when I manually run this command as the user backuppc or
> > root,  from the command line, all works well, and I can manually start
> > a backup and it completes fine.
> >
> > However, when I click on the start incremental job from GUI for the
> > same host, as a test, the log file simply shows the below and nothing
> > gets backed up.
> >
> > 2021-07-12 14:49:45 incr backup started back to 2021-07-12 14:33:53
> > (backup #0) for directory /etc
> >
> > Then after several minutes of nothing i dequeue the backup and get the
> > below, which is of course normal.
> >
> > 2021-07-12 14:51:26 Aborting backup up after signal INT
> >
> > I am sure I am doing something stupid
> > Any help would be appreciated.
> >
> > Have a great day!
> >
> >
> I'm not sure of using PingCmd for this, but why not use the
> DumpPreUserCmd
> http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_dumppreusercmd_
> ? The stdout will be sent to the log for you to see what is happening.
>
> As for the script, usually you would run the /bin/true as the last
> command so that it will ignore any other exit status and always show
> "successful". So based on the current script, that line is pointless
> unless you moved it to after the openvpn command.
>
> You might also need to check any capabilities, probably backuppc doesn't
> have NET_CAP or ability to create tunnels etc, so once you are sure the
> script is being run (maybe add a touch /tmp/myscript) then you might
> want to define a openvpn log file so you can see what it is doing and/or
> why it fails
>
> You might also need a sleep or some other test to ensure the tunnel is
> actually working/passing traffic, as openvpn will return before the
> tunnel is up, and then backuppc will attempt to start the backup.
>
> Regards,
> Adam
>
>
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>


-- 

-- 

Rob Morin
Systems/Network Administrator
Hardent Inc.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Run VPN script before backup - PingCmd?

2021-07-12 Thread Rob Morin
Hello all...

I was looking at a way to start up my vpn from our remote backup site to
the office when backuppc starts a job.

I googled around for quite a bit and saw some people were using  a script
in place of the pingcmd parameter.

I have tried that but i cant get it to work, as well as stop the connection
when done using the PostDumpCmd.

In a host, where the PingCmd text box is located i entered:
/usr/local/bin/Connect2Office.sh
And made sure the check mark was there and I saved it.

The script itself is below, not much at all, really.

#!/bin/bash
/bin/true
sudo openvpn --daemon --config /etc/openvpn/gateway.hardent.com.ovpn
echo $?

I added the --daemon in order to put the process in the background while
running
/bin/true is there because i thought the exit status had to be something
and the echo $? is there for same exit status reason.

The user backuppc is allowed to sudo that script via the sudoers file.

Now , when I manually run this command as the user backuppc or root,  from
the command line, all works well, and I can manually start a backup and it
completes fine.

However, when I click on the start incremental job from GUI for the same
host, as a test, the log file simply shows the below and nothing gets
backed up.

2021-07-12 14:49:45 incr backup started back to 2021-07-12 14:33:53 (backup
#0) for directory /etc

Then after several minutes of nothing i dequeue the backup and get the
below, which is of course normal.

2021-07-12 14:51:26 Aborting backup up after signal INT

I am sure I am doing something stupid
Any help would be appreciated.

Have a great day!

-- 

-- 

Rob Morin
Systems/Network Administrator
Hardent Inc.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Change retention to 14 days

2017-08-28 Thread Rob Morin
Hello all, I could not seem to find or understand how to change the
retention to 14days and 3 full back ups. Maybe I just am blind...

Any help appreciated..

Have a great day
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] FTP backup of website

2017-07-12 Thread Rob Morin
Hello all... I am trying to get an ftp backup to work, i put in proper
hostname user password.

BackupPC version 4.13

I clicked start full backup and the log files shows this and nothing seems
to happen...
I change the real hostname to just host to protect the innocent. :)


Log file via GUI for this host

2017-07-11 09:39:58 Created directory /var/lib/backuppc/pc/host
<http://zion.hardent.com/BackupPC_Admin?host=home334697473.1and1-data.host>/refCnt
2017-07-11 09:39:58 ping too slow on host
<http://zion.hardent.com/BackupPC_Admin?host=home334697473.1and1-data.host>
37.71msec
2017-07-11 09:39:58 can't ping host
<http://zion.hardent.com/BackupPC_Admin?host=home334697473.1and1-data.host>
(client = host 
<http://zion.hardent.com/BackupPC_Admin?host=home334697473.1and1-data.host>);
exiting
2017-07-11 09:54:19 Aborting backup up after signal INT
2017-07-11 09:57:15 Aborting backup up after signal INT
2017-07-11 09:57:15 Renaming /var/lib/backuppc/pc/host
<http://zion.hardent.com/BackupPC_Admin?host=home334697473.1and1-data.host>/XferLOG.0.z
-> /var/lib/backuppc/pc/host
<http://zion.hardent.com/BackupPC_Admin?host=home334697473.1and1-data.host>/XferLOG.0.z.tmp
2017-07-12 05:57:15 Aborting backup up after signal ALRM
2017-07-12 05:57:15 Renaming /var/lib/backuppc/pc/host
<http://zion.hardent.com/BackupPC_Admin?host=home334697473.1and1-data.host>/XferLOG.0.z
-> /var/lib/backuppc/pc/host
<http://zion.hardent.com/BackupPC_Admin?host=home334697473.1and1-data.host>/XferLOG.0.z.tmp


/var/log/Backuppc/LOG file

2017-07-12 05:57:15 host: Can't use string ("0") as an ARRAY ref while
"strict refs" in use at /usr/local/BackupPC/lib/BackupPC/Xfer/Ftp.pm line
998.
2017-07-12 06:00:00 Next wakeup is 2017-07-12 07:00:00
2017-07-12 07:00:00 Next wakeup is 2017-07-12 08:00:00
2017-07-12 07:57:06 User backuppc requested backup of host)
2017-07-12 07:59:38 User backuppc requested backup of host (host)
2017-07-12 08:00:00 Next wakeup is 2017-07-12 09:00:00
2017-07-12 09:00:00 Next wakeup is 2017-07-12 10:00:00
2017-07-12 10:00:00 Next wakeup is 2017-07-12 11:00:00

You see where i manually try to do a full backup at 7:57 and 7:59

Nothing happens

I can successfully connect to the hot via filezilla and can see and upload
or download files without problems using same user and passwords as BackuPC
has .

Ideas suggestions?
Thanks to all! and have a nice day!

-- 

-- 

Rob Morin
Systems/Network Administrator
Hardent Inc.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Rename of directories error and other oddities...

2014-05-07 Thread Rob Morin
BTW even if i use the rename command on the root partition or any partition
i get pretty much the same error no matter what user I am...


Rob Morin
Senior Systems Administrator
Momentum Ventures
(514) 508-7500 Ext 207


-Original Message-
From: Holger Parplies [mailto:wb...@parplies.de] 
Sent: May-07-14 8:49 AM
To: backu...@kosowsky.org
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Rename of directories error and other
oddities...

Hi,

backu...@kosowsky.org wrote on 2014-05-06 20:37:48 -0400 [Re:
[BackupPC-users] Rename of directories error?and?other?oddities...]:
 Holger Parplies wrote at about 01:48:55 +0200 on Wednesday, May 7, 2014:
   Rob Morin wrote on 2014-05-06 15:02:34 -0400 [Re: [BackupPC-users]
Rename of directories error and?other?oddities...]:
To fix the issue I simply did the following...
   
mv /usr/bin/rename /usr/bin/rename.origln -s /bin/mv 
 /usr/bin/rename won't help. BackupPC doesn't use 
 /usr/bin/rename, it uses the Perl rename()   function named after the 
 system call. Actually, /usr/bin/rename is a Perl   script. I'm not 
 sure about the syntax, but I vaguely remember it's intended   for 
 renaming several files, applying a Perl regexp substitution to the 
 file   names, so you've likely just got the syntax wrong (the manual 
 page seems to   agree with that assumption).
 
 Not quite true...

coincidentally, the preceeding messages state something vaguely like ...

Rob Morin wrote on 2014-05-06 14:57:56 -0400 [Re: [BackupPC-users] Rename of
directories error and other   oddities...]:
RM After a test by su to backuppc user, i created a dir named new and 
RM then tried to rename it,  i got this error...
RM 
RM backuppc@locutus:~/pc/momentumvserver.momentum.local$
RM rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new
RM /var/lib/backuppc/pc/momentumvserver.momentum.local/0
RM 
RM Having no space between pattern and following word is deprecated at 
RM (eval 1) line 1.
RM Bareword found where operator expected at (eval 1) line 1, near
/var/lib
RM (Missing operator before b?) Search pattern not terminated 
RM at (eval 1) line 1.

I tend to believe that you'll agree that this is a Perl error message. I
would further assume that I'd get such an error message if I tried to use
something like /var/lib/backuppc/pc/momentumvserver.momentum.local/new as
a regular expression (because the /var/ part is one, it's just not
supposed to be followed by lib without intervening space (not that the
space would help much, of course ;-)).

 [...]
 On debian systems, 'rename' is indeed a perl script calling the perl 
 rename function. Interestingly, usr/bin/rename is a link to 
 /etc/alternatives/rename which in turn is a link to /usr/bin/prename 
 (where presumably the 'p' stands for Perl)
 
 On Fedora/Centos/Cygwin, 'rename' is a (standard) linux binary utility 
 in the standard util-linux (Linux utility) package.
 
 The usage (unfortunately) is *not* the same... which is a pita since I 
 have needed to modify my scripts depending on what linux distro they 
 are running on...

I agree on the Debian part, believe you about the Fedora/Centos/Cygwin part
and wonder about your script part (though I see that calling a command
rather than the syscall might make sense, e.g. if you need to move cross
device or recursively, but why not use 'mv' then?), but it's really beside
the point.
BackupPC uses the syscall, not the command, unless I missed something. Thus,
replacing the command will not change anything, whether you might be on
Debian, Fedora, Centos or even Cygwin (though I doubt you'll have much fun
running the BackupPC server there).

Regards,
Holger


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity #149; Requirements
for releasing software faster #149; Expert tips and advice for migrating
your SCM now http://p.sf.net/sfu/perforce
___
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/


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
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] Rename of directories error and other oddities...

2014-05-07 Thread Rob Morin
All my backups seemed to have worked... I check this morning and it looks
good, I will try some restores later on and see how it goes...

Anyone see a problem if i leave it this way?

As i have not touched or altered anything other than doing standard apt-g
upgrade on the box SO i am not sure why this command would stop working
due to this particular error



Rob Morin
Senior Systems Administrator
Momentum Ventures
(514) 508-7500 Ext 207


-Original Message-
From: Holger Parplies [mailto:wb...@parplies.de] 
Sent: May-07-14 8:49 AM
To: backu...@kosowsky.org
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Rename of directories error and other
oddities...

Hi,

backu...@kosowsky.org wrote on 2014-05-06 20:37:48 -0400 [Re:
[BackupPC-users] Rename of directories error?and?other?oddities...]:
 Holger Parplies wrote at about 01:48:55 +0200 on Wednesday, May 7, 2014:
   Rob Morin wrote on 2014-05-06 15:02:34 -0400 [Re: [BackupPC-users]
Rename of directories error and?other?oddities...]:
To fix the issue I simply did the following...
   
mv /usr/bin/rename /usr/bin/rename.origln -s /bin/mv 
 /usr/bin/rename won't help. BackupPC doesn't use 
 /usr/bin/rename, it uses the Perl rename()   function named after the 
 system call. Actually, /usr/bin/rename is a Perl   script. I'm not 
 sure about the syntax, but I vaguely remember it's intended   for 
 renaming several files, applying a Perl regexp substitution to the 
 file   names, so you've likely just got the syntax wrong (the manual 
 page seems to   agree with that assumption).
 
 Not quite true...

coincidentally, the preceeding messages state something vaguely like ...

Rob Morin wrote on 2014-05-06 14:57:56 -0400 [Re: [BackupPC-users] Rename of
directories error and other   oddities...]:
RM After a test by su to backuppc user, i created a dir named new and 
RM then tried to rename it,  i got this error...
RM 
RM backuppc@locutus:~/pc/momentumvserver.momentum.local$
RM rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new
RM /var/lib/backuppc/pc/momentumvserver.momentum.local/0
RM 
RM Having no space between pattern and following word is deprecated at 
RM (eval 1) line 1.
RM Bareword found where operator expected at (eval 1) line 1, near
/var/lib
RM (Missing operator before b?) Search pattern not terminated 
RM at (eval 1) line 1.

I tend to believe that you'll agree that this is a Perl error message. I
would further assume that I'd get such an error message if I tried to use
something like /var/lib/backuppc/pc/momentumvserver.momentum.local/new as
a regular expression (because the /var/ part is one, it's just not
supposed to be followed by lib without intervening space (not that the
space would help much, of course ;-)).

 [...]
 On debian systems, 'rename' is indeed a perl script calling the perl 
 rename function. Interestingly, usr/bin/rename is a link to 
 /etc/alternatives/rename which in turn is a link to /usr/bin/prename 
 (where presumably the 'p' stands for Perl)
 
 On Fedora/Centos/Cygwin, 'rename' is a (standard) linux binary utility 
 in the standard util-linux (Linux utility) package.
 
 The usage (unfortunately) is *not* the same... which is a pita since I 
 have needed to modify my scripts depending on what linux distro they 
 are running on...

I agree on the Debian part, believe you about the Fedora/Centos/Cygwin part
and wonder about your script part (though I see that calling a command
rather than the syscall might make sense, e.g. if you need to move cross
device or recursively, but why not use 'mv' then?), but it's really beside
the point.
BackupPC uses the syscall, not the command, unless I missed something. Thus,
replacing the command will not change anything, whether you might be on
Debian, Fedora, Centos or even Cygwin (though I doubt you'll have much fun
running the BackupPC server there).

Regards,
Holger


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity #149; Requirements
for releasing software faster #149; Expert tips and advice for migrating
your SCM now http://p.sf.net/sfu/perforce
___
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/


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
BackupPC-users mailing list
BackupPC-users

[BackupPC-users] Rename of directories error and other oddities...

2014-05-06 Thread Rob Morin
Hello all

 

I recently started to get this error in the backupPC logs...

 

014-05-05 16:55:25 Got fatal error during xfer (aborted by user
(signal=INT))
2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /etc
2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /etc
2014-05-05 20:00:06 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /backups/Linux/K1/Databases/daily
2014-05-05 20:00:12 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /backups/Linux/K1/Databases/daily
2014-05-05 20:06:41 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /home/gandalf
2014-05-05 20:06:41 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /home/gandalf
2014-05-05 20:07:19 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /home/it
2014-05-05 20:07:19 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /home/it
2014-05-06 01:12:31 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /usr/local/bin
2014-05-06 01:12:31 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /usr/local/bin
2014-05-06 01:12:48 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /home/eric.off
2014-05-06 01:12:49 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /root
2014-05-06 01:12:50 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /home/eric.off
2014-05-06 01:12:51 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /root
2014-05-06 01:17:00 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /usr/local/src
2014-05-06 01:17:01 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /usr/local/src
2014-05-06 01:19:47 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /var/www
2014-05-06 01:19:47 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /var/www
2014-05-06 01:20:13 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /var/atlassian/application-data/confluence/backups
2014-05-06 01:20:13 incr backup started back to 2014-05-04 07:00:02 (backup
#0) for directory /var/atlassian/application-data/confluence/backups
2014-05-06 01:34:50 Rename /var/lib/backuppc/pc/
http://locutus.momentum.local/backuppc/index.cgi?host=k1.momentum.local
k1.momentum.local/new - /var/lib/backuppc/pc/
http://locutus.momentum.local/backuppc/index.cgi?host=k1.momentum.local
k1.momentum.local/1 failed

 

Couple things, not sure why everything is doubled

Don't know why there is that rename error 

And thirdly the backup gets deleted somehow right after its done...

 

When i go to browse the files that were backed up i get the below error...
Any help appreciated as i currently have no backups at all...

 

 

Error: Directory /var/lib/backuppc/pc/k1.momentum.local/1 is empty

 

 

 

Rob Morin

Senior Systems Administrator

Momentum Ventures

(514) 508-7500 Ext 207

 

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
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] Rename of directories error and other oddities...

2014-05-06 Thread Rob Morin
Might be, i did start one and then dequeued it... but one would figure that
if one is started the other should not be... :)

But my biggest issue is the rename error and the fact it never saves the
backups!


Rob Morin
Senior Systems Administrator
Momentum Ventures
(514) 508-7500 Ext 207

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: May-06-14 8:53 AM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Rename of directories error and other
oddities...

On Tue, May 6, 2014 at 7:06 AM, Rob Morin r...@mventures.ca wrote:
 
 2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 
 (backup
 #0) for directory /etc

 2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 
 (backup
 #0) for directory /etc


Could you have somehow gotten 2 instances started at once?

-- 
   Les Mikesell
lesmikes...@gmail.com


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity #149; Requirements
for releasing software faster #149; Expert tips and advice for migrating
your SCM now http://p.sf.net/sfu/perforce
___
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/


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
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] Rename of directories error and other oddities...

2014-05-06 Thread Rob Morin
After a test by su to backuppc user, i created a dir named new and then
tried to rename it,  i got this error...

backuppc@locutus:~/pc/momentumvserver.momentum.local$ 
rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new
/var/lib/backuppc/pc/momentumvserver.momentum.local/0

Having no space between pattern and following word is deprecated at (eval 1)
line 1.
Bareword found where operator expected at (eval 1) line 1, near /var/lib
(Missing operator before b?)
Search pattern not terminated at (eval 1) line 1.

As backup[PC user or as root i get the same error??

Problem with the rename command?


Rob Morin
Senior Systems Administrator
Momentum Ventures
(514) 508-7500 Ext 207


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: May-06-14 1:38 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Rename of directories error and other
oddities...

On Tue, May 6, 2014 at 8:05 AM, Rob Morin r...@mventures.ca wrote:
 Might be, i did start one and then dequeued it... but one would figure 
 that if one is started the other should not be... :)

 But my biggest issue is the rename error and the fact it never saves 
 the backups!


If two were running, I'd expect one rename to fail.  Has this failure mode
happened more than once?

--
  Les Mikesell
lesmikes...@gmail.com


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity #149; Requirements
for releasing software faster #149; Expert tips and advice for migrating
your SCM now http://p.sf.net/sfu/perforce
___
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/


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
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] Rename of directories error and other oddities...

2014-05-06 Thread Rob Morin
To fix the issue I simply did the following...

mv /usr/bin/rename /usr/bin/rename.orig
ln -s /bin/mv /usr/bin/rename

Testing a back up now


Rob Morin
Senior Systems Administrator
Momentum Ventures
(514) 508-7500 Ext 207


-Original Message-
From: Rob Morin [mailto:r...@mventures.ca] 
Sent: May-06-14 2:58 PM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] Rename of directories error and other
oddities...

After a test by su to backuppc user, i created a dir named new and then
tried to rename it,  i got this error...

backuppc@locutus:~/pc/momentumvserver.momentum.local$
rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new
/var/lib/backuppc/pc/momentumvserver.momentum.local/0

Having no space between pattern and following word is deprecated at (eval 1)
line 1.
Bareword found where operator expected at (eval 1) line 1, near /var/lib
(Missing operator before b?)
Search pattern not terminated at (eval 1) line 1.

As backup[PC user or as root i get the same error??

Problem with the rename command?


Rob Morin
Senior Systems Administrator
Momentum Ventures
(514) 508-7500 Ext 207


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com]
Sent: May-06-14 1:38 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Rename of directories error and other
oddities...

On Tue, May 6, 2014 at 8:05 AM, Rob Morin r...@mventures.ca wrote:
 Might be, i did start one and then dequeued it... but one would figure 
 that if one is started the other should not be... :)

 But my biggest issue is the rename error and the fact it never saves 
 the backups!


If two were running, I'd expect one rename to fail.  Has this failure mode
happened more than once?

--
  Les Mikesell
lesmikes...@gmail.com


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity #149; Requirements
for releasing software faster #149; Expert tips and advice for migrating
your SCM now http://p.sf.net/sfu/perforce
___
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/



--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity #149; Requirements
for releasing software faster #149; Expert tips and advice for migrating
your SCM now http://p.sf.net/sfu/perforce
___
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/


--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
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] Backup windows xp/wind7/vista

2011-05-24 Thread Rob Morin
This works great, I see that you are using an exclude rather than include 
option... good to keep in mind...

Thanks for the help buddy!





Rob Morin
Systems Administrator
Infinity Labs Inc.
(514) 387-0638 Ext: 207




-Original Message-
From: Marcelino Mata [mailto:mm...@multimatic.com] 
Sent: Thursday, May 19, 2011 6:24 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Backup windows xp/wind7/vista

I use the setting below for about 25 Windows XP computers...it probably
has extra entries which are not required.


$Conf{SmbShareName} = [
  'C$'
];
 
 
 
$Conf{BackupFilesExclude} = {
  '*' = [
'\\TEMP\\*',
'\\temp\\*',
'\\WINDOWS\\*',
'\\Program Files\\*',
'\\pagefile.sys',
'\\System Volume Information\\*',
'*.ost',
'\\Documents and Settings\\*\\Local Settings\\Temporary Internet
Files\\*',
'\\hiberfil.sys',
'Thumbs.db',
'IconCache.db',
'?ache*',
'\\RECYCLER\\*',
'\\Documents and Settings\\*\\ntuser.dat*',
'\\Documents and Settings\\*\\NTUSER.DAT*',
'\\Documents and Settings\\*\\Cookies',
'\\MSOCache',
'\\Documents and Settings\\*\\Local Settings\\Temp\\*',
'*.lock',
'*.vmdk',
'*.vmem',
'*.tmp',
'\\Documents and Settings\\*\\Application Data\\*',
'*.wma',
'*.mp3'
  ]
};

 
Marcelino



 


Marcelino Mata
Engineering Technology Specialist
Multimatic Technical Centre
85 Valleywood Drive
Markham, ON
Canada
L3R 5E5
Tel.   +1 905 470 0025

 
 
 
CONFIDENTIALITY NOTE: This email (and attachments, if any) contain(s) 
information that is PRIVATE and CONFIDENTIAL, and may be LEGALLY PRIVILEGED or 
otherwise exempt from disclosure under applicable law. All copyright is 
reserved, and no right or license is granted to duplicate or publish the 
content of this email or to forward it to third parties, without, in each case, 
specific permission. If you have received this email in error, you must not 
copy, distribute, retain or use this email or the information contained in it 
for any purpose (other than to notify the sender). If you believe that you are 
not the intended recipient of this email, please contact the sender immediately 
and delete this email from your computer system (including any archive or other 
storage facilities). Thank you.

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
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/


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
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] Backup windows xp/wind7/vista

2011-05-19 Thread Rob Morin
For the life of me I cannot figure out how to backup only one dir on a
Windows box. I followed many instructions, which were pretty much the same
and have not accomplished anything.

 

I simply choose smb as xfer method and then made the smbsharename c$ and
added  under backupfilesony \temp as a test.

Errors are either no files exist or it backsup the whole c drive. can
someone please point me to some working docs about backing up windows boxes?
All my linux boxes work like a charm..

 

Here is my config file for the PC in question

 

$Conf{SmbShareName} = [

  'c$'

];

$Conf{BackupFilesOnly} = {

  'c$' = [

'\\temp'

  ]

};

 

Thanks..

 

 

 

Rob Morin

Systems Administrator

Infinity Labs Inc.

(514) 387-0638 Ext: 207

ilabs-email-sig

 

 

attachment: image001.gif--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
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] 18 hour incremental backups?

2011-02-28 Thread Rob Morin
Hello all. I cannot seem to wonder why incremental backups would take 18
hours?

 

2011-02-26 23:00:10 incr backup started back to 2011-02-21 20:00:01 (backup
#0) for directory /etc

2011-02-26 23:02:15 incr backup started back to 2011-02-21 20:00:01 (backup
#0) for directory /home

2011-02-27 16:34:08 incr backup started back to 2011-02-21 20:00:01 (backup
#0) for directory /usr/local/src

2011-02-27 16:35:41 incr backup started back to 2011-02-21 20:00:01 (backup
#0) for directory /var/lib/mysql/mysql_backup

2011-02-27 18:01:46 incr backup 5 complete, 12825 files, 28192345844 bytes,
0 xferErrs (0 bad files, 0 bad shares, 0 other)

 

The home dir is under 50 gigs, and its incremental? Both server involved
here are dual Quad Core Xeons with 12 gigs of RAM, the server being backed
up is a software RAID1, and the backupPC server has a system partition that
is a RAID 1 but the /var/lib/backupPC is on another physical disk that is
2.0TB  no RAID. Network is Gigabit.

 

What am I doing wrong or missing here?

 

Here are the other times this machine was backed up, pretty slow as well..

 

 

Backup# Type Filled Level Start Date Duration/mins Age/days Server Backup
Path 

0
https://mail.6948065.com/backuppc/index.cgi?action=browsehost=d9.interhub.
localnum=0  full yes 0 2/21 20:00 202.1 6.7
/var/lib/backuppc/pc/d9.interhub.local/0

1
https://mail.6948065.com/backuppc/index.cgi?action=browsehost=d9.interhub.
localnum=1  incr no 1 2/22 23:00 183.7 5.5
/var/lib/backuppc/pc/d9.interhub.local/1

2
https://mail.6948065.com/backuppc/index.cgi?action=browsehost=d9.interhub.
localnum=2  incr no 1 2/23 23:00 352.5 4.5
/var/lib/backuppc/pc/d9.interhub.local/2 

3
https://mail.6948065.com/backuppc/index.cgi?action=browsehost=d9.interhub.
localnum=3  incr no 1 2/24 23:00 518.9 3.5
/var/lib/backuppc/pc/d9.interhub.local/3

4
https://mail.6948065.com/backuppc/index.cgi?action=browsehost=d9.interhub.
localnum=4  incr no 1 2/25 23:00 485.4 2.5
/var/lib/backuppc/pc/d9.interhub.local/4 

5
https://mail.6948065.com/backuppc/index.cgi?action=browsehost=d9.interhub.
localnum=5  incr no 1 2/26 23:00 1141.6 1.5
/var/lib/backuppc/pc/d9.interhub.local/5

6
https://mail.6948065.com/backuppc/index.cgi?action=browsehost=d9.interhub.
localnum=6  incr no 1 2/27 23:00 566.9 0.5
/var/lib/backuppc/pc/d9.interhub.local/6

 

Any suggestions?

 

Thanks to all..

 

 

Rob Morin

Systems Administrator

Infinity Labs Inc.

(514) 387-0638 Ext: 207

ilabs-email-sig

 

image001.gif--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev ___
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] Backup lasts forever rsync with linux

2011-02-22 Thread Rob Morin
Ok thanks, I had another first full backup run and it took 14 hours to
complete, it was under 125 gigs...

Thanks for the info Mark  Les



Rob Morin
Systems Administrator
Infinity Labs Inc.
(514) 387-0638 Ext: 207



-Original Message-
From: Mark Maciolek [mailto:macio...@unh.edu] 
Sent: Tuesday, February 22, 2011 10:23 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Backup lasts forever rsync with linux

hi,

Right from the documentation:

For each complete, good, backup, BackupPC_link is run. To avoid race 
conditions as new files are linked into the pool area, only a single 
BackupPC_link program runs at a time and the rest are queued.
BackupPC_link reads the NewFileList written by BackupPC_dump and 
inspects each new file in the backup. It re-checks if there is a 
matching file in the pool (another BackupPC_link could have added the 
file since BackupPC_dump checked). If so, the file is removed and 
replaced by a hard link to the existing file. If the file is new, a hard 
link to the file is made in the pool area, so that this file is 
available for checking against each new file and new backup.

Then, for incremental backups, hard links are made in the new backup to 
all files that were not extracted during the incremental backups. The 
means the incremental dump looks like a complete image of the PC (with 
the exception that files that were removed on the PC since the last full 
dump will still appear in the backup directory tree).



On 2/22/2011 10:17 AM, Rob Morin wrote:
 So i have this server that started its backup at 10pm Yesterday. The
 logs below say it finished @ 1:52, however on the status page it still
 shows that its running and that it started at 5:50 am, my server has a
 high load with a PID that accompanies the backup process for the server
 being backed up.

 What going on?

 Log file :

 2011-02-21 22:00:00 full backup started for directory /etc

 2011-02-21 22:01:41 full backup started for directory /home

 2011-02-22 01:35:02 full backup started for directory /usr/local/src

 2011-02-22 01:37:25 full backup started for directory
 /var/lib/mysql/mysql_backup

 2011-02-22 01:52:58 full backup 0 complete, 999677 files, 57653209583
 bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other)

 Status:

 Currently Running Jobs

 Host

   

 Type

   

 User

   

 Start Time

   

 Command

   

 PID

   

 Xfer PID

 k1.interhub.local
 https://mail.6948065.com/backuppc/index.cgi?host=k1.interhub.local

   

 full

   

 root mailto:root

   

 2/22 05:50

   

 BackupPC_link k1.interhub.local

   

 24726

   

 Ps on backupPC server:

 6431 ? S 1:40 /usr/bin/perl /usr/share/backuppc/bin/BackupPC -d

 6433 ? S 0:33 /usr/bin/perl /usr/share/backuppc/bin/BackupPC_trashClean

 17849 pts/0 S+ 0:00 grep -i back

 24726 ? D 2:50 /usr/bin/perl /usr/share/backuppc/bin/BackupPC_link
 k1.interhub.local

 Top of backupPC server:

 top - 10:16:39 up 21:04, 2 users, load average: 3.97, 4.54, 4.70

 Tasks: 221 total, 1 running, 220 sleeping, 0 stopped, 0 zombie

 Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 76.8%id, 23.1%wa, 0.0%hi, 0.0%si, 0.0%st

 Mem: 8193608k total, 8109764k used, 83844k free, 3347896k buffers

 Swap: 98052080k total, 640k used, 98051440k free, 1880360k cached

 Rob Morin

 Systems Administrator

 Infinity Labs Inc.

 (514) 387-0638 Ext: 207

 ilabs-email-sig





--
 Index, Search  Analyze Logs and other IT data in Real-Time with Splunk
 Collect, index and harness all the fast moving IT data generated by your
 applications, servers and devices whether physical, virtual or in the
cloud.
 Deliver compliance at lower cost and gain new business insights.
 Free Software Download: http://p.sf.net/sfu/splunk-dev2dev



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

-- 
Mark Maciolek
Network Administrator
Morse Hall 339
862-3050
mark.macio...@unh.edu
https://www.sr.unh.edu


--
Index, Search  Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
___
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] Windows XP backup NOT entire drive just one or two folders

2011-02-16 Thread Rob Morin
Hello all my first post, so please be gentle.

 

I installed and setup backupPC(3.1) on my Ubuntu(maverick) Linux box via
apt-get.

 

I use to use BackupPC a few years back for linux only backups and it worked
great. Recently my HP tape drive failed at work and I figured I would go to
disk backup instead and give BackupPC a try once again but for Windows boxen
this time.

 

So I configure a Windows XP(sp3) machine as a test before I go to windows
server 2008 R2. But for the life of me I cannot get BackupPC to backup only
a particular drive??

I googled and found a few posts, and I thought I had found one here.

http://aproductivelife.blogspot.com/2010/05/backuppc-basic-setup-and-configu
ration.html

 

But those instructions do not work.

Basically I want to ONLY backup the folder named outlook on the c: drive of
a few manager's PCs

I follwed this specific screen shot

http://4.bp.blogspot.com/_eCq37kpjZh0/S9o0T9X6hEI/FII/L_NTxSHO6YI/s1
600/000-2010-04-29+21+36.jpg

 

I am using the GUI rather than edit the files as I wanted to make it simple
for others to use when I am away or if other sys admins need to restore
files..

 

No matter what I configure it always backs up the entire C$ dirve rather
than just the c:\outlook folder?

 

I am dumbfounded.

 

Can someone throw me a bone? J

 

Thanks in advance.

 

Rob Morin

Systems Administrator

Infinity Labs Inc.

(514) 387-0638 Ext: 207

ilabs-email-sig

 

image001.gif--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] Windows XP backup NOT entire drive just one or two folders

2011-02-16 Thread Rob Morin
Forgot to show what the config file looks like, sorry

 

$Conf{SmbShareUserName} = 'domain_name\\admin';

$Conf{SmbShareName} = [

  'c$'

];

$Conf{BackupFilesOnly} = {

  'c$' = [

'\\outlook'

  ]

};

 

 

 

Rob Morin

Systems Administrator

Infinity Labs Inc.

(514) 387-0638 Ext: 207

ilabs-email-sig

 

From: Rob Morin [mailto:r...@ilabsinc.com] 
Sent: Wednesday, February 16, 2011 11:23 AM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Windows XP backup NOT entire drive just one or two
folders

 

Hello all my first post, so please be gentle.

 

I installed and setup backupPC(3.1) on my Ubuntu(maverick) Linux box via
apt-get.

 

I use to use BackupPC a few years back for linux only backups and it worked
great. Recently my HP tape drive failed at work and I figured I would go to
disk backup instead and give BackupPC a try once again but for Windows boxen
this time.

 

So I configure a Windows XP(sp3) machine as a test before I go to windows
server 2008 R2. But for the life of me I cannot get BackupPC to backup only
a particular drive??

I googled and found a few posts, and I thought I had found one here.

http://aproductivelife.blogspot.com/2010/05/backuppc-basic-setup-and-configu
ration.html

 

But those instructions do not work.

Basically I want to ONLY backup the folder named outlook on the c: drive of
a few manager's PCs

I follwed this specific screen shot

http://4.bp.blogspot.com/_eCq37kpjZh0/S9o0T9X6hEI/FII/L_NTxSHO6YI/s1
600/000-2010-04-29+21+36.jpg

 

I am using the GUI rather than edit the files as I wanted to make it simple
for others to use when I am away or if other sys admins need to restore
files..

 

No matter what I configure it always backs up the entire C$ dirve rather
than just the c:\outlook folder?

 

I am dumbfounded.

 

Can someone throw me a bone? J

 

Thanks in advance.

 

Rob Morin

Systems Administrator

Infinity Labs Inc.

(514) 387-0638 Ext: 207

ilabs-email-sig

 

image001.gif--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] Windows XP backup NOT entire drive just one or two folders

2011-02-16 Thread Rob Morin
I found the searchable email list and found my answer.

 

I made my conf file look like this and it worked fine!

 

$Conf{SmbShareUserName} = 'domain_name\\admin';

$Conf{SmbShareName} = [

  'c$'

];

$Conf{BackupFilesOnly} = {

  'c$' = ['/outlook']

};

 

From what I can see it was the /   rather than \ that did it

 

Thanks to all!

 

 

Rob Morin

Systems Administrator

Infinity Labs Inc.

(514) 387-0638 Ext: 207

ilabs-email-sig

 

From: Rob Morin [mailto:r...@ilabsinc.com] 
Sent: Wednesday, February 16, 2011 12:07 PM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] Windows XP backup NOT entire drive just one or
two folders

 

Forgot to show what the config file looks like, sorry

 

$Conf{SmbShareUserName} = 'domain_name\\admin';

$Conf{SmbShareName} = [

  'c$'

];

$Conf{BackupFilesOnly} = {

  'c$' = [

'\\outlook'

  ]

};

 

 

 

Rob Morin

Systems Administrator

Infinity Labs Inc.

(514) 387-0638 Ext: 207

ilabs-email-sig

 

From: Rob Morin [mailto:r...@ilabsinc.com] 
Sent: Wednesday, February 16, 2011 11:23 AM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Windows XP backup NOT entire drive just one or two
folders

 

Hello all my first post, so please be gentle.

 

I installed and setup backupPC(3.1) on my Ubuntu(maverick) Linux box via
apt-get.

 

I use to use BackupPC a few years back for linux only backups and it worked
great. Recently my HP tape drive failed at work and I figured I would go to
disk backup instead and give BackupPC a try once again but for Windows boxen
this time.

 

So I configure a Windows XP(sp3) machine as a test before I go to windows
server 2008 R2. But for the life of me I cannot get BackupPC to backup only
a particular drive??

I googled and found a few posts, and I thought I had found one here.

http://aproductivelife.blogspot.com/2010/05/backuppc-basic-setup-and-configu
ration.html

 

But those instructions do not work.

Basically I want to ONLY backup the folder named outlook on the c: drive of
a few manager's PCs

I follwed this specific screen shot

http://4.bp.blogspot.com/_eCq37kpjZh0/S9o0T9X6hEI/FII/L_NTxSHO6YI/s1
600/000-2010-04-29+21+36.jpg

 

I am using the GUI rather than edit the files as I wanted to make it simple
for others to use when I am away or if other sys admins need to restore
files..

 

No matter what I configure it always backs up the entire C$ dirve rather
than just the c:\outlook folder?

 

I am dumbfounded.

 

Can someone throw me a bone? J

 

Thanks in advance.

 

Rob Morin

Systems Administrator

Infinity Labs Inc.

(514) 387-0638 Ext: 207

ilabs-email-sig

 

image001.gif--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] mysql files

2008-04-11 Thread Rob Morin
Is it possible that backuppc can mulch mysql files while doing a backup?

Should i be excluding mysql files from the backup, mind i do night 
mysqldumps anyways...

Any suggestions?

-- 

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] mysql files

2008-04-11 Thread Rob Morin

Nils Breunese (Lemonbit) wrote:
 Op 11 apr 2008, om 14:27 heeft Rob Morin het volgende geschreven:

   
 Is it possible that backuppc can mulch mysql files while doing a  
 backup?

 Should i be excluding mysql files from the backup, mind i do night
 mysqldumps anyways...

 Any suggestions?
 

 See the example here: 
 http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_dumppreusercmd_

 Nils Breunese.

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
 Don't miss this year's exciting event. There's still time to save $100. 
 Use priority code J8TL2D2. 
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 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/
   

Thanks for that link, but i wanted to know if it is possible that just 
backuppc performing the backup of mysql files, if that can cause an 
issue with teh files while the server is running, IE like corrupting  
.myd files or stuff like that?

Thanks...

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-





-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Using NFS share as BackupPC pool

2007-12-05 Thread Rob Morin
I too am using Backuppc to backup over NFS V3 never had an issue i 
backup 5 linux box every day, its been running smooth as ice for the 
last 6 months or so...

I have a question, is there any advantage to use nfs v3 over nfs v4?

Everybody have a great day!

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Travis Fraser wrote:
 On Tue, 04 Dec 2007 22:45:40 +0100
 Dan S. Hemsø Rasmussen [EMAIL PROTECTED] wrote:

   
 Hi...

 Yes... the Synology box is running with Linux.. the box have a mirror 
 raid, and have just made a firmware with NFS support... So it should 
 support hardlinks

 Do you have any experience good/bad, with BackupPC and NFS any 
 performence issues...?

 
 I backup 6 machines for a total of around 40GB. The NFS performance has
 never appeared to have any issues. One time the NAS box did hang,
 causing some obvious problems. A restart of the NAS box fixed things
 though. Other than that one hang, the BackupPC server has been running
 fine for over two years straight.
   
 Hi...

 Anyone tried to use a NFS mount as pool for the backups...?
 I would like to use a Synology NAS box as storage for my BackupPC 
 server. But will it work.

 
 
 I use a NAS box mounted via NFS. It works fine. The underlying
 filesystem on the NAS must support hardlinks I would think. Does the
 Synology box use Linux for the OS?

   
   
 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 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/

 

 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 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/
   

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] Restoring entire Linux machine

2007-11-05 Thread Rob Morin
If possible i would like to hear more talk on doing something like the 
restore from live  distro as doing reliable and non time consuming 
images is a bitch... Are there any docs or detailed procedures on how to 
restore to a blank hard drive via a complete back up. I backup up / 
except for the afore  mentioned /proc /tmp bla bla  ... but what would a 
recommend live cd be? I use Debian Etch for instance

Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Toni Van Remortel wrote:
 Nick Triantafillou wrote:
   
 Hi all,

 Would the basic procedure of restoring a Linux machine be to re-install 
 the base system, get backuppc working (ssh keys etc) then restore the 
 folders one at a time (or somesuch) to the client machine?

 Or is some kind of re-imaging/netbootable restore method possible to 
 avoid that initial step so we're not overwriting every single file we 
 just installed when trying to fix the broken system?
   
 
 In theory, you could do this:
 - take backups from / on the not-yet-dead server, except /dev /proc /sys 
 /tmp, with rsync
 - start the reanimated server with a live cd, set up rsyncd with 1 
 module: / (which points to your /dev/sdXY)
 - restore the server from BackupPC.
 This should work, but will limit you to a detail level as high as your 
 backup:
 - backing up /etc, /usr and /var separately from the original server, 
 allows you to restore them separately to eg other locations (or other 
 partitions). But you are not restricted to it (so you can restore it all 
 to 1 partition).

 But my recommendation on full restoration is this:
 - take backups of /etc and /var/lib (or entire /var)
 - reinstall your reanimated server with the same distro and version
 - restore /etc and /var/lib AFTER installing all the needed software on 
 your server (like apache2 and mysql)
 This is my method. Not yet needed, but as I have some experience in 
 embedded Linux systems, I know what you need to get a system up and 
 running ;-)

 More tips welcome, as usual.

 Regards,

   

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Restoring entire Linux machine

2007-11-05 Thread Rob Morin
Thanks for that... but just wondering how backuppc would restore if keys 
are not there, on the system with the live cd?

Thanks for the help...

Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Toni Van Remortel wrote:
 Rob Morin wrote:
 but what would a recommend live cd be?
 Anything descent that fits your pocket, like Damn Small Linux.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Restoring entire Linux machine

2007-11-05 Thread Rob Morin
Thanks for all the info i really appreciate it...  So i am wondering 
then if its just not the best  and quickest in the end to simply install 
a basic system via Debian's net install ad then restore backuppc over 
that? as that only takes 20 mins or so

But another quick question is i have a raid mirror, does this affect 
anything t a great deal? Should i be more careful with anything?

Thanks...


Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Les Mikesell wrote:
 Rob Morin wrote:
 If possible i would like to hear more talk on doing something like 
 the restore from live  distro as doing reliable and non time 
 consuming images is a bitch... Are there any docs or detailed 
 procedures on how to restore to a blank hard drive via a complete 
 back up. I backup up / except for the afore  mentioned /proc /tmp 
 bla bla  ... but what would a recommend live cd be? I use Debian Etch 
 for instance

 Knoppix is usually considered the ultimate live cd in terms of 
 hardware detection and included features but you need to make sure 
 that it knows about all the same LVM options, etc. that you are using 
 elsewhere.  The process can vary wildly depending on the system you 
 are restoring and the disk layout and boot setup it needs.  Basically 
 you have to fdisk, possibly set up LVMs, mkfs and mount something that 
 looks like the original filesystems by hand with the livecd tools, 
 then tell backuppc to deliver a tar image which you extract wherever 
 you mounted what will be the root filesystem - you can do that via ssh.

 I recently found something that might make it a lot easier with a 
 little work up front:  
 http://clonezilla.sourceforge.net/clonezilla-live/.
 Clonezilla is intended to do mass-cloning of PXE-booted machines over 
 a network.  It would work for this purpose but takes some 
 infrastructure setup that might not be available when you need to 
 restore. Clonezilla-live is a variation that can be booted from CD or 
 USB drives and in the USB case can store/load the images directly on 
 the device.
 I'm just starting to test this myself, but I think a handy approach 
 would be to get a laptop-drive based external USB device (these are 
 very small, run from USB power, and come in sizes up to 250 gigs now), 
 follow the instructions for making a bootable USB clonezilla-live from 
 the link above, and periodically make image copies of the target 
 machines if there are times you can take them down for a few minutes.  
 Then if you need to restore from bare metal, boot from the usb drive 
 and drop in the latest copy you've saved which will include your ssh 
 keys so you can put back anything newer from backuppc.  There are 
 several other options, like making bootable CD's or DVD's that include 
 one or more images to restore, or mounting nfs/smb/sshfs network 
 filesystems for the image storage.  With ntfs and most linux 
 filesystems,it knows enough to save only the used blocks so it is 
 fairly fast.

 Perhaps someone could eventually combine the tools so backuppc could 
 use the same format for the disk layout description and mbr (would 
 need client side support or some ssh'd commands to get) and be able to 
 rebuild the disks automatically with the same tools.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Restoring entire Linux machine

2007-11-05 Thread Rob Morin
Weli backup / on all my servers, all my server have software raid 
mirror, i have had bad experiance with raid 5 so i am happy with 
mirroring...

So i boot up with knoppix and then go to backupppc and simply do a 
restore to the bare metal machine drive?  All servers except my NFS have 
one partition that are mirrored... makes it easy that way for 
restoral i figure
 I was just wondering how backuppc would be able to restore using the 
web gui as the bare metal machine would not know about the ssh keys and 
such... i have to put up a new server soon i would like to try it on 
that machine

Thanks again for your input, its very reassuring to know that backuppc 
can help out in a bare metal restore too!
:)

Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Carl Wilhelm Soderstrom wrote:
 On 11/05 01:19 , Rob Morin wrote:
   
 Thanks for all the info i really appreciate it...  So i am wondering 
 then if its just not the best  and quickest in the end to simply install 
 a basic system via Debian's net install ad then restore backuppc over 
 that? as that only takes 20 mins or so
 

 if you're restoring an entire system, then installing the base system and
 the necessary packages, then clobbering it with the restored system, seems
 rather redundant.

 if you only made a partial backup of your linux system; you ought to get a
 bigger backup server disk so you can afford to spend a couple hundred MB to
 get the system files backed up; you'll likely need them anyway to get your
 system working again.

 booting with knoppix or its equivalent, and then restoring to the bare
 metal, is pretty easy. try it sometime. it's a very good skill to know; not
 just for the sake of doing restores, but also because you can use it to
 clone a working system. I demonstrate this occasionally when I teach linux
 administration classes and a student breaks their machine thoroughly. :)

   
 But another quick question is i have a raid mirror, does this affect 
 anything t a great deal? Should i be more careful with anything?
 

 if it's hardware raid, it doesn't make much difference, other than that your
 rescue system needs to support the device.

   

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] A tar restore issue, does not work on localhost

2007-10-23 Thread Rob Morin
I have no problem creating backups, just restoring them.  But 
please, can  someone then tell me what is the best way to do it, i am 
very confused now...   if someone can post an example localhost.pl file 
i can learn from i would greatly appreciate it...

Thanks for all the input...

And everyone have a super day!

Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Rob Owens wrote:
 Holger Parplies wrote:
   
 Hi,

 Rob Morin wrote on 18.10.2007 at 08:15:47 [[BackupPC-users] A tar restore 
 issue, does not work on localhost]:
 
 So i found this post , i forget where that mentioned to use a tarCreat 
 file via sudo to do localhost backups... that works fine but restoring 
 does not work, any help appreciated  All other servers vis rsync 
 work just fine
   
 let me put into a question what I gather from your post you might be asking:

 I'm doing local backups with XferMethod tar via sudo and a helper script.
  What do I need to observe when doing restores?

 Well, first of all, you'll also need to use sudo. If the backuppc user
 doesn't have sufficient permissions for *reading* the files for backup, he
 almost definitely won't have sufficient permissions for *writing* them on
 restore.

 Second, such helper scripts are a very real security risk. There's just
 about no advantage, and it's easy to get things wrong. If the backuppc user
 has *write access* to the script, he (or rather an intruder gaining backuppc
 user priviledges) has immediate full root access to the system, simply by
 putting anything he wants into that script and executing it with 'sudo'.
 Even worse, *any other user* with write access to the script (by local or
 remote means) can alter it and simply wait for a scheduled backup to be run,
 thus executing his commands. With such a script, you *really* need to make
 sure that *only root* has write access to it. Even worse, you need to ensure
 that command injection is impossible (which it probably isn't). Otherwise an
 attacker does not even need write access to the script in order to abuse it.

 

 Doesn't this security risk exist regardless of helper scripts?  The
 backuppc user has write access to the pool, so can change/insert
 anything there.  Then as long as the host machines are set up to accept
 restores from the backuppc server, those modified/new files can be
 uploaded.  Is there any way to protect against this?

 -Rob

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/
   

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] A tar restore issue, does not work on localhost

2007-10-23 Thread Rob Morin
So here is the error...

I tried to restore these files as a test

2007-10-23 12:12:26 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h 
localhost http://joe.dido.ca:888/backuppc/index.cgi?host=localhost -n 13 -s / 
-t -r /home/rob -p /home/rob/ /home/rob/70_sare_header.cf 
/home/rob/70_sare_header0.cf /home/rob/70_sare_header2.cf 
/home/rob/70_sare_specific.cf
2007-10-23 12:12:30 Restore failed (BackupPC_tarCreate failed)

My current localhost.pl

# Local server backup of / as user backuppc
$Conf{XferMethod} = 'tar';
$Conf{TarShareName} = ['/'];
### My old command before i just changed it
#$Conf{TarClientCmd} = '/usr/bin/sudo /usr/local/bin/tarCreate -v -f - 
-C $shareName+ --totals';
$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath'
. ' -c -v -f - -C $shareName --totals';
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
$Conf{BackupFilesExclude} = ['/tmp', '/root/.cpan', '/var/log', 
'/var/downloads', '/media', '/mnt', '/proc', '/var/lib/backuppc', 
'/sys', '/var/oldjoe', '/var/run'];


My sudo file

backuppc ALL = NOPASSWD: /bin/tar


Anything else you need?

Thanks for your help and prompt reply!

Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Carl Wilhelm Soderstrom wrote:
 On 10/23 11:53 , Rob Morin wrote:
   
 I have no problem creating backups, just restoring them.  But 
 please, can  someone then tell me what is the best way to do it, i am 
 very confused now...   if someone can post an example localhost.pl file 
 i can learn from i would greatly appreciate it...
 

 This is the one included in the Debian package, slightly modified for my
 purposes (using sudo so the backup can get access to all files, for
 example).

   
 # cat /etc/backuppc/localhost.pl

 # Local server backup of /etc as user backuppc
 #
 $Conf{XferMethod} = 'tar';

 $Conf{TarShareName} = ['/etc'];

 $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath' 
 . ' -c -v -f - -C $shareName --totals';

 # let it back itself up anytime it wants to.
 $Conf{BlackoutPeriods} = [];
   

 there's of course a corresponding entry in /etc/sudoers:

 backuppc ALL=NOPASSWD: /bin/tar 


   

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] A tar restore issue, does not work on localhost

2007-10-23 Thread Rob Morin
OK well thanks anyways. the webserver in question, is on a secure LAN, 
and no public access it, only 3 technicians..
ANyone else?

Thanks


Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Carl Wilhelm Soderstrom wrote:
 On 10/23 12:17 , Rob Morin wrote:
   
 2007-10-23 12:12:26 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h 
 localhost http://joe.dido.ca:888/backuppc/index.cgi?host=localhost -n 13 
 -s / -t -r /home/rob -p /home/rob/ /home/rob/70_sare_header.cf 
 /home/rob/70_sare_header0.cf /home/rob/70_sare_header2.cf 
 /home/rob/70_sare_specific.cf
 2007-10-23 12:12:30 Restore failed (BackupPC_tarCreate failed)
 

 I'll point out that I distrust allowing a web application to write to the
 filesystem; so I don't have BackupPC set up to do restores to the
 filesystem. 

 If I want to recover some files; I'll collect them up as a tarball using the
 web interface, copy them to the system in question, unpack them, and then
 move them into place after looking at things carefully.

 If I need to restore a whole share worth of files, I'll use
 BackupPC_tarCreate on the command line, and then pipe it over to the machine
 in question using netcat.

 So I've never really done what I think you're trying to do, and therefore am
 not much help.

 I do wonder why that URL is in the command line tho. The -h localhost
 http://joe.dido.ca:888/backuppc/index.cgi?host=localhost bit. AFAIK it
 should just be -h localhost; but I haven't done much with the new web
 interface so I could be just out of date.

   

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] A tar restore issue, does not work on localhost

2007-10-18 Thread Rob Morin
So i found this post , i forget where that mentioned to use a tarCreat 
file via sudo to do localhost backups... that works fine but restoring 
does not work, any help appreciated  All other servers vis rsync 
work just fine

HELP

locahost.pl file

# Local server backup of / as user backuppc
$Conf{XferMethod} = 'tar';
$Conf{TarShareName} = ['/'];
$Conf{TarClientCmd} = '/usr/bin/sudo /usr/local/bin/tarCreate -v -f - -C 
$shareName+ --totals';
#$Conf{TarClientCmd} = '/usr/bin/sudo /etc/backuppc/tar-create -v -C 
$shareName --totals';
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
$Conf{BackupFilesExclude} = ['/tmp', '/root/.cpan', '/var/log', 
'/var/downloads', '/media', '/mnt', '/proc', '/var/lib/backuppc', 
'/sys', '/var/oldjoe', '/var/run', '/var/www/vi$



The tarCreat file used

#!/bin/sh -f
exec /bin/tar -c $*


Error as seen in the web gui along with the command used

2007-10-17 16:05:56 Running: /usr/share/backuppc/bin/BackupPC_tarCreate 
-h localhost http://joe.dido.ca:888/backuppc/index.cgi?host=localhost 
-n 8 -s / -t -r /home/rob -p /home/rob/ /home/rob/Videotron.txt
2007-10-17 16:06:00 Restore failed (BackupPC_tarCreate failed)

The sudoers file

rootALL=(ALL) ALL
backuppc ALL = NOPASSWD: /usr/local/bin/tarCreate

HELP!

-- 

Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] A tar restore issue, does not work on localhost

2007-10-18 Thread Rob Morin
The files are there, however not sure what the command line would be to 
restore it manually...

Thanks for replying

Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Carl Wilhelm Soderstrom wrote:
 On 10/18 08:15 , Rob Morin wrote:
   
 So i found this post , i forget where that mentioned to use a tarCreat 
 file via sudo to do localhost backups... that works fine but restoring 
 does not work, any help appreciated  All other servers vis rsync 
 work just fine

 HELP
 

 can you restore the file by finding it under the pc/ directory in your
 backppc data store and recovering it with BackupPC_zcat?

 Just making sure the file is there and recoverable.

   

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Localhost tar back odditie...

2007-09-26 Thread Rob Morin
Ahh, ok i get it now, so then i should back up /  then exclude what i 
want, as an example as anything i put would be under the root..

Thanks dude!


Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-



Craig Barratt wrote:
 Rob writes:

   
 Below is my localhost.pl file, i install this via apt-get on Debian Etc.
 But for some reason it still backs up the files i have in the exclude
 section... did i miss something?

 $Conf{TarShareName} =
 ['/etc','/var/www/ispcp','/var/mail','/usr/local/bin','/var/lib'];
 $Conf{BackupFilesExclude} = ['/var/log', '/var/lib/backuppc',
 '/var/lib/backuppc.off','/var/oldjoe'];
 

 The excludes are relative to the share.  If you have
 multiple shares, $Conf{BackupFilesExclude} should be
 a hash with one entry per share.  Excluding /var/log
 and /var/oldjoe makes no difference since those paths
 aren't below the shares.

 You should use something like this:

 $Conf{BackupFilesExclude} = {
 '/var/lib' = ['/backuppc', '/backuppc.off'],
 }

 Craig
   

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Localhost tar back odditie...

2007-09-25 Thread Rob Morin
Hello all

Below is my localhost.pl file, i install this via apt-get on Debian Etc. 
But for some reason it still backs up the files i have in the exclude 
section... did i miss something?

Thanks...

Have a great day/evening!


#
# Local server backup of /etc as user backuppc
#
$Conf{ClientNameAlias} = 'localhost';
$Conf{TarClientCmd} = '/usr/bin/sudo /usr/local/bin/tarCreate -v -f - -C 
$shareName+ --totals';
$Conf{XferMethod} = 'tar';
$Conf{TarShareName} = 
['/etc','/var/www/ispcp','/var/mail','/usr/local/bin','/var/lib'];
$Conf{BackupFilesExclude} = ['/var/log', '/var/lib/backuppc', 
'/var/lib/backuppc.off','/var/oldjoe'];

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';



-- 

Rob Morin
Director of Technologies
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Tar errors all of a sudden for localhost only]

2007-07-05 Thread Rob Morin




I still can not find out waz going on Anyone? Bueller? 

:)

OK so i ran
this command...
  
[EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost
-n 14 -s /etc -t /aliases
  
And the output was this
  
./aliases6440036410634234246011264 0ustar
rootroot# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: [EMAIL PROTECTED]
clamav: root
amavis: root
logcheck: root
Done: 1 files, 244 bytes, 0 dirs, 0 specials, 0 errors
  
And the file was NOT restored!?
  
Was up with that???
  
the LOG file in /var/lib/backuppc/log has this in it
  
2007-06-29 14:15:17 User backuppc requested restore to localhost
(localhost)
2007-06-29 14:15:17 Started restore on localhost (pid=5284)
2007-06-29 14:15:21 Restore failed on localhost (BackupPC_tarCreate
failed)
  
On the web gui i get
  2007-06-29 14:15:17 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 14 -s /etc -t /aliases
2007-06-29 14:15:21 Restore failed (BackupPC_tarCreate failed)
  
Just for FYI
  
joe:/var/lib/backuppc# ls -la 
total 12
drwxr-x--- 8 backuppc backuppc 91 2007-06-14 12:42 .
drwxr-xr-x 41 root root 4096 2007-06-27 09:31 ..
-rw--- 1 backuppc backuppc 2258 2007-06-29 14:16 .bash_history
drwxr-x--- 18 backuppc backuppc 134 2007-06-14 10:00 cpool
drwxr-x--- 2 backuppc backuppc 4096 2007-06-29 01:00 log
drwxr-x--- 6 backuppc backuppc 57 2007-06-14 12:39 pc
drwxr-x--- 2 backuppc backuppc 6 2007-02-06 13:46 pool
drwx-- 2 backuppc backuppc 54 2007-06-14 12:49 .ssh
drwxr-x--- 2 backuppc backuppc 6 2007-06-29 08:48 trash
  
joe:/etc/backuppc# ls -la 
total 172
drwxr-xr-x 2 root root 4096 2007-06-14 12:32 .
drwxr-xr-x 87 root root 4096 2007-06-29 14:16 ..
-rw-r--r-- 1 root root 414 2007-02-06 13:46 apache.conf
-rw-r--r-- 1 root root 64328 2007-06-14 12:32 configPETER
-rw-r--r-- 1 root root 64437 2007-06-29 08:41 config.pl
-rw-r--r-- 1 root root 2301 2007-06-14 12:24 hosts
-rw-r--r-- 1 root root 0 2007-06-14 09:04 htgroup
-rw-r--r-- 1 root root 23 2007-06-19 12:21 htpasswd
-rw-r--r-- 1 root root 603 2007-06-29 08:43 localhost.pl
-rw-r--r-- 1 root root 244 2007-06-14 12:22 peter.pl
-rw-r--r-- 1 root root 147 2007-06-14 12:22 quag.pl
-rw-r--r-- 1 root root 147 2007-06-14 12:22 stewy.pl
  
# User privilege specification
root ALL=(ALL) ALL
backuppc ALL=(ALL) NOPASSWD: /bin/tar 
  
joe:/etc/backuppc# grep backup /etc/group
backuppc:x:114:
  
joe:/etc/backuppc# grep backup /etc/passwd
backuppc:x:114:114:BackupPC,,,:/var/lib/backuppc:/bin/sh
  
Anything else?
  
  
  Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-
  
  
Randy Barlow wrote:
  
Rob Morin wrote:
  

  2007-06-29 13:35:40 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost http://joe.dido.ca:888/backuppc/index.cgi?host=localhost -n 16 -s /etc -t /updatedb.conf
2007-06-29 13:35:45 Restore failed (BackupPC_tarCreate failed)

I do not get it?  Backup works fine just restore does not..

What else should i be checking... any logs?



Hmm, try using su - backuppc to become the backuppc user, and try the 
restore command there and see if you can do it or not.  You can also 
look at the logs on the CGI interface to see if they give you any useful 
info...

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


-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



-
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] Tar errors all of a sudden for localhost only

2007-06-29 Thread Rob Morin




So i installed sudo, but i am not sure where this FAQ is that you
mentioned please provide URL if you have it.

so i added to the config files as follows..

config.pl

$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host' 
 . ' /usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c
-v -f - -C $shareName+'
 . ' --totals';

$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host'
 . ' /usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -x
-p --numeric-owner --same-owner'
 . ' -v -f - -C $shareName+';

localhost.pl

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c
-v -f - -C $shareName'
 . ' --totals';


when i "su - backuppc" and run /usr/bin/sudo
/usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 17 -s
/var/lib/postgrey -t /home/rob

I get...

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

 #1) Respect the privacy of others.
 #2) Think before you type.
 #3) With great power comes great responsibility.

Password:

My /etc/sudoers is...

# User privilege specification
root ALL=(ALL) ALL
backuppc ALL=NOPASSWD:/bin/tar

my tar is actual in that dir , its not a link


Any ideas? This is on a debian etch system



Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


Ali Bendriss wrote:

  The restore procedure need to be done probably as root if you have not setup 
sudo as suggested in the faq.
Try first to download a tar archive from the web interface and extract it in 
tmp to see if all is fine.

On Thursday 28 June 2007 18:45, you wrote:
  
  
 No actually i mean Postgrey its a greylist daemon for postfix MTA

 On another note i seem to be having permission problems i think i
tried to restore a dir but i keep getting this error


2007-06-28 13:02:41 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h
localhost -n 14 -s /var/www -t -r /fcgi -p /fcgi/ /fcgi/master 2007-06-28
13:02:46 Restore failed (Tar exited with error 65280 () status) 2007-06-28
13:05:04 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost
-n 10 -s /var/www -t -r /fcgi -p /fcgi/ /fcgi/master 2007-06-28 13:05:08
Restore failed (BackupPC_tarCreate failed)

After i put the backuppc user in the root group it spit out this

2007-06-28 13:23:47 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h
localhost -n 14 -s /var/www -t -r /fcgi -p /fcgi/ /fcgi/master 2007-06-28
13:23:52 Restore failed (BackupPC_tarCreate failed)
 Same thing pretty much but not error code... i tried it manually as
backuppc user from a prompt and got this... howerver nothign was
restored

 joe:/etc/backuppc# su - backuppc
 [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n
14 -s /var/www -t -r /fcgi -p /fcgi/ /fcgi/master
./fcgi/master/75500037237210627402252012066 5ustar
vu2000vu2000./fcgi/master/php4/7550106274022520
12767 5ustar
rootroot./fcgi/master/php5/75501062740225201277
0 5ustar rootrootDone: 0 files, 0 bytes, 3 dirs, 0 specials, 0 errors


 Any help appreciated...

 Thanks..



Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


 Ali Bendriss wrote:
If by postgrey you mean postgresql database  then there is an other way :
you can run pg_dumpall (man pg_dumpall) an backup only that script file.

On Wednesday 27 June 2007 18:50, Ali Bendriss wrote:

You need to find a way to give access to those directories (read exec) and
files (read) the backuppc user.

look for "How can client access as root be avoided?" in the FAQ

On Wednesday 27 June 2007 18:43, Rob Morin wrote:

Never mind got it

I added to the backup /var/lib/postgrey

here is an las of that dir

joe:/var/lib/postgrey# ls -al
total 10364
drwx--  2 postgrey postgrey 4096 2007-06-22 13:21 .
drwxr-xr-x 41 root root 4096 2007-06-27 09:31 ..
-rw---  1 postgrey postgrey24576 2007-06-22 13:21 __db.001
-rw---  1 postgrey postgrey   155648 2007-06-22 13:21 __db.002
-rw---  1 postgrey postgrey   270336 2007-06-22 13:21 __db.003
-rw---  1 postgrey postgrey98304 2007-06-22 13:21 __db.004
-rw---  1 postgrey postgrey16384 2007-06-22 13:21 __db.005
-rw---  1 postgrey postgrey 10485760 2007-06-27 13:44 log.01
-rw---  1 postgrey postgrey69632 2007-06-27 12:56
postgrey_clients.db
-rw---  1 postgrey postgrey   942080 2007-06-27 13:44 postgrey.db
-rw---  1 postgrey postgrey0 2007-05-30 16:23 postgrey.lock

What should be done to get it to work, in a nice way?

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-

Rob Morin wrote:

Hello all... i started getting localhost backup errors...

Log file is...

2007-06-27 13:10:29 incr backup started back to 2007-06-21 19:00:01 for
directory /etc 2007-06-27 13:11:45 incr backup started back to
2007-06-21 19:00:01 for directory /var/www 2007-06-27 

Re: [BackupPC-users] Tar errors all of a sudden for localhost only

2007-06-29 Thread Rob Morin




OK so i ran this command...

[EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost
-n 14 -s /etc -t /aliases

And the output was this

./aliases6440036410634234246011264 0ustar
rootroot# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: [EMAIL PROTECTED]
clamav: root
amavis: root
logcheck: root
Done: 1 files, 244 bytes, 0 dirs, 0 specials, 0 errors

And the file was NOT restored!?

Was up with that???

the LOG file in /var/lib/backuppc/log has this in it

2007-06-29 14:15:17 User backuppc requested restore to localhost
(localhost)
2007-06-29 14:15:17 Started restore on localhost (pid=5284)
2007-06-29 14:15:21 Restore failed on localhost (BackupPC_tarCreate
failed)

On the web gui i get
2007-06-29 14:15:17 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 14 -s /etc -t /aliases
2007-06-29 14:15:21 Restore failed (BackupPC_tarCreate failed)

Just for FYI

joe:/var/lib/backuppc# ls -la 
total 12
drwxr-x--- 8 backuppc backuppc 91 2007-06-14 12:42 .
drwxr-xr-x 41 root root 4096 2007-06-27 09:31 ..
-rw--- 1 backuppc backuppc 2258 2007-06-29 14:16 .bash_history
drwxr-x--- 18 backuppc backuppc 134 2007-06-14 10:00 cpool
drwxr-x--- 2 backuppc backuppc 4096 2007-06-29 01:00 log
drwxr-x--- 6 backuppc backuppc 57 2007-06-14 12:39 pc
drwxr-x--- 2 backuppc backuppc 6 2007-02-06 13:46 pool
drwx-- 2 backuppc backuppc 54 2007-06-14 12:49 .ssh
drwxr-x--- 2 backuppc backuppc 6 2007-06-29 08:48 trash

joe:/etc/backuppc# ls -la 
total 172
drwxr-xr-x 2 root root 4096 2007-06-14 12:32 .
drwxr-xr-x 87 root root 4096 2007-06-29 14:16 ..
-rw-r--r-- 1 root root 414 2007-02-06 13:46 apache.conf
-rw-r--r-- 1 root root 64328 2007-06-14 12:32 configPETER
-rw-r--r-- 1 root root 64437 2007-06-29 08:41 config.pl
-rw-r--r-- 1 root root 2301 2007-06-14 12:24 hosts
-rw-r--r-- 1 root root 0 2007-06-14 09:04 htgroup
-rw-r--r-- 1 root root 23 2007-06-19 12:21 htpasswd
-rw-r--r-- 1 root root 603 2007-06-29 08:43 localhost.pl
-rw-r--r-- 1 root root 244 2007-06-14 12:22 peter.pl
-rw-r--r-- 1 root root 147 2007-06-14 12:22 quag.pl
-rw-r--r-- 1 root root 147 2007-06-14 12:22 stewy.pl

# User privilege specification
root ALL=(ALL) ALL
backuppc ALL=(ALL) NOPASSWD: /bin/tar 

joe:/etc/backuppc# grep backup /etc/group
backuppc:x:114:

joe:/etc/backuppc# grep backup /etc/passwd
backuppc:x:114:114:BackupPC,,,:/var/lib/backuppc:/bin/sh

Anything else?


Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


Randy Barlow wrote:

  Rob Morin wrote:
  
  
2007-06-29 13:35:40 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost http://joe.dido.ca:888/backuppc/index.cgi?host=localhost -n 16 -s /etc -t /updatedb.conf
2007-06-29 13:35:45 Restore failed (BackupPC_tarCreate failed)

I do not get it?  Backup works fine just restore does not..

What else should i be checking... any logs?

  
  
Hmm, try using su - backuppc to become the backuppc user, and try the 
restore command there and see if you can do it or not.  You can also 
look at the logs on the CGI interface to see if they give you any useful 
info...

  




-
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] Tar errors all of a sudden for localhost only

2007-06-27 Thread Rob Morin
Hello all... i started getting localhost backup errors...

Log file is...

2007-06-27 13:10:29 incr backup started back to 2007-06-21 19:00:01 for 
directory /etc
2007-06-27 13:11:45 incr backup started back to 2007-06-21 19:00:01 for 
directory /var/www
2007-06-27 13:12:06 incr backup started back to 2007-06-21 19:00:01 for 
directory /var/lib/mysql
2007-06-27 13:12:06 incr backup started back to 2007-06-21 19:00:01 for 
directory /var/lib/amavis
2007-06-27 13:12:07 incr backup started back to 2007-06-21 19:00:01 for 
directory /var/lib/spamassassin
2007-06-27 13:12:07 incr backup started back to 2007-06-21 19:00:01 for 
directory /var/lib/clamav
2007-06-27 13:12:08 incr backup started back to 2007-06-21 19:00:01 for 
directory /var/lib/mdadm
2007-06-27 13:12:08 incr backup started back to 2007-06-21 19:00:01 for 
directory /var/lib/postgrey
2007-06-27 13:12:10 Got fatal error during xfer (Tar exited with error 512 () 
status)
2007-06-27 13:12:15 Backup aborted (Tar exited with error 512 () status)

It started on the 22nd of June, however all other hosts are fine

My localhost .pl is as follows
I am on a Debian etch system
backuppc version version 2.1.2pl1

Thanks to all in advance




#
# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'tar';

$Conf{TarShareName} = 
['/etc','/var/www','/var/lib/mysql','/var/lib/amavis','/var/lib/spamassassin','/var/lib/clamav','/var/lib/mdadm','/var/lib/postgrey','/var/mail'];

$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C 
$shareName'
. ' --totals';

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';


-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


-
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] Tar errors all of a sudden for localhost only

2007-06-27 Thread Rob Morin
Never mind got it

I added to the backup /var/lib/postgrey

here is an las of that dir

joe:/var/lib/postgrey# ls -al
total 10364
drwx--  2 postgrey postgrey 4096 2007-06-22 13:21 .
drwxr-xr-x 41 root root 4096 2007-06-27 09:31 ..
-rw---  1 postgrey postgrey24576 2007-06-22 13:21 __db.001
-rw---  1 postgrey postgrey   155648 2007-06-22 13:21 __db.002
-rw---  1 postgrey postgrey   270336 2007-06-22 13:21 __db.003
-rw---  1 postgrey postgrey98304 2007-06-22 13:21 __db.004
-rw---  1 postgrey postgrey16384 2007-06-22 13:21 __db.005
-rw---  1 postgrey postgrey 10485760 2007-06-27 13:44 log.01
-rw---  1 postgrey postgrey69632 2007-06-27 12:56 
postgrey_clients.db
-rw---  1 postgrey postgrey   942080 2007-06-27 13:44 postgrey.db
-rw---  1 postgrey postgrey0 2007-05-30 16:23 postgrey.lock

What should be done to get it to work, in a nice way?

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Rob Morin wrote:
 Hello all... i started getting localhost backup errors...

 Log file is...

 2007-06-27 13:10:29 incr backup started back to 2007-06-21 19:00:01 for 
 directory /etc
 2007-06-27 13:11:45 incr backup started back to 2007-06-21 19:00:01 for 
 directory /var/www
 2007-06-27 13:12:06 incr backup started back to 2007-06-21 19:00:01 for 
 directory /var/lib/mysql
 2007-06-27 13:12:06 incr backup started back to 2007-06-21 19:00:01 for 
 directory /var/lib/amavis
 2007-06-27 13:12:07 incr backup started back to 2007-06-21 19:00:01 for 
 directory /var/lib/spamassassin
 2007-06-27 13:12:07 incr backup started back to 2007-06-21 19:00:01 for 
 directory /var/lib/clamav
 2007-06-27 13:12:08 incr backup started back to 2007-06-21 19:00:01 for 
 directory /var/lib/mdadm
 2007-06-27 13:12:08 incr backup started back to 2007-06-21 19:00:01 for 
 directory /var/lib/postgrey
 2007-06-27 13:12:10 Got fatal error during xfer (Tar exited with error 512 () 
 status)
 2007-06-27 13:12:15 Backup aborted (Tar exited with error 512 () status)

 It started on the 22nd of June, however all other hosts are fine

 My localhost .pl is as follows
 I am on a Debian etch system
 backuppc version version 2.1.2pl1

 Thanks to all in advance




 #
 # Local server backup of /etc as user backuppc
 #
 $Conf{XferMethod} = 'tar';

 $Conf{TarShareName} = 
 ['/etc','/var/www','/var/lib/mysql','/var/lib/amavis','/var/lib/spamassassin','/var/lib/clamav','/var/lib/mdadm','/var/lib/postgrey','/var/mail'];

 $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C 
 $shareName'
 . ' --totals';

 # remove extra shell escapes ($fileList+ etc.) that are
 # needed for remote backups but may break local ones
 $Conf{TarFullArgs} = '$fileList';
 $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';


   

-
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] Possible to have 2 backup loactions?

2007-05-28 Thread Rob Morin
Thanks for the suggestion, i will look into that...

Have a great day!

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Les Mikesell wrote:
 Rob Morin wrote:
 I want to use Backuppc to do standard backups from windows servers to 
 a raid 10 setup on the server. However i would like to copy some of 
 the data backed up to another  external drive for outside the 
 building safe keeping is this possible with backuppc?

 So back up everything to main backup disks, then copy some of that 
 data to an external disk so that i can leave the building with it...

 Anyone, Anyone,.. *Bueller?*

 If it is a reasonably small portion that is copied out, you can use 
 the web interface to browse to the location in the backup, pick 
 restore, and have it sent to the browser as a tar file that you save 
 to the external drive mounted on the machine running the browser (not 
 necessarily the backuppc server).  For something bigger you can use 
 the command line BackupPC_tarCreate program to generate the tar image 
 on the server, perhaps scripting it to compress and perhaps split the 
 output.  If you want tar images of entire hosts, you can create an 
 'archive host' which basically give you a way to make a tar image from 
 the latest backup of selected hosts through the web interface, sending 
 the output to a tape or storing in a pre-configured directory.


-
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] Possible to have 2 backup loactions?

2007-05-25 Thread Rob Morin
I want to use Backuppc to do standard backups from windows servers to a 
raid 10 setup on the server. However i would like to copy some of the 
data backed up to another  external drive for outside the building safe 
keeping is this possible with backuppc?

So back up everything to main backup disks, then copy some of that data 
to an external disk so that i can leave the building with it...

Anyone, Anyone,.. *Bueller?*

:)

-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-

-
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] Reccomendations for using BackupPC for windows server backups?

2006-11-22 Thread Rob Morin
I will take a look at that ans i will let you know how it goes 
Thanks dude!


Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Garith Dugmore wrote:
 Hi Rob,

 I use it on a few windows boxes here. A simple howto I put together:

 note: i use cwrsync. there is also deltacopy 
 http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp which seems more 
 user friendly but less flexible than cwrsync.

 --

 Backing up a windows XP (not tested on other versions) workstation is 
 done as follows.

 * Install cwrsync http://www.itefix.no/cwrsync/
 * Configure newly created rsync user to run as administrator
 * Configure firewall to *allow i**cmp and port 873(rsync)*
 * Setup rsyncd.conf (C:\Program Files\cwRsyncServer\rsyncd.conf)
   as follows:

  rsyncd.conf 

 use chroot = false

 strict modes = no

 hosts allow = ip.of.backuppc.server

 [backupwin]
 path = /cygdrive/c/Documents and Settings/user
 read only = no
 strict modes = no


  rsyncd.conf 

 * Configure the Rsync server process in Admin tools -- services
   to startup automatically. Then restart service.
 * /Optionally/, configure registry to not show ugle rsync in user
   list on logon screen --- described here
   http://www.onecomputerguy.com/windowsxp_tips.htm#hiding_logon

 Optionally if you have a linux partition and want to have that backed 
 up too so not requiring the pc to be booted up in linux at time of 
 backup do the following:

 * Install ext2 driver from here
   http://www.fs-driver.org/download.html
 * Select drive letter (in this case i used L) and then
   configure/add to rsyncd.conf (C:\Program
   Files\cwRsyncServer\rsyncd.conf) as follows:

  rsyncd.conf 

 use chroot = false

 strict modes = no

 hosts allow = ip.of.backuppc.server

 [backupwin]

 path = /cygdrive/c/Documents and Settings/user
 read only = no
 strict modes = no

 [backuplinux]

 path = /cygdrive/l/home/user
 read only = no
 strict modes = no

  rsyncd.conf 

 * /Optionally/, For security reasons hiding that drive letter in
   explorer can be done by using this guide
   http://support.microsoft.com/?kbid=555438
 * A reboot will probably be required

 --

 Rob Morin wrote:
 Just wondering what/how people are using backupPC with windows file 
 servers? Is there a version for windows or would i have to install a 
 UNIX box and mount windows drives? as i want to purchase a disk array, 
 but want to share it for regular windows file use and and for backing up 
 files too...
 Thanks for your replies in advance

 :)

 Havea  great day!

   

 -- 

 Garith Dugmore
 Systems Administrator
 South African Astronomical Observatory

 Phone:021 460 9343
 Website:  http://www.saao.ac.za
   

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


[BackupPC-users] Exclude files issue...

2006-11-10 Thread Rob Morin
So i have this in a conf file for a certain server, so in this case in 
the file stewy.pl i have

$Conf{RsyncShareName} = 
['/etc','/var/www/virtual','/var/cache/bind','/var/mail/virtual'];

$Conf{BackupFilesExclude} = ['/var/www/virtual/*/logs', 
'/var/www/virtual/*/backups'];

However it keeps backing the log dirs in /var/www/virtual/domain.com/

What am i doing wrong?

:(

Thanks...

-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] How to exclude files like.....

2006-10-16 Thread Rob Morin
  /var/www/virtual/*/logs

Can i do this?  under the root of /var/www/virtual  i have hundreds of 
domains, then under each domains dir i have a dir named logs, i do not 
want to back this up... how would i write this in the per PC file for 
that machine, does backuppc except something like this

$Conf{BackupFilesExclude} #item_%24conf%7bbackupfilesexclude%7d = 
'/var/www/virtual/*/logs';

Thanks..

-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
First off thanks for a great application  thanks for all the help i 
have received on this list thus far...
:)

I recently installed BackupPC as i had a server crash and lost some 
clients files i was backing up before using the infamous TAR, but 
the external disk that i was using died. So now i installed BackupPC 
on another server till i get a decent disk array working, i only have 80 
gigs(mirrored) on this server so it filled up rather quicklyand 
is at 99% as i write this email

I want to simply make changes so i can have a 3 day rotation, i want to 
have of course one full backup up and then just 2 days of incremental , 
then start a new full backup and then the 2 day rotation... and of 
course delete the previous 2 day sand full backup...so how would i 
accomplish this? it' a little confusing at the moment as i am too 
stressed to understand the conf file, i do not want o backup nothing by 
mistake!

Also is the only way to delete current backups is by hand?

Thanks once again for all your help!


-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
Thanks for the configs, i added them in just now and did a restart of 
backuppc  but a weird thing i did a du -skh on a backed up dir in 
backup session 3(the full backup) it said it was 1.6 gigs, but when i 
did a rm -rf on that dir i gained only about 200 megs back but all te 
files in that dir were gone? any idea? are these only links to the real 
files somewhere else? i hope the backup will still delete these files on 
the next run as per config??

Thanks again for all your help!

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Les Stott wrote:
 Rob Morin wrote:
   
 First off thanks for a great application  thanks for all the help i 
 have received on this list thus far...
 :)

 I recently installed BackupPC as i had a server crash and lost some 
 clients files i was backing up before using the infamous TAR, but 
 the external disk that i was using died. So now i installed BackupPC 
 on another server till i get a decent disk array working, i only have 80 
 gigs(mirrored) on this server so it filled up rather quicklyand 
 is at 99% as i write this email

 I want to simply make changes so i can have a 3 day rotation, i want to 
 have of course one full backup up and then just 2 days of incremental , 
 then start a new full backup and then the 2 day rotation... and of 
 course delete the previous 2 day sand full backup...so how would i 
 accomplish this? it' a little confusing at the moment as i am too 
 stressed to understand the conf file, i do not want o backup nothing by 
 mistake!

   
 
 I think these settings will provide what you need.

 $Conf{FullKeepCnt} = 1;
 $Conf{FullKeepCntMin} = 1;
 $Conf{FullAgeMax} = 3;

 $Conf{IncrKeepCnt} = 2;
 $Conf{IncrKeepCntMin} = 1;
 $Conf{IncrAgeMax} = 2;

 $Conf{FullPeriod} = '2.97';

 $Conf{IncrPeriod} = '0.97';

 The above basically sets the following...

 Only keep 1 full backup. Keep at least 1 full backup. Delete all old 
 backups greater than 3 days.
 Keep 2 incrementals with a minimum of 1, deleting incrementals older 
 than 2 days.
 Set the rotation of fulls to be just under 3 days, and incremental at 
 just under 1.
  

   
 Also is the only way to delete current backups is by hand?

 Thanks once again for all your help!


   
 

 I'm not sure how to invoke a commandline to do this, but if you save the 
 changes as above the nightly process will cull all the old backups which 
 are beyond the settings above.

 Regards,

 Les

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/


   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rotation question...

2006-10-16 Thread Rob Morin
So is there a way to run this nightly process by hand now so i can clear 
up a bit of space?

Thanks

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Les Stott wrote:
 Rob Morin wrote:
   
 Thanks for the configs, i added them in just now and did a restart of 
 backuppc  but a weird thing i did a du -skh on a backed up dir in 
 backup session 3(the full backup) it said it was 1.6 gigs, but when i 
 did a rm -rf on that dir i gained only about 200 megs back but all te 
 files in that dir were gone? any idea? are these only links to the 
 real files somewhere else? i hope the backup will still delete these 
 files on the next run as per config??

 
 the backup directories only contain hard links to the files that exist 
 in the pool directories.

 if the files still are referenced by other backups then they still exist 
 in the pool. When the files have no other hard links, and are not 
 referenced by any other backups (like the 200mb you freed up), they will 
 be deleted.

 The nightly process will clean the backups and the pool directories. You 
 can see the status of what was done in the pool for the previous run in 
 the status page of the cgi.

 Regards,

 Les


 p.s. you only need to reply to the list, not to all, that way i don't 
 get the reply twice ;)



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/


   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup to localhost?

2006-08-04 Thread Rob Morin
Ok cool thanks, i forgot that that log was there i see this , so i 
guess its using tar!

File /mnt/usb/BACKUP/pc/localhost/XferLOG.1.z

Contents of file /mnt/usb/BACKUP/pc/localhost/XferLOG.1.z, modified 
2006-08-04 02:09:50

Running: /usr/bin/sudo /bin/tar -c -v -f - -C / --totals --newer=2006-08-02 
10:00:01 --exclude=./proc --exclude=./sys --exclude=./dev --exclude=./tmp 
--exclude=./var/log --exclude=./mnt/usb --exclude=./data/var/log 
--exclude=./data/var/spool --exclude=./data/BACKUP .
Xfer PIDs are now 32057,32056
  create   755   0/0   0 .
  create   755   0/0   0 lost+found
  create   755   0/0   0 etc
  create   644   0/0 624 etc/fstab
  create   755   0/0   0 etc/mkinitrd
  create   755   0/0   0 etc/mkinitrd/scripts
  create   755   0/0   0 etc/network

Thats great, thanks!


Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Les Mikesell wrote:
 On Fri, 2006-08-04 at 08:09, Rob Morin wrote:
   
 How can i tell if it used the config.pl in te pc folder or the main one?

 It seemed to have work ok last night but not sure if it used the new 
 config or the main one? the new config uses this for backing up the 
 localhost
 

 If you view the XferLOG in the web interface (under the backup
 summary list) it will show the command used.  More generically
 you can see the last time a file was accessed with
 ls -lu filename, so if nothing else read it after the run
 you might tell from the timestamp - unless the backup includes
 it.

   

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


[BackupPC-users] What if localhost dies?

2006-08-04 Thread Rob Morin
So if localhost machine dies what do i do for the backup restore?

Since my drive  is an external USB drive,  i figure i can move it to 
another server for the restore but i would have too install BackpPC 
on that machine too... are there any docs that tell how to make a backup 
to the backup machine? Should i just do the install the same way on 
another server as on the backup server?

Thanks for everyone's help this application is a life saver for me and 
the staff
:)


-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-


-
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.phpp=sourceforgeCID=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] What if localhost dies?

2006-08-04 Thread Rob Morin
Well a way to avoid any deleting of files or hackers on the external 
drive is to only mount the drive when the backup starts and unmount when 
finished or when a restore is need, this is a good practice. Now if i 
could only figure out how to tell BackupPC to do this? i think it would 
be a nice option to have

Since using tar rather than rsync for localhost has brought the load 
down quite a bit, plus now after the initial first run, the incremental 
backups take less than 10 mins per pc!

We are in a very well protected data center, so unless there is a huge 
disaster i would not worry about this 100 floor office building coming 
down...

:)

However you do have very valid points...

Thanks for your input...

Has anyone ever unmounted and remount the drives as need in conjunction 
with BackupPC?


Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Les Mikesell wrote:
 On Fri, 2006-08-04 at 09:50 -0400, Rob Morin wrote:
   
 So if localhost machine dies what do i do for the backup restore?

 Since my drive  is an external USB drive,  i figure i can move it to 
 another server for the restore but i would have too install BackpPC 
 on that machine too... are there any docs that tell how to make a backup 
 to the backup machine? Should i just do the install the same way on 
 another server as on the backup server?
 

 I run backups to a internal drive but periodically raid-mirror to
 external drives that are rotated off-site.  So far I have never
 actually had to restore from the off-site drive but that way I
 prepared for it is that I have a dual-boot laptop that normally
 runs windows but can be booted to Linux where backuppc is already
 installed and configured for the external drive to be connected.

 If you only have one external drive that's something of a weak
 link in your scheme, though.  Whatever it is that might make the
 machine die (a building disaster, accidentally typing 'rm -rf /',
 etc.) is likely to take the connected drive with it.  You might
 want to have additional drives that you rotate offsite.  Also,
 using USB explains some of the load you mentioned in your earlier
 messages since it takes some CPU overhead to run the interface but
 if the backup completes overnight it may not matter.

   

-
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.phpp=sourceforgeCID=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] Backup to localhost?

2006-08-03 Thread Rob Morin
Another question, why does the backup seem to start at 11am? is there a 
place to alter this. my server(localhost) is now backing up itself 
and the load is now at 6.00, this makes other services slow on the 
machine

But it should do just an incremental backup now , right since it did its 
first backup yesterday?

Any help appreciated

Thanks..

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



daniel berteaud wrote:
 On Wed, 02 Aug 2006 10:44:18 -0400
 Rob Morin [EMAIL PROTECTED] wrote:


 Well I'm quite new in linux and maybe others users will tell you you
 shouldn't give www-data a sudo permission. Anyway, If you wan't
 backuppc to backup your localhost, the user how runs backuppc needs root
 permissions to reach some system files.

 I don't think adding these lines to sudoers introduce many security
 risk because you give root permission only for the /bin/tar program (or
 the /bin/rsync).

 Of course it would be better to run backuppc as a special user. If you
 have problem using sperl, I saw on that you can run a special instance
 of apache under another user, specially for backuppc. Maybe that would
 be more secure. 




   
 I had to use the user www-data as the backup user , because there is
 a problem for me to use sperl on all my debian systems for some
 reason Now if i add www-data to sudoers( which my apache runs as)
 does this introduce a security issue?

 Thanks...

 Rob Morin
 Dido InterNet Inc.
 Montreal, Canada
 Http://www.dido.ca
 514-990-



 daniel berteaud wrote:
 
 Hello, I worked on the integration of backuppc to SME server
 distribution. I use it to save several host including the localhost.
 For the localhost, I use this per pc config:

 # start of the per pc config #

 $Conf{TarShareName} = ['/'];

 $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup'];

 $Conf{XferMethod} = 'tar';

 $Conf{TarClientCmd} = '/usr/bin/sudo'
 . ' $tarPath -c -v -f - -C $shareName'
 . ' --totals';

 $Conf{TarFullArgs} = '$fileList';

 $Conf{CompressLevel} = 3;

 $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

 $Conf{TarClientRestoreCmd} = '/usr/bin/sudo'
. ' $tarPath -x -p --numeric-owner --same-owner'
. ' -v -f - -C $shareName+';

 # end of the per pc config #

 For this to work, you need to allow the backuppc user to run tar
 with sudo. I use this line in /etc/sudoers:

 backuppc ALL=(root) NOPASSWD:/bin/tar

 I hope this can help.


 On Tue, 01 Aug 2006 08:33:19 -0400
 Rob Morin [EMAIL PROTECTED] wrote:

   
   
 Hello all , i am new to this list

 I was looking around the archives for a method of backing up the 
 localhost. I could not find anything for a newbie i did come
 across a small email about using a conf file named localhost.pl
 that was suppose to be in the package, however i did not see it in
 my tarball...

 Can some one suggest hat i should do or point me to some docs...

 Thanks

 Have  a great day!

 Rob Morin
 Dido InterNet Inc.
 Montreal, Canada
 Http://www.dido.ca
 514-990-

 


   

-
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.phpp=sourceforgeCID=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] Backup to localhost?

2006-08-03 Thread Rob Morin
By the way the backup took 12 hours to do, meanwhile the load was over 7 
all the time Woa!
 that was for 65 gigs

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Rob Morin wrote:
 Ahh i see ok so if i force an incremental for all machines at, say 
 midnight or 11pm they will always backup at that time then? ok cool...

 Another quick question, rather than do the rsync thing over ssh,  i want 
 to use a conf file someone on the list provided me to be placed in the 
 pc's name dir... IE pc/localhost,   now do i name the file config.pl or 
 the name of the directory/pc IE localhost.pl as i forst named it 
 localhost.pl and it still used ssh rather than tar

 Thanks dude!

 Rob Morin
 Dido InterNet Inc.
 Montreal, Canada
 Http://www.dido.ca
 514-990-



 Les Mikesell wrote:
   
 On Thu, 2006-08-03 at 18:01 +0200, daniel berteaud wrote:
   
 
 Well, it should do incremental backups, depending on the
 configuration. You can verify the type of each backup in the cgi
 interface. You can specify in the per pc configuration file the
 blackout periods so that backups only occure when you want them to
 occure. For exemple (this is the default configuration)

 $Conf{BlackoutPeriods} = [
 {
 hourBegin =  7.0,
 hourEnd   = 19.5,
 weekDays  = [1, 2, 3, 4, 5],
 },
 ];

 With this the backups won't occure (if the host is always connected,
 but, as we talk about the localhost, it will always be connected) from
 7h00 to 19h30 during all the week (from monday to friday). You can
 define several blackout period.
 
   
 To be considered 'always connected', some number of pings have to
 succeed outside of the blackout period.  I usually start the initial
 backup of a new machine late in the day.  Subsequent automatic runs
 won't start until 24 hours have passed, then later after the target
 is determined to be always available the runs won't start until the
 blackout period.  If you force an incremental just before you leave
 work you'll shift into that cycle.

   
 

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


   

-
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.phpp=sourceforgeCID=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] Backup to localhost?

2006-08-02 Thread Rob Morin
I had to use the user www-data as the backup user , because there is a 
problem for me to use sperl on all my debian systems for some reason 
Now if i add www-data to sudoers( which my apache runs as) does this 
introduce a security issue?

Thanks...

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



daniel berteaud wrote:
 Hello, I worked on the integration of backuppc to SME server
 distribution. I use it to save several host including the localhost.
 For the localhost, I use this per pc config:

 # start of the per pc config #

 $Conf{TarShareName} = ['/'];

 $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup'];

 $Conf{XferMethod} = 'tar';

 $Conf{TarClientCmd} = '/usr/bin/sudo'
 . ' $tarPath -c -v -f - -C $shareName'
 . ' --totals';

 $Conf{TarFullArgs} = '$fileList';

 $Conf{CompressLevel} = 3;

 $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

 $Conf{TarClientRestoreCmd} = '/usr/bin/sudo'
  . ' $tarPath -x -p --numeric-owner --same-owner'
  . ' -v -f - -C $shareName+';

 # end of the per pc config #

 For this to work, you need to allow the backuppc user to run tar with
 sudo. I use this line in /etc/sudoers:

 backuppc ALL=(root) NOPASSWD:/bin/tar

 I hope this can help.


 On Tue, 01 Aug 2006 08:33:19 -0400
 Rob Morin [EMAIL PROTECTED] wrote:

   
 Hello all , i am new to this list

 I was looking around the archives for a method of backing up the 
 localhost. I could not find anything for a newbie i did come
 across a small email about using a conf file named localhost.pl that
 was suppose to be in the package, however i did not see it in my
 tarball...

 Can some one suggest hat i should do or point me to some docs...

 Thanks

 Have  a great day!

 Rob Morin
 Dido InterNet Inc.
 Montreal, Canada
 Http://www.dido.ca
 514-990-



 Matt wrote:
 
 Hi,

 I am using the rsyncd transfer method and would like to have each
 new backup be base to the most recent incremental, thus completely
 avoiding full backup
 after the first initial backup.

 Is this now possible with version 3.0.0 beta?   Maybe
 $Conf{IncrLevels} can be
 use to this end but I don't  see how.

 Regards,

 ... Matt

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


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

 


   

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


[BackupPC-users] Backup to localhost?

2006-08-01 Thread Rob Morin
Hello all , i am new to this list

I was looking around the archives for a method of backing up the 
localhost. I could not find anything for a newbie i did come across 
a small email about using a conf file named localhost.pl that was 
suppose to be in the package, however i did not see it in my tarball...

Can some one suggest hat i should do or point me to some docs...

Thanks

Have  a great day!

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



Matt wrote:
 Hi,

 I am using the rsyncd transfer method and would like to have each new backup
 be base to the most recent incremental, thus completely avoiding full
 backup
 after the first initial backup.

 Is this now possible with version 3.0.0 beta?   Maybe $Conf{IncrLevels}
 can be
 use to this end but I don't  see how.

 Regards,

 ... Matt

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


   

-
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.phpp=sourceforgeCID=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] Backup to localhost?

2006-08-01 Thread Rob Morin
Thanks!

I figured once the first pass is done the rest will not be as bad...  i 
will wait and see what happens, however i will create this handy conf 
file anyways

Thanks for all the replies!

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



daniel berteaud wrote:
 Hello, I worked on the integration of backuppc to SME server
 distribution. I use it to save several host including the localhost.
 For the localhost, I use this per pc config:

 # start of the per pc config #

 $Conf{TarShareName} = ['/'];

 $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup'];

 $Conf{XferMethod} = 'tar';

 $Conf{TarClientCmd} = '/usr/bin/sudo'
 . ' $tarPath -c -v -f - -C $shareName'
 . ' --totals';

 $Conf{TarFullArgs} = '$fileList';

 $Conf{CompressLevel} = 3;

 $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

 $Conf{TarClientRestoreCmd} = '/usr/bin/sudo'
  . ' $tarPath -x -p --numeric-owner --same-owner'
  . ' -v -f - -C $shareName+';

 # end of the per pc config #

 For this to work, you need to allow the backuppc user to run tar with
 sudo. I use this line in /etc/sudoers:

 backuppc ALL=(root) NOPASSWD:/bin/tar

 I hope this can help.


 On Tue, 01 Aug 2006 08:33:19 -0400
 Rob Morin [EMAIL PROTECTED] wrote:

   
 Hello all , i am new to this list

 I was looking around the archives for a method of backing up the 
 localhost. I could not find anything for a newbie i did come
 across a small email about using a conf file named localhost.pl that
 was suppose to be in the package, however i did not see it in my
 tarball...

 Can some one suggest hat i should do or point me to some docs...

 Thanks

 Have  a great day!

 Rob Morin
 Dido InterNet Inc.
 Montreal, Canada
 Http://www.dido.ca
 514-990-



 Matt wrote:
 
 Hi,

 I am using the rsyncd transfer method and would like to have each
 new backup be base to the most recent incremental, thus completely
 avoiding full backup
 after the first initial backup.

 Is this now possible with version 3.0.0 beta?   Maybe
 $Conf{IncrLevels} can be
 use to this end but I don't  see how.

 Regards,

 ... Matt

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


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

 


   

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