[nflug] backups on an nfs server
Cyber Source
peter at thecybersource.com
Fri Aug 4 13:44:19 EDT 2006
eric wrote:
> is it proper to automate a ssh login?
>
>
> Mark Musone wrote:
>
>
>> I'm a little cleared up, but now you are mentioning a samba server..so I'm
>> all confused again :)
>>
>> Heres what my opinion is:
>>
>> It would be much better to run the backups on the local fileserver.
>>
>> If you are saying the fileserver does not have that much space, I would then
>> still try to do the backup locally, and then transfer the complete backup
>> file wherever else afterwards.
>>
>> You can even do both together by simply piping tar into ssh (which is an
>> extremely common way to do backups):
>>
>> "tar cf - / | ssh destserver dd of=/dest/server/filename/"
>>
>> The point being that when you are tarring a file, it does a LOT of
>> filesystem lookups for each and every file that goes into the tarball.
>> Secondly, it needs to handle file locking. Doing tons of fstats() and file
>> locks would end up being expensive and slightly unreliable, and slow.
>>
>> You want to try and do all of the on your local system, which would
>> eliminate or considerably speed it up. You can then transfer the single
>> tarball over the network..or even get crazy and just copy it via nfs or
>> samba. You're only dealing with a single file now, so the above converns are
>> moot.
>>
>> -Mark
>>
>>
>>
>> -----Original Message-----
>> From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On Behalf Of
>> eric
>> Sent: Thursday, August 03, 2006 3:13 PM
>> To: nflug at nflug.org
>> Subject: Re: [nflug] backups on an nfs server
>>
>> Mark I was very unclear how explained, my apologies. Your answer was my
>> question would it be better to just run tar on the nfs server itself and
>> then running -u after the intial tar package is created... I said
>> increment because I was used to ntbackup which is similar or the same
>> thing as -u update in tar
>>
>> my only concern for running the backup on the samba server was their is
>> limited space and I want to have a monday - friday backup which would
>> eat all the space, thus I put the backups on a larger server the nfs server.
>>
>> Thank you,
>> Eric
>>
>> Mark Musone wrote:
>>
>>
>>
>>
>>> Why can't you just run the tar on the server itself?
>>> What do you mean by "incrementing" ?
>>>
>>> -Mark
>>>
>>>
>>> -----Original Message-----
>>> From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On Behalf Of
>>> eric
>>> Sent: Thursday, August 03, 2006 1:30 PM
>>> To: nflug at nflug.org
>>> Subject: [nflug] backups on an nfs server
>>>
>>> which would be better with a mounted nfs share from a nfs server.
>>>
>>> executing a tar and gzip command to package a home dir on the servers
>>> share from the client or
>>> executing a tar and gzip command to package a home dir on the client and
>>> then moving the package to the servers share?
>>>
>>>
>>> I will want to increment files once a full backup is created, so I'm not
>>> sure which would be better in the long run.
>>> What seems to be quicker is to execute the increment on the share across
>>> the network instead of always moving/coping a large package from client
>>> to server.
>>>
>>> Thank you for your input,
>>> Eric
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> nflug mailing list
>>> nflug at nflug.org
>>> http://www.nflug.org/mailman/listinfo/nflug
>>>
>>> _______________________________________________
>>> nflug mailing list
>>> nflug at nflug.org
>>> http://www.nflug.org/mailman/listinfo/nflug
>>>
>>>
>>>
>>>
>>>
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>>
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>>
>>
>>
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
>
Sure is, that's one great use of the keys. This way it could be
unattended, otherwise you would need to put the password in everytime.
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list