mounting a directory from another linode

I want to use another linode to store database backups.

My application will write the backup files to any (local) directory that I tell it - so long as it is accessible to the file system

how would I go about doing this?

2 Replies

A simple to set up option would be sshfs. All you need is an ssh server running on the system with the storage, and the sshfs program on the system that will be generating the backups.

My understanding is that it does not perform as well as a "real" network file system, but if you are just doing an occasional backup and restore rather than a bunch of random reads and writes that shouldn't really be a problem. If that doesn't cut it, this article covers NFS, one of the first and still prevalent network file systems. It also mentions a few alternatives like Ceph, GlusterFS, and OpenAFS. This discussion thread contains some opinions of Linode users.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct