Re: [BackupPC-users] Mounting synology NAS breaks Backuppc

2014-09-25 Thread Tom Fallon
Thanks for the heads up Phil, think that did the trick!

A combination of your advice about the nolock option and this post 
(http://www.ryananddebi.com/2013/01/15/linuxmint-or-ubuntu-how-to-automount-synology-shares/)
 
got me a working setup. No need to match UID etc.

NAS IP:/volume5/LinuxBackups /var/lib/backuppc nfs rw,hard,intr,nolock 0 0

Thanks for the prompt replies all round. Hopefully others with similar 
issues will find the above useful.

regards, Tom

On 24/09/2014 22:33, Phil Kennedy wrote:
 Tom,
 You may want to try mounting with the 'nolock' option. I had a similar
 issue with a D-Link NAS. It's a quick and easy fix to try.
 ~Phil

 On 9/24/2014 2:01 PM, Tom Fallon wrote:
 Well I've since removed the /etc/fstab as server hung after a reboot but
 it did look like this:

 IPofNAS:/volume5/LinuxBackups/var/lib/backuppc nfs
 defaults  0   0

 The NAS still has contents on it so previous comments from Les are the
 likely scenario I suspect.

 How would I go about finding the UID on the backuppc user on the NAS?

 regards

 On 24/09/2014 18:50, Carl Wilhelm Soderstrom wrote:
 On 09/24 06:41 , Tom Fallon wrote:
 Hi Sharuzzaman

 I'm mounting with a user with sudo rights, not backuppc and not root itself
 as on Ubuntu thats disabled by default.
 What does your /etc/fstab configuration look like?

 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 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/


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 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/


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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] Every backup I do gets error BackupPC_link got error -3 when calling MakeFileLink

2014-09-25 Thread Brian Ott
Hello, 

Hopefully someone can help me out with this. I've looked this error up and came 
across this old posting: 
http://adsm.org/lists/html/BackupPC-users/2009-08/msg00115.html

However there was no luck there as it seems my issue may be different. What 
I've observed is that I receive this error in the log file for every host I 
backup. 

After some investigation I believe this to be related to symbolic links. When I 
check the symbolic links are not in the f directories. Here is an example: 

2014-09-25 08:47:10 BackupPC_link got error -3 when calling 
MakeFileLink(/var/lib/backuppc/pc/pfy.res.oicr.on.ca/0/f%2f/fsbin/flvchange, 
adcd7bc3e2583e93ed4e4a0e7ae055d1, 1)

Checking for the file, it is not there. 

backuppc@backstage:~/pc/pfy.res.oicr.on.ca/0/f%2f/fsbin$ ls -lh | grep change
backuppc@backstage:~/pc/pfy.res.oicr.on.ca/0/f%2f/fsbin$

and checking on the host it's a symbolic link 

pfy:/sbin
$ ls -lh | grep change
lrwxrwxrwx 1 root root  3 Jan 27  2014 lvchange - lvm


when I check in the backuppc webpage for the host, and browse directory 'sbin' 
I don't see this symbolic link there, however I do see other 'symlinks' 
mentioned. (For example /sbin/stop)

Here is the log file for those two: 

backuppc@backstage:~/pc/pfy.res.oicr.on.ca$ BackupPC_zcat XferLOG.0.z  | grep 
sbin/stop
  pool   l 777   0/0   7 sbin/stop - initctl
backuppc@backstage:~/pc/pfy.res.oicr.on.ca$ BackupPC_zcat XferLOG.0.z  | grep 
sbin/lvchange
  create l 777   0/0   3 sbin/lvchange - lvm

I checked the log and the xfer log for this host and its accurate to say that 
all the files that got the -3 error are all set to create instead of pool. 

This host was new and this was the first backup being done, so I would assume 
pool means that file already exists somewhere in its pool so it will just 
link to it for this host and l being symlink.  So the problem here is why are 
new create for symbolic links failing? 

Thanks, 





Brian Ott
Unix System Administrator

Ontario Institute for Cancer Research
MaRS Centre, South Tower
101 College Street, Suite 800
Toronto, Ontario, Canada M5G 0A3

Telephone:  647-260-7977
Email:  brian@oicr.on.ca
www.oicr.on.ca



This message and any attachments may contain confidential and/or privileged 
information for the sole use of the intended recipient. Any review or 
distribution by anyone other than the person for whom it was originally 
intended is strictly prohibited. If you have received this message in error, 
please contact the sender and delete all copies. Opinions, conclusions or other 
information contained in this message may not be that of the organization.



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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] Easiest way to delete test backups?

2014-09-25 Thread xpac
Thanks everybody, you gave me exactly the answers I needed!

+--
|This was sent by ph...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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] Advatage/s to running rsyncd vs rsync?

2014-09-25 Thread xpac
I have a small production environment currently with six Centos 6 servers, one 
of which also serves as my BackupPC server.  Currently I have it configured to 
use rsync as the transfer method, I'm just wondering if it makes sense to 
switch over to rsyncd?  More specifically, what advantages, if any could I 
expect?  

I've googled a bit and found varying opinions but for people using rsync and 
rsyncd for things other than strictly BackupPC so I thought this would be a 
good place to ask.

+--
|This was sent by ph...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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] Advatage/s to running rsyncd vs rsync?

