File Mirrors

File Mirrors allow you to automatically mirror all files in the File Manager to other locations. That means that whenever you upload a new file, it is automatically sent to each of your file mirrors. The mirror is notified in each of the following cases:

To view file mirrors, click the File Mirrors link in the left-hand column of the administration section. You will then be shown a list of existing file mirrors, with options to view, edit and delete mirrors.

Mirror Types

Currently the only mirror type available is the local file system mirror, meaning when a file is uploaded it will be mirrored elsewhere on the server on which Recite is running. When creating a mirror of this type you will be required to enter the file system path.

Tip

If you want to mirror files using SSH/SFTP or FTP then Fuse (or similar) should be used. More details can be found at http://ubuntu.wordpress.com/2005/10/28/how-to-mount-a-remote-ssh-filesystem-using-sshfs/. Alternatively, if the server resides on the same network you may be able to mount a network drive in a similar fashion.

Creating a New Mirror

To create a new File Mirror, click the New Mirror tab at the top of the right-hand pane. Select the type of mirror and click Create Mirror.

Enter the details for the file mirror and click the Save File Mirror button. Once saved you will be shown the details for the mirror. To synchronise any existing files with the mirror, click the Synchronise With Mirror button.

Tip

If your mirror appears out-of-date or if you accidentally delete files from your mirror, you can click the Synchronise With Mirror button at any time.

Editing a Mirror

To edit a file mirror, click the Edit Mirror tab when viewing a mirror. You will then be able to update any mirror details as required.

Click the Save File Mirror to save your changes and synchronise with the mirror again if required.

Deleting a Mirror

To delete a file mirror, click the Delete Mirror tab when viewing a mirror. You will then be prompted to confirm deletion. Click the Yes, delete this file mirror to delete the mirror.

Caution

Any existing files on the mirror will not be touched when you delete a file mirror. If you need to remove them you must do this manually.