Re: [BackupPC-users] backing up to NAS
On Thu, 2008-05-01 at 23:30 -0400, Leandro Tracchia wrote: i am trying to backup the data to a NAS (Terastation). i've already read somewhere that the NAS needs to have a filesystem that supports hardlinks in order for backuppc to be able to do its thing. smb/cifs does not support hardlinks (as far as i know) so i cannot mount the NAS as a smb/cifs share. so i have two questions: in what filesystem should i mount the terastation??? (assuming that filesystem is supported by the terastation) and do i simply just mount the terasation to /var/lib/backuppc/ Yes you can mount it as /var/lib/backuppc i guess you are limited to what network filesystems it supports. if it support SAN style mounts i would go for that. iscsi or similar. if it only support filesystems, go for a a cluster filesystem. and if it only suport smb and nfs you are left with only nfs as the possible choise. now nfs works just fine, but it does not scale very well. so you might have to experiment with how many backups you can simultanusly run at a given time. kind regards Ronny Aasen - 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 a NAS Server to backups
On Mon, 2008-03-31 at 15:53 +0200, Nils Breunese (Lemonbit) wrote: Ronny Aasen wrote: Are there any NFS/SAN solutions are _are_ usable with backuppc for example iscsi/fc/afs/codafs etc etc. Do you really need a networked solution? Local or externally connected drives are not an option? correct Ronny Aasen - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 a NAS Server to backups
On Mon, 2008-03-31 at 16:22 +0200, [EMAIL PROTECTED] wrote: So, it works with NFS ? Yes it works with NFS. But it scales poorly I am running a small installation. only 23 hosts. on a 6TB nfs nas, using mostly gigabit ethernet. 5.9T 3.4T 2.6T 57% /var/lib/backuppc speed varies between 1 MB/sec and 8MB/sec with the average laying about 3MB/sec for a full backup. and 0.5MB/sec for incremental cpu is often in iowait during backups. mark: this is all server hardware intel server gigabit network cards. and lsi sas raid controller with sata 500GB raid edition harddrives Romain Stephen Joyce [EMAIL PROTECTED] unc.eduA Envoyé par : [EMAIL PROTECTED] backuppc-users-bo t [EMAIL PROTECTED] cc eforge.net Objet Re: [BackupPC-users] Using a NAS 31/03/2008 16:17 Server to backups On Mon, 31 Mar 2008, Tino Schwarze wrote: On Mon, Mar 31, 2008 at 03:14:34PM +0200, Ronny Aasen wrote: I would like to know if it's possible and how to configure BackupPC in order to use a NAS server instead of the path /datas of BackupPC (for example). Sure, it's possible to do an NFS mount of a remote disk, and use that for your BackupPC storage. In all likelihood tho, it will be terribly slow. Don't try it. BackupPC is too disk-I/O intensive. Are there any NFS/SAN solutions are _are_ usable with backuppc for example iscsi/fc/afs/codafs etc etc. A SAN would do since you're creating an ordinary file system on top it. The file system needs to support real hardlinks to be usable with BackupPC. AFS doesn't really fit since you'd need to create one large BackupPC volume, so you're just moving the problem from local to remote server (that is managing a very large chunk of file system). AFS doesn't support hard links between directories, which BackupPC requires. Cheers, Stephen -- Stephen Joyce Systems AdministratorP A N I C Physics Astronomy Department Physics Astronomy University of North Carolina at Chapel Hill Network Infrastructure voice: (919) 962-7214and Computing fax: (919) 962-0480 http://www.panic.unc.edu Lazy Programmers know that if a thing is worth doing, it's worth doing well -- unless doing it well takes so long that isn't worth doing any more. Then you just do it 'good enough' --- Programming Perl, p 282. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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/ SC2N -S.A Siège Social : 2, Rue Andre Boulle - 94000 Créteil - 327 153 722 RCS Créteil This e-mail message is intended only for the use of the intended recipient(s). The information contained therein may be confidential or privileged, and its disclosure or reproduction is strictly prohibited. If you are not the intended recipient, please return it immediately to its sender at the above address and destroy it. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https
Re: [BackupPC-users] Using a NAS Server to backups
On Mon, 2008-03-31 at 06:34 -0500, Carl Wilhelm Soderstrom wrote: On 03/31 01:16 , [EMAIL PROTECTED] wrote: I would like to know if it's possible and how to configure BackupPC in order to use a NAS server instead of the path /datas of BackupPC (for example). Sure, it's possible to do an NFS mount of a remote disk, and use that for your BackupPC storage. In all likelihood tho, it will be terribly slow. Don't try it. BackupPC is too disk-I/O intensive. Are there any NFS/SAN solutions are _are_ usable with backuppc for example iscsi/fc/afs/codafs etc etc. kind regards Ronny Aasen - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] restricting cgi users restore to their own files, or how to handle many users.
On Wed, 2007-09-26 at 04:31 -0700, Craig Barratt wrote: Ronny writes: I am taking backup of a directory /home, containing ~1000 users. And i want to allow each of the users access to restore his own files. But NOT to read/restore files that he normaly would not. Example: user1 have a file in /home/user1/private.txt that have 600 permissions. I dont want user2 to be able to read this thru the backuppc cgi. i have tested this with a line in hosts that say server 0 rootuser1,user2 and it seams to me that user2 can read all files of the backup, even files he normaly would have no access to. So how others solve this problem ? must you have 1000 lines in hosts, one line for each homedir ? Or are there a different way where i can have backuppc check the orginal permissions and deny restore if the user in question dont have the right access. BackupPC doesn't provide a mechanism to have fine-grained per-user permissions when browsing backups. The host file users have permissions for the entire host: browsing, editing the configuration, starting and canceling backups, etc. Enforcing permissions is a bit difficult since apache doesn't provide the uid and gid - just the username - and the backups just contain the client uid/gid. There is no guarantee that user names and uid/gids are common between the server and client. that's not a guarantee, but when you have ldap/sql/nis user-uid mapping it's quite commonly so. I assume one could deny access if the user didn't map to a uid. mapping a user to the wrong uid would be hard to detect. But it's not your stock configuration anyway so some prerequisites like common user database can be expected. Perhaps we could have a new config variable which forces the browse path for non-admin users, eg: $Conf{CgiUserBrowseChroot} = { 'user1' = '/home:/user1', 'user2' = '/home:/user2', }; (/home is the share, and /user1 is the path relative to that share) There could also be a wildcard form that allows any user to browse their folder: $Conf{CgiUserBrowseChroot} = { '*' = '/home:/*', }; One drawback is this host won't appear in the pulldown in the navigation bar, since that is based on the hosts file. So the user has to navigate to their host by knowing the correct URL. So there is no way to do this currently. Having 1000 hostlines is not that big a problem for the user. Since it's the admin that have to live with a _Lng_ dropdown box. would backuppc deal with a hostsfile of ~1000 lines and 1000 files saying server-user[].pl -- mvh Ronny Aasen -- 41616155 -- [EMAIL PROTECTED] -- Datapart AS -- 57682100 -- www.datapart-as.no -- signature.asc Description: This is a digitally signed message part - 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] install dir's BackupPC
On Tue, 2007-09-25 at 17:02 +0200, Steven Coenegrachts wrote: Can anyone help me to get backuppc installed, Is it maybe possible that someone posts his config here, I mean were I do have to put the different files. I looked at Page 7 of 50 at the BackupPC documentation, but I can't figured it out. I've not so many experience witjh linux, thus anyone who's got some time :-) personaly i think it's usualy easier to install using the packages provided with the distribution. in debian and debian derivates, you should be able to aptitude install backuppc link up the apache config file and play ! Ronny - 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] restricting cgi users restore to their own files, or how to handle many users.
Sorry about the duplicate post. Trying to use the right address now ! Ronny writes: I am taking backup of a directory /home, containing ~1000 users. And i want to allow each of the users access to restore his own files. But NOT to read/restore files that he normaly would not. Example: user1 have a file in /home/user1/private.txt that have 600 permissions. I dont want user2 to be able to read this thru the backuppc cgi. i have tested this with a line in hosts that say server 0 rootuser1,user2 and it seams to me that user2 can read all files of the backup, even files he normaly would have no access to. So how others solve this problem ? must you have 1000 lines in hosts, one line for each homedir ? Or are there a different way where i can have backuppc check the orginal permissions and deny restore if the user in question dont have the right access. BackupPC doesn't provide a mechanism to have fine-grained per-user permissions when browsing backups. The host file users have permissions for the entire host: browsing, editing the configuration, starting and canceling backups, etc. Enforcing permissions is a bit difficult since apache doesn't provide the uid and gid - just the username - and the backups just contain the client uid/gid. There is no guarantee that user names and uid/gids are common between the server and client. that's not a guarantee, but when you have ldap/sql/nis user-uid mapping it's quite commonly so. I assume one could deny access if the user didn't map to a uid. mapping a user to the wrong uid would be hard to detect. But it's not your stock configuration anyway so some prerequisites like common user database can be expected. Perhaps we could have a new config variable which forces the browse path for non-admin users, eg: $Conf{CgiUserBrowseChroot} = { 'user1' = '/home:/user1', 'user2' = '/home:/user2', }; (/home is the share, and /user1 is the path relative to that share) There could also be a wildcard form that allows any user to browse their folder: $Conf{CgiUserBrowseChroot} = { '*' = '/home:/*', }; One drawback is this host won't appear in the pulldown in the navigation bar, since that is based on the hosts file. So the user has to navigate to their host by knowing the correct URL. So there is no way to do this currently. Having 1000 hostlines is not that big a problem for the user. Since it's the admin that have to live with a _Lng_ dropdown box. would backuppc deal with a hostsfile of ~1000 lines and 1000 files saying server-user[].pl -- mvh Ronny Aasen -- 41616155 -- [EMAIL PROTECTED] -- Datapart AS -- 57682100 -- www.datapart-as.no -- - 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] backing up a particular user
On Mon, 2007-09-24 at 20:46 -0700, Simpson, Kenneth wrote: Hi - I'm trying to backup a single user directory on Linux (SLES 9) using version 2.1.3 of BackupUP and rsync - but it's backing up all all the directories on the source disk starting at the beginning of the alphabet. I just need to backup the directory /domus/support - and not any of the other directories. I have to do similar cherry picking on a couple of other machines. Here is my hosts file entry: hostdhcpusermoreUsers # --- do not edit this line linws7 0 support # --- example static IP host entry and here's the rsync share from config.pl: $Conf{RsyncShareName} = '/domus'; Any help would be appreciated. -- Ken try $Conf{RsyncShareName} = '/domus/support'; Ronny - 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] Problems with CGI setup for backuppc on Debian Etch.
Problem #1: I'm have trouble setting up CGI for backuppc on Debian etch. Paths / scripts are missing or aren't where the documentation says they should be. Specifically I can't locate BackupPC_Admin. Installation seemed to go fine: tsDeb:/etc/apache-ssl# apt-get install backuppc It's a good idea to read /usr/share/doc/backuppc/README.Debian to enable the backuppc cgi in debian i do apache1: ln -s /etc/backuppc/apache.conf /etc/apache/conf.d/backuppc.conf apache2: ln -s /etc/backuppc/apache.conf /etc/apache2/conf.d/backuppc.conf and restart apache Ronny - 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] restricting cgi users restore to their own files, or how to handle many users.
Hello. I have installed backuppc + apache2 ldap_auth on debian etch and it's working great. Now i have one challenge that i have not been able to find a solution for in the docs or mailinglist archives. If it's been answered allready I would very much like a url. I am taking backup of a directory /home, containing ~1000 users. And i want to allow each of the users access to restore his own files. But NOT to read/restore files that he normaly would not. Example: user1 have a file in /home/user1/private.txt that have 600 permissions. I dont want user2 to be able to read this thru the backuppc cgi. i have tested this with a line in hosts that say server 0 rootuser1,user2 and it seams to me that user2 can read all files of the backup, even files he normaly would have no access to. So how others solve this problem ? must you have 1000 lines in hosts, one line for each homedir ? Or are there a different way where i can have backuppc check the orginal permissions and deny restore if the user in question dont have the right access. Kind regards -- mvh Ronny Aasen -- 41616155 -- [EMAIL PROTECTED] -- Datapart AS -- 57682100 -- www.datapart-as.no -- signature.asc Description: This is a digitally signed message part - 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/