2014-09-25 Thread Michael Stowe
On 2014-09-25 12:17, xpac wrote:
 I have a small production environment currently with six Centos 6
 servers, one of which also serves as my BackupPC server.  Currently I
 have it configured to use rsync as the transfer method, I'm just
 wondering if it makes sense to switch over to rsyncd?  More
 specifically, what advantages, if any could I expect?
 
 I've googled a bit and found varying opinions but for people using
 rsync and rsyncd for things other than strictly BackupPC so I thought
 this would be a good place to ask.

This has come up a few times, so you may want to check the archives for 
a complete answer, but the short answer is: rsyncd has no advantages 
over rsync+ssh (except for the dubious advantage of not having to run 
sshd) and imposes additional requirements.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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] Advatage/s to running rsyncd vs rsync?

2014-09-25 Thread Les Mikesell
On Thu, Sep 25, 2014 at 12:48 PM, Michael Stowe
mst...@chicago.us.mensa.org wrote:
 On 2014-09-25 12:17, xpac wrote:
 I have a small production environment currently with six Centos 6
 servers, one of which also serves as my BackupPC server.  Currently I
 have it configured to use rsync as the transfer method, I'm just
 wondering if it makes sense to switch over to rsyncd?  More
 specifically, what advantages, if any could I expect?

 I've googled a bit and found varying opinions but for people using
 rsync and rsyncd for things other than strictly BackupPC so I thought
 this would be a good place to ask.

 This has come up a few times, so you may want to check the archives for
 a complete answer, but the short answer is: rsyncd has no advantages
 over rsync+ssh (except for the dubious advantage of not having to run
 sshd) and imposes additional requirements.

Well, be sure you grab your distribution's very recent bash security
update if you are counting on being able to restrict the command you
can execute over ssh.   But other than that, I agree - using ssh is
easier.   You would have the option of making rsyncd 'read only' but
then you couldn't do direct restores.

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

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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] Advatage/s to running rsyncd vs rsync?

2014-09-25 Thread Adam Goryachev
On 26/09/14 03:48, Michael Stowe wrote:
 On 2014-09-25 12:17, xpac wrote:
 I have a small production environment currently with six Centos 6
 servers, one of which also serves as my BackupPC server.  Currently I
 have it configured to use rsync as the transfer method, I'm just
 wondering if it makes sense to switch over to rsyncd?  More
 specifically, what advantages, if any could I expect?

 I've googled a bit and found varying opinions but for people using
 rsync and rsyncd for things other than strictly BackupPC so I thought
 this would be a good place to ask.
 This has come up a few times, so you may want to check the archives for
 a complete answer, but the short answer is: rsyncd has no advantages
 over rsync+ssh (except for the dubious advantage of not having to run
 sshd) and imposes additional requirements.
Personally, because I already use ssh, and key based authentication, it 
is much easier to run rsync over that, (ie, ports are open, firewall 
issues are already resolved, etc).

However, rsyncd can be an advantage to reduce the overhead of encryption 
(if your backup client is very low powered/embedded device). Also, it 
will do a better job of restricting the commands that can be executed 
(ie, only files can be read/written, as opposed to any command, possibly 
even by-passing restricted commands you tried to configure if there is 
some bug in the way you have configured this etc).

So, as always, there is more than one way to do this, and you can choose 
the solution that meets your individual needs, which may (will) vary 
from somebody else.

Regards,
Adam

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

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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] Mounting synology NAS breaks Backuppc

2014-09-25 Thread Phil Kennedy
I suspect it has something to do with the way these smaller devices use 
SMB. They'll mount via NFS, but that's literally all they'll do is mount.

Glad that fix worked. As soon as I see NAS in the title, my mind jumps 
to the nolock option.
~Phil

On 9/25/2014 8:52 AM, Tom Fallon wrote:
 Thanks for the heads up Phil, think that did the trick!

 A combination of your advice about the nolock option and this post
 (http://www.ryananddebi.com/2013/01/15/linuxmint-or-ubuntu-how-to-automount-synology-shares/)
 got me a working setup. No need to match UID etc.

 NAS IP:/volume5/LinuxBackups /var/lib/backuppc nfs rw,hard,intr,nolock 0 0

 Thanks for the prompt replies all round. Hopefully others with similar
 issues will find the above useful.

 regards, Tom

 On 24/09/2014 22:33, Phil Kennedy wrote:
 Tom,
 You may want to try mounting with the 'nolock' option. I had a similar
 issue with a D-Link NAS. It's a quick and easy fix to try.
 ~Phil

 On 9/24/2014 2:01 PM, Tom Fallon wrote:
 Well I've since removed the /etc/fstab as server hung after a reboot but
 it did look like this:

 IPofNAS:/volume5/LinuxBackups/var/lib/backuppc nfs
 defaults  0   0

 The NAS still has contents on it so previous comments from Les are the
 likely scenario I suspect.

 How would I go about finding the UID on the backuppc user on the NAS?

 regards

 On 24/09/2014 18:50, Carl Wilhelm Soderstrom wrote:
 On 09/24 06:41 , Tom Fallon wrote:
 Hi Sharuzzaman

 I'm mounting with a user with sudo rights, not backuppc and not root 
 itself
 as on Ubuntu thats disabled by default.
 What does your /etc/fstab configuration look like?

 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 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/

 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 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/

 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 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/



--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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/