LinuxMCE Forums
May 21, 2013, 10:14:49 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 [2]
  Print  
Author Topic: Backing up to the core using ssh and rync  (Read 1881 times)
purps
NEEDS to work for LinuxMCE
***
Posts: 1269


If it ain't broke, tweak it


View Profile
« Reply #15 on: February 18, 2010, 11:14:34 am »

Right, I can see how this can work for audio, documents, videos and pictures, but what about my other files that need backing up that don't fall into any of these categories?

At the moment, I have a folder in "/mnt/device/55/public/data" called "backup" which is where my rsync points for the other stuff I have that isn't audio, documents, videos, pictures.

Is there any crime in creating a folder in "/home/public/data" called "backup", and then creating a symlink in here that points to "/mnt/device/55......." to keep it in line with the other symlinks? Or am I going to shag everything up?
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
phenigma
wants to work for LinuxMCE
**
Posts: 779


View Profile
« Reply #16 on: February 18, 2010, 09:05:53 pm »

That will likely cause a circular file reference and bring no end of headaches.  The best thing to do is stay away from /mnt entirely.

How about creating a folder at: /home/public/data/documents/device_id [[55]]/backup and moving your backup location there?  That's on the same HD you're already using.

J.
Logged

jimbodude
Guru
****
Posts: 372


View Profile
« Reply #17 on: February 18, 2010, 09:13:37 pm »

Right, I can see how this can work for audio, documents, videos and pictures, but what about my other files that need backing up that don't fall into any of these categories?

It doesn't matter... they're just files - put them anywhere...  LinuxMCE will pick up any type of media regardless of which of those directories you put it in, by the way.  So if you try to hide your music in your documents directory - it will still be found.

What happened to /home/public/data/other?  I thought this used to be directory that was ignored by UpdateMedia just for this sort of thing...  It doesn't have the links to the storage devices anymore.
Logged
purps
NEEDS to work for LinuxMCE
***
Posts: 1269


If it ain't broke, tweak it


View Profile
« Reply #18 on: February 18, 2010, 10:05:35 pm »

That will likely cause a circular file reference and bring no end of headaches.  The best thing to do is stay away from /mnt entirely.

How about creating a folder at: /home/public/data/documents/device_id [[55]]/backup and moving your backup location there?  That's on the same HD you're already using.

J.

I hear you. I like the idea of putting the backup folder in documents, that would work well for me.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
phenigma
wants to work for LinuxMCE
**
Posts: 779


View Profile
« Reply #19 on: February 18, 2010, 11:45:17 pm »

What happened to /home/public/data/other?  I thought this used to be directory that was ignored by UpdateMedia just for this sort of thing...  It doesn't have the links to the storage devices anymore.

/home/public/data/other is where media from outside the lmce directory structure shows up, shares configured as 'public'.  I didn't think 'other' would be used if the share's directory format was set to LMCE.  Regardless I noticed no links in 'other' to media on shares configured for LMCE directory structure.  Should there be?

J.
Logged

Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!