Welcome! » Log In » Create A New Profile

NFS destination

Posted by Anonymous 
NFS destination
March 17, 2011 12:56PM
Hello, I'm using a NFS export as remote destination for snapshots and i would like to know if it is possible to config rsnapshot for doing nothing if the NFS filesystem is not mounted.
¿is it the 'no_create_root' option?
Thank You
NFS destination
March 17, 2011 01:18PM
On Thu, Mar 17, 2011 at 07:06:15PM +0100, Kike Monz? wrote:
[quote]
Hello, I'm using a NFS export as remote destination for snapshots and
i would like to know if it is possible to config rsnapshot for doing
nothing if the NFS filesystem is not mounted.
¿is it the 'no_create_root' option?
Thank You
[/quote]
no_create_root 1

That should work, if the snapshot_root is a sub-directory of the NFS mount,
not the NFS mount itself. (If the NFS filesystem is not mounted, the mount
point will still be there, probably looking like an empty directory.)

In general, I like to make the snapshot_root a sub-directory of a mount
point, rather than the mount point itself.

--
___________________________________________________________________________
David Keegel <djk < at > cyber.com.au> http://www.cyber.com.au/users/djk/
Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
NFS destination
March 17, 2011 01:54PM
Hallo, Kike,

Du meintest am 17.03.11:

[quote]Hello, I'm using a NFS export as remote destination for snapshots and
i would like to know if it is possible to config rsnapshot for doing
nothing if the NFS filesystem is not mounted.
¿is it the 'no_create_root' option?
[/quote]
I prefer a script which first checks wether the NFS share is mounted and
then runs "rsnapshot".

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Sorry, only registered users may post in this forum.

Click here to login