Greyhole and backup

koffie
Posts: 22
Joined: Sat Dec 12, 2009 7:41 am

Greyhole and backup

Postby koffie » Tue Nov 09, 2010 8:13 am

Hi all,

First of all, thanks to everyone for their work. Amahi is great stuff. Been running flawlessly for quite some time now. I know my way around a computer, but am no linux guru by any means.

I am making some modifications to my network setup. I am contemplating the activation of Greyhole and creating a storage pool. At the same time I have connected a ReadyNAS Duo (which was replaced by the Amahi Box) to the LAN which I intend to use for backup of the files on the Amahi server. What would be the way to go here:

I can pull files from the Amahi server with my rather slow Duo with a scheduled backup using RSync, NFS, or SMB. As I see it, it would the easiest way if I approach the shares on the Amahi box with SMB.

Or I should implement a cron job on the Amahi server to push files to the NAS? More specifically, would Rsync still work in the latter configuration, since it is also used for Greyhole for balancing the files? How then to avoid copying the simlinks instead of the actual files?

Scheduled backups (incremental) once per week would be all I need. i'm looking at 700 Gig of data on a wired LAN.

Any comments would be greatly appreciated. Cheers

Koffie

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Greyhole and backup

Postby gboudreau » Tue Nov 09, 2010 9:26 am

The simplest would indeed be to rsync from the Samba shares on the Duo itself.

If that's somehow complicated, an rsync on the HDA to send the files to the Duo is also possible. You just need to tell rsync than you want the target of the symlinks sent, not the symlinks themselves.

I'd say using the --copy-links option of rsync should do what you want.
So something like:

Code: Select all

rsync -rLptgoD /var/hda/files/movies duo_ip_address:/movies
(-rlptgoD is the equivalent of -a, but you want -L, not -l, so -rLptgoD it is)
- Guillaume Boudreau

koffie
Posts: 22
Joined: Sat Dec 12, 2009 7:41 am

Re: Greyhole and backup

Postby koffie » Tue Nov 09, 2010 10:56 am

Thank you for your swift answer Guillaume,

I'll try it from the ReadyNas Duo.

With kind regards
Koffie

Who is online

Users browsing this forum: No registered users and 6 guests