LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-22-2011, 03:04 PM   #1
frrobert
LQ Newbie
 
Registered: Mar 2008
Location: South Bend, IN
Distribution: Ubuntu 10.04
Posts: 18

Rep: Reputation: 0
CrashPlan+


I am running crashplan+ on Ubuntu 10.04 and I noticed an issue.

I am backing up my computer to 2 locations.
The first being their online servers. That works fine.

The second location is a folder.

This is where the issue is.

If the mount point is /media/sg160 and crashplan stores the files in /media/sg160/crashplan everything works fine if the drive is connected.

The problem is if the drive is a removable drive or a network drive that for some reason currently is not accessible rather then generating an error and not running the backup it creates the directory crashplan under the directory /media/sg160/ and starts a fresh backup storing the backup under the new directory.

By the look at the crashplan forum this has been an ongoing issue for over a year and so far no fix.

The only work around I could find was a creating a shell script that turns off crashplan if the drive is unaccessible. The only problem is that also turns off the other backup to crashplan server.

Has any one come up with a work around for the problem?
 
Old 03-22-2011, 03:45 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
How about if you make the /media/sg160 with permissions of 400, then when sg160 is available it will mount over the directory and if sg160 is not available then crashplan will not be able to write to the directory.
 
Old 03-22-2011, 03:55 PM   #3
frrobert
LQ Newbie
 
Registered: Mar 2008
Location: South Bend, IN
Distribution: Ubuntu 10.04
Posts: 18

Original Poster
Rep: Reputation: 0
Andrew,

I tried something similar this morning. I used 444 and for some reason I could not see the files in the directory.

So the question is:
If I make the mountpoint /media/sg160/ 444 How do I make the files on the drive readable and writable with a permission like 777?

the line in my fstab for the removable drive which is ext3 is

/dev/sdb1 /media/sg160 ext3 defaults 0 2

Last edited by frrobert; 03-22-2011 at 07:46 PM.
 
Old 03-23-2011, 08:08 AM   #4
frrobert
LQ Newbie
 
Registered: Mar 2008
Location: South Bend, IN
Distribution: Ubuntu 10.04
Posts: 18

Original Poster
Rep: Reputation: 0
Andrew,

I tried your solution this morning and this time when I reduced the permission on the directory the drive mounted and I was able to see the drives files. So I don't know what happed yesterday.

The problem is now with reduced permissions the directory is still writable by root. I set the directory to 400 and root could still write to it.
 
Old 03-23-2011, 08:20 AM   #5
Latios
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 115

Rep: Reputation: 21
create a soft link to /dev/null
 
  


Reply


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



All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
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