[rancid] Copying configs to a fileserver
George.Nussbaum at l-3com.com
George.Nussbaum at l-3com.com
Tue Aug 10 19:38:13 UTC 2010
Thanks for all of the tips. I actually set up samba on my rancid box and connect via a separate win server and copy the files up in a batch file I put in scheduled tasks.
Thanks again.
George Nussbaum | Sr. Systems Administrator | L-3 Communications SDS
10E Commerce Way, Woburn, MA 01801
O: 781.939.3866 | M: 781.985.5081 | F: 781.939.3996 | Email: George.Nussbaum at L-3com.com | www.sds.l-3com.com
-----Original Message-----
From: John Jetmore [mailto:jj33 at pobox.com]
Sent: Tuesday, August 10, 2010 12:41 PM
To: Nussbaum, George @ SDS
Subject: Re: [rancid] Copying configs to a fileserver
In fact, for what it's worth, I'm doing exactly what you asked to an
NFS-mounted Netapp as we speak:
># df -k /dbbackup
Filesystem 1K-blocks Used Available Use% Mounted on
mon-filer-02.local:/vol/dbbackup
268435456 199574208 68861248 75% /dbbackup
># rsync -av --del /var/lib/mysql /dbbackup/
--John
On Tue, Aug 10, 2010 at 12:38 PM, John Jetmore <jj33 at pobox.com> wrote:
> What protocols do you have licensed? We would mount it via NFS and
> use the second example I showed.
>
> BTW, Netapps can speak samba/cifs just fine, but you have to pay for a
> CIFS protocol license. using NFS from a linux/*nix box is much, much
> easier
>
> --John
>
> On Tue, Aug 10, 2010 at 11:40 AM, <George.Nussbaum at l-3com.com> wrote:
>> Thanks John. My fileserver is a NetApp appliance so I don't think Samba will work.
>>
>>
>>
>> George Nussbaum | Sr. Systems Administrator | L-3 Communications SDS
>> 10E Commerce Way, Woburn, MA 01801
>> O: 781.939.3866 | M: 781.985.5081 | F: 781.939.3996 | Email: George.Nussbaum at L-3com.com | www.sds.l-3com.com
>>
>> -----Original Message-----
>> From: John Jetmore [mailto:jj33 at pobox.com]
>> Sent: Tuesday, August 10, 2010 11:38 AM
>> To: Nussbaum, George @ SDS
>> Cc: rancid-discuss at shrubbery.net
>> Subject: Re: [rancid] Copying configs to a fileserver
>>
>> 2010/8/10 <George.Nussbaum at l-3com.com>:
>>> Hi,
>>>
>>> Does anyone know of a way or have a linux script that has the ability to
>>> copy device configs to a fileserver? We want to do this so that we can have
>>> a safe tape backup of them in case of catastrophic failure. We currently do
>>> not back up the rancid server as we don't have a license to do so.
>>
>> linux is pretty easy:
>>
>> rsync -av $RANCIDHOME/var $BACKUPUSER@$BACKUPHOST:$REMOTEBACKUPDIR
>>
>> eg:
>>
>> rsync -av /home/rancid/rancid/var rancid at fileserver:/backups/rancid
>>
>> If you have a windows server, you could mount it via samba and then
>> use rysnc to the mounted filesystem, eg:
>>
>> rsync -av /home/rancid/rancid/var /mnt/backups/rancid
>>
>> --John
>>
>
More information about the Rancid-discuss
mailing list