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

Main Menu

Backing up to the core using ssh and rync

Started by purps, February 13, 2010, 06:23:31 PM

Previous topic - Next topic

purps

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?
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

phenigma

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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

jimbodude

Quote from: purps 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?

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.

purps

Quote from: phenigma 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.

I hear you. I like the idea of putting the backup folder in documents, that would work well for me.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

phenigma

Quote from: jimbodude on February 18, 2010, 09:13:37 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.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]