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
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> [www.cyber.com.au]
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.
[p.sf.net]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
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?
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.
[p.sf.net]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
Sorry, only registered users may post in this forum.

Click here to login


Parse error: syntax error, unexpected 'GoogleAnalyticsObject' (T_STRING), expecting ']' in /tmp/tpl-lightweight_blue-footer-bc9d4c1f6d5e5fdfdcbff526fb7bae92.php-stage2 on line 6