LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-20-2010, 01:32 PM   #1
bigonroad
LQ Newbie
 
Registered: Dec 2008
Posts: 6

Rep: Reputation: 0
Sharing files across network using BackupPC on Ubuntu 9.10


I now have BackupPC up and running on ubuntu 9.10. Thanks for your help guys!

I have a couple more issues. These relate to the fact that I am trying to use backuppc to backup files, but also to provide a central up to date store of network accessible files, so, for example, media files can be viewed over the network, rather than downloaded through the web interface.

Thus I have the following problems:

1. Access the files through the network
I want to have /var/lib/backuppc as a browsable folder through the network. I have managed to change permissions on the folders so they are browseable, but i need to set the file permissions so i can open the files. How do I do this, and set it so that all future backup files are given accessible permissions?

2. A single store of files
I want one folder with all the incremental backups being copied into it, so to see the most up to date version of a file, I just browse to it in nautilus, or through shared folders from another pc on the network.

At the moment, I have a 0 and a 1 folder, and I am sure I will end up with loads more. I just want a single folder, no matter how many times the backup is made.

3. Change the Naming Convention
Also is there a way to change the naming convention so the folders are given the normal names (so Documents rather than fDocuments)?

Awesome, really appreciate the help guys!
Bless,
Chris
 
Old 02-21-2010, 08:18 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 697

Rep: Reputation: 93
Hi Chris. Backuppc is definitely the right tool to keep a backup of your
important files, but it's not the right tool to present a set of files
to users. Your three points are good examples of why I say this.

My suggestion would be find the source of the files you want to make
available (they're probably on a single directory on a server) and
use rsync on a cronjob to keep updated versions of your "live" directory
on another directory as described in your second point. You can then
present this "store" directory to users through CIFS, NFS, WEBDAV or
some other protocol.
 
Old 02-22-2010, 01:44 AM   #3
abhandari
LQ Newbie
 
Registered: Dec 2008
Location: NP
Posts: 28

Rep: Reputation: 1
Hi Chris,Carltm is right, BackupPC is a web based centralized File Backup server, so you can use it for secure and sheduled data backup from other computers which i have been using since 2 yrs in a ISP.

Due to some file ownership and File Access Permission of stored data "Access the files through the network" is not the good way.
This may break your security on those stored data if you made it browsable for other users on network.

"A single store of files" , Actually BackupPC is a single store of files server which is centeralized but to backup the files are totally unreadable format if we tried to open it since a single file is spanned over a different files under different folder according to incremental basis. But you can get it easily from its web based interface according to the date.


You have to be clear that whether you want for centralized backup OR u wana go for sharing of centralized backuped data from other computers.

If you are interested for only centeralized backup system then BackupPC is free and Perfect, But if your are going for sharing centralized backup of updated files to the networked computers then you just use rsync(collects updated data of the file) or scp commands under cron jobs to collect it under a folder. Now just share the folder with nfs or samba(even for windows client) or even from ftp.

"Change the Naming Convention"
ya you can change the name of the folder and share a single folder content with different name i:e create symbolic link ("ln -s" command) of the folder to the name of folder you want.

If you couldn't get the commands for above then have a post we will try our best to help u.

This is just supportive for carltm.
 
  


Reply

Tags
backuppc, files, networking, sharing, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing BackupPC : The requested URL /backuppc was not found on this server jonaskellens Linux - Newbie 7 12-17-2009 02:24 AM
Sharing files on network? Zeno McDohl Linux - Newbie 7 01-20-2006 02:09 PM
sharing files overe the network naren Linux - Networking 2 03-22-2004 09:48 PM
sharing files over the network naren Linux - Software 1 02-18-2004 12:46 PM
sharing files over the network linuxfan Linux - Networking 3 10-20-2000 04:45 AM


All times are GMT -5. The time now is 05:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration